From 158ccfdab6b8f575c939f75f9dd1006e699a073d Mon Sep 17 00:00:00 2001 From: John H3ss Date: Sun, 25 Jun 2023 11:27:32 -0700 Subject: [PATCH] Changing calls to Window.GetWidth() and Window.GetHeight() to Window.GetWidth(0) and Window.GetHeight(0). This ensures consistent centering on every monitor for multimonitor setups, including those with disparate resolutions --- pack_1/abstract_ring/abstract_ring.script | 12 ++++++------ pack_1/abstract_ring_alt/abstract_ring_alt.script | 12 ++++++------ pack_1/alienware/alienware.script | 12 ++++++------ pack_1/angular/angular.script | 12 ++++++------ pack_1/angular_alt/angular_alt.script | 12 ++++++------ pack_1/black_hud/black_hud.script | 12 ++++++------ pack_1/blockchain/blockchain.script | 12 ++++++------ pack_1/circle/circle.script | 12 ++++++------ pack_1/circle_alt/circle_alt.script | 12 ++++++------ pack_1/circle_flow/circle_flow.script | 12 ++++++------ pack_1/circle_hud/circle_hud.script | 12 ++++++------ pack_1/circuit/circuit.script | 12 ++++++------ pack_1/colorful/colorful.script | 12 ++++++------ pack_1/colorful_loop/colorful_loop.script | 12 ++++++------ pack_1/colorful_sliced/colorful_sliced.script | 12 ++++++------ pack_1/connect/connect.script | 12 ++++++------ pack_1/cross_hud/cross_hud.script | 12 ++++++------ pack_1/cubes/cubes.script | 12 ++++++------ pack_1/cuts/cuts.script | 12 ++++++------ pack_1/cuts_alt/cuts_alt.script | 12 ++++++------ pack_2/cyanide/cyanide.script | 12 ++++++------ pack_2/cybernetic/cybernetic.script | 12 ++++++------ pack_2/dark_planet/dark_planet.script | 12 ++++++------ pack_2/darth_vader/darth_vader.script | 12 ++++++------ pack_2/deus_ex/deus_ex.script | 12 ++++++------ pack_2/dna/dna.script | 12 ++++++------ pack_2/double/double.script | 12 ++++++------ pack_2/dragon/dragon.script | 12 ++++++------ pack_2/flame/flame.script | 12 ++++++------ pack_2/glitch/glitch.script | 12 ++++++------ pack_2/glowing/glowing.script | 12 ++++++------ pack_2/green_blocks/green_blocks.script | 12 ++++++------ pack_2/green_loader/green_loader.script | 12 ++++++------ pack_2/hexagon/hexagon.script | 12 ++++++------ pack_2/hexagon_2/hexagon_2.script | 12 ++++++------ pack_2/hexagon_alt/hexagon_alt.script | 12 ++++++------ pack_2/hexagon_dots/hexagon_dots.script | 12 ++++++------ pack_2/hexagon_dots_alt/hexagon_dots_alt.script | 12 ++++++------ pack_2/hexagon_hud/hexagon_hud.script | 12 ++++++------ pack_2/hexagon_red/hexagon_red.script | 12 ++++++------ pack_3/hexa_retro/hexa_retro.script | 12 ++++++------ pack_3/hud/hud.script | 12 ++++++------ pack_3/hud_2/hud_2.script | 12 ++++++------ pack_3/hud_3/hud_3.script | 12 ++++++------ pack_3/hud_space/hud_space.script | 12 ++++++------ pack_3/ibm/ibm.script | 12 ++++++------ pack_3/infinite_seal/infinite_seal.script | 12 ++++++------ pack_3/ironman/ironman.script | 12 ++++++------ pack_3/liquid/liquid.script | 12 ++++++------ pack_3/loader/loader.script | 12 ++++++------ pack_3/loader_2/loader_2.script | 12 ++++++------ pack_3/loader_alt/loader_alt.script | 12 ++++++------ pack_3/lone/lone.script | 12 ++++++------ pack_3/metal_ball/metal_ball.script | 12 ++++++------ pack_3/motion/motion.script | 12 ++++++------ pack_3/optimus/optimus.script | 12 ++++++------ pack_3/owl/owl.script | 12 ++++++------ pack_3/pie/pie.script | 12 ++++++------ pack_3/pixels/pixels.script | 12 ++++++------ pack_3/polaroid/polaroid.script | 12 ++++++------ pack_4/red_loader/red_loader.script | 12 ++++++------ pack_4/rings/rings.script | 12 ++++++------ pack_4/rings_2/rings_2.script | 12 ++++++------ pack_4/rog/rog.script | 12 ++++++------ pack_4/rog_2/rog_2.script | 12 ++++++------ pack_4/seal/seal.script | 12 ++++++------ pack_4/seal_2/seal_2.script | 12 ++++++------ pack_4/seal_3/seal_3.script | 12 ++++++------ pack_4/sliced/sliced.script | 12 ++++++------ pack_4/sphere/sphere.script | 12 ++++++------ pack_4/spin/spin.script | 12 ++++++------ pack_4/spinner_alt/spinner_alt.script | 12 ++++++------ pack_4/splash/splash.script | 12 ++++++------ pack_4/square/square.script | 12 ++++++------ pack_4/square_hud/square_hud.script | 12 ++++++------ pack_4/target/target.script | 12 ++++++------ pack_4/target_2/target_2.script | 12 ++++++------ pack_4/tech_a/tech_a.script | 12 ++++++------ pack_4/tech_b/tech_b.script | 12 ++++++------ pack_4/unrap/unrap.script | 12 ++++++------ template/template.script | 12 ++++++------ 81 files changed, 486 insertions(+), 486 deletions(-) diff --git a/pack_1/abstract_ring/abstract_ring.script b/pack_1/abstract_ring/abstract_ring.script index 68f8d75b..f691d92d 100755 --- a/pack_1/abstract_ring/abstract_ring.script +++ b/pack_1/abstract_ring/abstract_ring.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 41; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/abstract_ring_alt/abstract_ring_alt.script b/pack_1/abstract_ring_alt/abstract_ring_alt.script index aa2d4e42..0e66f338 100755 --- a/pack_1/abstract_ring_alt/abstract_ring_alt.script +++ b/pack_1/abstract_ring_alt/abstract_ring_alt.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 76; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/alienware/alienware.script b/pack_1/alienware/alienware.script index bff809fe..f7e115c7 100755 --- a/pack_1/alienware/alienware.script +++ b/pack_1/alienware/alienware.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 24; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/angular/angular.script b/pack_1/angular/angular.script index 85c34d6e..d307e530 100755 --- a/pack_1/angular/angular.script +++ b/pack_1/angular/angular.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 30; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/angular_alt/angular_alt.script b/pack_1/angular_alt/angular_alt.script index bc9d1436..e003e5d2 100755 --- a/pack_1/angular_alt/angular_alt.script +++ b/pack_1/angular_alt/angular_alt.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 61; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/black_hud/black_hud.script b/pack_1/black_hud/black_hud.script index 1471d94d..fc8eb162 100755 --- a/pack_1/black_hud/black_hud.script +++ b/pack_1/black_hud/black_hud.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 164; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; fun refresh_callback () diff --git a/pack_1/blockchain/blockchain.script b/pack_1/blockchain/blockchain.script index aeca9430..7632fc19 100755 --- a/pack_1/blockchain/blockchain.script +++ b/pack_1/blockchain/blockchain.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 68; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/circle/circle.script b/pack_1/circle/circle.script index ca1127a5..3872ba8c 100755 --- a/pack_1/circle/circle.script +++ b/pack_1/circle/circle.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 101; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/circle_alt/circle_alt.script b/pack_1/circle_alt/circle_alt.script index e248b217..51046b09 100755 --- a/pack_1/circle_alt/circle_alt.script +++ b/pack_1/circle_alt/circle_alt.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 48; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/circle_flow/circle_flow.script b/pack_1/circle_flow/circle_flow.script index 1636b967..1539b582 100755 --- a/pack_1/circle_flow/circle_flow.script +++ b/pack_1/circle_flow/circle_flow.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 72; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/circle_hud/circle_hud.script b/pack_1/circle_hud/circle_hud.script index c7cc0c40..561b5bf3 100755 --- a/pack_1/circle_hud/circle_hud.script +++ b/pack_1/circle_hud/circle_hud.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 156; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/circuit/circuit.script b/pack_1/circuit/circuit.script index fc3e9883..812c7dfc 100755 --- a/pack_1/circuit/circuit.script +++ b/pack_1/circuit/circuit.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 96; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/colorful/colorful.script b/pack_1/colorful/colorful.script index 0600a85e..e8ae8c4c 100755 --- a/pack_1/colorful/colorful.script +++ b/pack_1/colorful/colorful.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 375; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/colorful_loop/colorful_loop.script b/pack_1/colorful_loop/colorful_loop.script index c4aa6817..afc90fe3 100755 --- a/pack_1/colorful_loop/colorful_loop.script +++ b/pack_1/colorful_loop/colorful_loop.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 89; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/colorful_sliced/colorful_sliced.script b/pack_1/colorful_sliced/colorful_sliced.script index 0f2efd7c..119b1286 100755 --- a/pack_1/colorful_sliced/colorful_sliced.script +++ b/pack_1/colorful_sliced/colorful_sliced.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 120; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/connect/connect.script b/pack_1/connect/connect.script index 0f2efd7c..119b1286 100755 --- a/pack_1/connect/connect.script +++ b/pack_1/connect/connect.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 120; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/cross_hud/cross_hud.script b/pack_1/cross_hud/cross_hud.script index 54a210a0..7593de02 100755 --- a/pack_1/cross_hud/cross_hud.script +++ b/pack_1/cross_hud/cross_hud.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 210; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/cubes/cubes.script b/pack_1/cubes/cubes.script index 0e222b5e..d798614d 100755 --- a/pack_1/cubes/cubes.script +++ b/pack_1/cubes/cubes.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 81; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/cuts/cuts.script b/pack_1/cuts/cuts.script index 41b5a07d..aab85ac8 100755 --- a/pack_1/cuts/cuts.script +++ b/pack_1/cuts/cuts.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 62; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_1/cuts_alt/cuts_alt.script b/pack_1/cuts_alt/cuts_alt.script index 40a05e01..745595c1 100755 --- a/pack_1/cuts_alt/cuts_alt.script +++ b/pack_1/cuts_alt/cuts_alt.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 41; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/cyanide/cyanide.script b/pack_2/cyanide/cyanide.script index 5a4a2bac..9b1b16f9 100755 --- a/pack_2/cyanide/cyanide.script +++ b/pack_2/cyanide/cyanide.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 24; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/cybernetic/cybernetic.script b/pack_2/cybernetic/cybernetic.script index f0ec1597..9747b90a 100755 --- a/pack_2/cybernetic/cybernetic.script +++ b/pack_2/cybernetic/cybernetic.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 201; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/dark_planet/dark_planet.script b/pack_2/dark_planet/dark_planet.script index 688ecd93..9aaf94b9 100755 --- a/pack_2/dark_planet/dark_planet.script +++ b/pack_2/dark_planet/dark_planet.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 160; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/darth_vader/darth_vader.script b/pack_2/darth_vader/darth_vader.script index b24fb9c1..98f2850b 100755 --- a/pack_2/darth_vader/darth_vader.script +++ b/pack_2/darth_vader/darth_vader.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 115; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/deus_ex/deus_ex.script b/pack_2/deus_ex/deus_ex.script index 37a71209..df41e359 100755 --- a/pack_2/deus_ex/deus_ex.script +++ b/pack_2/deus_ex/deus_ex.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 375; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/dna/dna.script b/pack_2/dna/dna.script index adf2127e..e9034f7e 100755 --- a/pack_2/dna/dna.script +++ b/pack_2/dna/dna.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 26; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/double/double.script b/pack_2/double/double.script index 85969720..551c7eeb 100755 --- a/pack_2/double/double.script +++ b/pack_2/double/double.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 40; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/dragon/dragon.script b/pack_2/dragon/dragon.script index 4a4cdac8..07f81b2c 100755 --- a/pack_2/dragon/dragon.script +++ b/pack_2/dragon/dragon.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 94; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/flame/flame.script b/pack_2/flame/flame.script index 3e11e50b..fe2e4235 100755 --- a/pack_2/flame/flame.script +++ b/pack_2/flame/flame.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 25; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/glitch/glitch.script b/pack_2/glitch/glitch.script index dde3fb4a..b493ace3 100755 --- a/pack_2/glitch/glitch.script +++ b/pack_2/glitch/glitch.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 33; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/glowing/glowing.script b/pack_2/glowing/glowing.script index d95111de..72e814cf 100755 --- a/pack_2/glowing/glowing.script +++ b/pack_2/glowing/glowing.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 38; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/green_blocks/green_blocks.script b/pack_2/green_blocks/green_blocks.script index 198d29c4..82e470ef 100755 --- a/pack_2/green_blocks/green_blocks.script +++ b/pack_2/green_blocks/green_blocks.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 125; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/green_loader/green_loader.script b/pack_2/green_loader/green_loader.script index 2589c579..bd731ba7 100755 --- a/pack_2/green_loader/green_loader.script +++ b/pack_2/green_loader/green_loader.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 40; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/hexagon/hexagon.script b/pack_2/hexagon/hexagon.script index e5fed38f..7cfc528e 100755 --- a/pack_2/hexagon/hexagon.script +++ b/pack_2/hexagon/hexagon.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 16; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/hexagon_2/hexagon_2.script b/pack_2/hexagon_2/hexagon_2.script index 82e6f1e4..1e71c1ea 100755 --- a/pack_2/hexagon_2/hexagon_2.script +++ b/pack_2/hexagon_2/hexagon_2.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 100; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/hexagon_alt/hexagon_alt.script b/pack_2/hexagon_alt/hexagon_alt.script index 1b10cbef..5d7d4207 100755 --- a/pack_2/hexagon_alt/hexagon_alt.script +++ b/pack_2/hexagon_alt/hexagon_alt.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 119; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/hexagon_dots/hexagon_dots.script b/pack_2/hexagon_dots/hexagon_dots.script index 1df3760f..15b2e2c4 100755 --- a/pack_2/hexagon_dots/hexagon_dots.script +++ b/pack_2/hexagon_dots/hexagon_dots.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 32; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/hexagon_dots_alt/hexagon_dots_alt.script b/pack_2/hexagon_dots_alt/hexagon_dots_alt.script index 05673632..6888d189 100755 --- a/pack_2/hexagon_dots_alt/hexagon_dots_alt.script +++ b/pack_2/hexagon_dots_alt/hexagon_dots_alt.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 130; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/hexagon_hud/hexagon_hud.script b/pack_2/hexagon_hud/hexagon_hud.script index ef9387b4..6703cb98 100755 --- a/pack_2/hexagon_hud/hexagon_hud.script +++ b/pack_2/hexagon_hud/hexagon_hud.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 205; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_2/hexagon_red/hexagon_red.script b/pack_2/hexagon_red/hexagon_red.script index 236f6711..8d145b77 100755 --- a/pack_2/hexagon_red/hexagon_red.script +++ b/pack_2/hexagon_red/hexagon_red.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 75; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/hexa_retro/hexa_retro.script b/pack_3/hexa_retro/hexa_retro.script index 195efbba..8537a839 100755 --- a/pack_3/hexa_retro/hexa_retro.script +++ b/pack_3/hexa_retro/hexa_retro.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 90; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/hud/hud.script b/pack_3/hud/hud.script index 34b9e42f..fc4317e6 100755 --- a/pack_3/hud/hud.script +++ b/pack_3/hud/hud.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 20; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/hud_2/hud_2.script b/pack_3/hud_2/hud_2.script index 585db2e3..1208ab89 100755 --- a/pack_3/hud_2/hud_2.script +++ b/pack_3/hud_2/hud_2.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 40; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/hud_3/hud_3.script b/pack_3/hud_3/hud_3.script index 198d29c4..82e470ef 100755 --- a/pack_3/hud_3/hud_3.script +++ b/pack_3/hud_3/hud_3.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 125; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/hud_space/hud_space.script b/pack_3/hud_space/hud_space.script index 1b10cbef..5d7d4207 100755 --- a/pack_3/hud_space/hud_space.script +++ b/pack_3/hud_space/hud_space.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 119; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/ibm/ibm.script b/pack_3/ibm/ibm.script index 6f454e49..5a8a8a37 100755 --- a/pack_3/ibm/ibm.script +++ b/pack_3/ibm/ibm.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 48; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/infinite_seal/infinite_seal.script b/pack_3/infinite_seal/infinite_seal.script index 1df37cb8..a45bdadc 100755 --- a/pack_3/infinite_seal/infinite_seal.script +++ b/pack_3/infinite_seal/infinite_seal.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 540; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/ironman/ironman.script b/pack_3/ironman/ironman.script index aee0bc16..6af58d57 100755 --- a/pack_3/ironman/ironman.script +++ b/pack_3/ironman/ironman.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 100; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/liquid/liquid.script b/pack_3/liquid/liquid.script index d756b573..a8369ffc 100755 --- a/pack_3/liquid/liquid.script +++ b/pack_3/liquid/liquid.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 19; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/loader/loader.script b/pack_3/loader/loader.script index 354a2b63..1dcff159 100755 --- a/pack_3/loader/loader.script +++ b/pack_3/loader/loader.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 105; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/loader_2/loader_2.script b/pack_3/loader_2/loader_2.script index c3885879..52f11338 100755 --- a/pack_3/loader_2/loader_2.script +++ b/pack_3/loader_2/loader_2.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 50; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/loader_alt/loader_alt.script b/pack_3/loader_alt/loader_alt.script index 715567ae..e05bd6fc 100755 --- a/pack_3/loader_alt/loader_alt.script +++ b/pack_3/loader_alt/loader_alt.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 87; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/lone/lone.script b/pack_3/lone/lone.script index a63d60c0..79c2e0e8 100755 --- a/pack_3/lone/lone.script +++ b/pack_3/lone/lone.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 64; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/metal_ball/metal_ball.script b/pack_3/metal_ball/metal_ball.script index 15defaaa..f73b50b8 100755 --- a/pack_3/metal_ball/metal_ball.script +++ b/pack_3/metal_ball/metal_ball.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 100; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/motion/motion.script b/pack_3/motion/motion.script index 9b4deccb..275a94d9 100755 --- a/pack_3/motion/motion.script +++ b/pack_3/motion/motion.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 60; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/optimus/optimus.script b/pack_3/optimus/optimus.script index 36ede816..0db43fc4 100755 --- a/pack_3/optimus/optimus.script +++ b/pack_3/optimus/optimus.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 163; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/owl/owl.script b/pack_3/owl/owl.script index 4fd7cbfb..b8cd5164 100755 --- a/pack_3/owl/owl.script +++ b/pack_3/owl/owl.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 151; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/pie/pie.script b/pack_3/pie/pie.script index 6217ee2f..574497b7 100755 --- a/pack_3/pie/pie.script +++ b/pack_3/pie/pie.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 120; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/pixels/pixels.script b/pack_3/pixels/pixels.script index 06a1fd1e..ccad8787 100755 --- a/pack_3/pixels/pixels.script +++ b/pack_3/pixels/pixels.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 240; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_3/polaroid/polaroid.script b/pack_3/polaroid/polaroid.script index cbb7c108..38cd3cf0 100755 --- a/pack_3/polaroid/polaroid.script +++ b/pack_3/polaroid/polaroid.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 392; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/red_loader/red_loader.script b/pack_4/red_loader/red_loader.script index 0b3b426c..1a6c44ca 100755 --- a/pack_4/red_loader/red_loader.script +++ b/pack_4/red_loader/red_loader.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 53; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/rings/rings.script b/pack_4/rings/rings.script index 464a8fe9..f5ee8949 100755 --- a/pack_4/rings/rings.script +++ b/pack_4/rings/rings.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 220; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/rings_2/rings_2.script b/pack_4/rings_2/rings_2.script index 26eaed44..c4e5210a 100755 --- a/pack_4/rings_2/rings_2.script +++ b/pack_4/rings_2/rings_2.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 270; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/rog/rog.script b/pack_4/rog/rog.script index 236f6711..8d145b77 100755 --- a/pack_4/rog/rog.script +++ b/pack_4/rog/rog.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 75; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/rog_2/rog_2.script b/pack_4/rog_2/rog_2.script index f6799e56..c90ffabf 100755 --- a/pack_4/rog_2/rog_2.script +++ b/pack_4/rog_2/rog_2.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 15; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/seal/seal.script b/pack_4/seal/seal.script index 0c61484a..65c8935f 100755 --- a/pack_4/seal/seal.script +++ b/pack_4/seal/seal.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 400; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/seal_2/seal_2.script b/pack_4/seal_2/seal_2.script index e6c7949b..95479430 100755 --- a/pack_4/seal_2/seal_2.script +++ b/pack_4/seal_2/seal_2.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 400; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/seal_3/seal_3.script b/pack_4/seal_3/seal_3.script index a12f234a..c92aa748 100755 --- a/pack_4/seal_3/seal_3.script +++ b/pack_4/seal_3/seal_3.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 323; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/sliced/sliced.script b/pack_4/sliced/sliced.script index 0cb47537..ea7c1551 100755 --- a/pack_4/sliced/sliced.script +++ b/pack_4/sliced/sliced.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 45; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/sphere/sphere.script b/pack_4/sphere/sphere.script index 1d9414e0..581695ba 100755 --- a/pack_4/sphere/sphere.script +++ b/pack_4/sphere/sphere.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 36; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/spin/spin.script b/pack_4/spin/spin.script index a05ae871..97ea8090 100755 --- a/pack_4/spin/spin.script +++ b/pack_4/spin/spin.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 169; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/spinner_alt/spinner_alt.script b/pack_4/spinner_alt/spinner_alt.script index 9b4deccb..275a94d9 100755 --- a/pack_4/spinner_alt/spinner_alt.script +++ b/pack_4/spinner_alt/spinner_alt.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 60; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/splash/splash.script b/pack_4/splash/splash.script index ca330bbe..6a8a98fe 100755 --- a/pack_4/splash/splash.script +++ b/pack_4/splash/splash.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 65; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/square/square.script b/pack_4/square/square.script index 0cb47537..ea7c1551 100755 --- a/pack_4/square/square.script +++ b/pack_4/square/square.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 45; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/square_hud/square_hud.script b/pack_4/square_hud/square_hud.script index fb7674a4..c77bca2a 100755 --- a/pack_4/square_hud/square_hud.script +++ b/pack_4/square_hud/square_hud.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 173; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/target/target.script b/pack_4/target/target.script index b3840f23..5a1f04af 100755 --- a/pack_4/target/target.script +++ b/pack_4/target/target.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 138; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/target_2/target_2.script b/pack_4/target_2/target_2.script index 195efbba..8537a839 100755 --- a/pack_4/target_2/target_2.script +++ b/pack_4/target_2/target_2.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 90; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/tech_a/tech_a.script b/pack_4/tech_a/tech_a.script index 3aaac836..5a4d9b01 100755 --- a/pack_4/tech_a/tech_a.script +++ b/pack_4/tech_a/tech_a.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 166; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/tech_b/tech_b.script b/pack_4/tech_b/tech_b.script index b93de2e3..c4e0ac96 100755 --- a/pack_4/tech_b/tech_b.script +++ b/pack_4/tech_b/tech_b.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 192; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/pack_4/unrap/unrap.script b/pack_4/unrap/unrap.script index 9691531c..788e5242 100755 --- a/pack_4/unrap/unrap.script +++ b/pack_4/unrap/unrap.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < 150; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0; diff --git a/template/template.script b/template/template.script index f4a336d8..33bd7322 100755 --- a/template/template.script +++ b/template/template.script @@ -4,10 +4,10 @@ ## Reddit : @adi1090x // Screen size -screen.w = Window.GetWidth(); -screen.h = Window.GetHeight(); -screen.half.w = Window.GetWidth() / 2; -screen.half.h = Window.GetHeight() / 2; +screen.w = Window.GetWidth(0); +screen.h = Window.GetHeight(0); +screen.half.w = Window.GetWidth(0) / 2; +screen.half.h = Window.GetHeight(0) / 2; // Question prompt question = null; @@ -33,8 +33,8 @@ for (i = 0; i < NUM; i++) flyingman_sprite = Sprite(); # set image position -flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center -flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2)); +flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth(0) / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center +flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight(0) / 2 - flyingman_image[0].GetHeight() / 2)); progress = 0;