Grava-Switch by danidre14
=====================================================================================================================
--WARNING: FLASHING COLOURS!--WARNING: FLASHING COLOURS!--WARNING: FLASHING COLOURS!--WARNING: FLASHING COLOURS!--
=====================================================================================================================
You are a test subject put into a virtual environment, switching gravity to avoid incoming spikes, and collecting items, to one day escape this virtual reality.
-Avoid all spikes. Tap 'Space' on your keyboard to change gravity. You CAN switch gravity in mid-air.
-Collect coins to customize and upgrade your player.
-Collect health packs to increase health.
-Unlock each level by meeting the following criteria- Score:500, Coins:25
Made by- Danidre14 for LD34 Compo.
=====================================================================================================================
Level 1:
-Difficulty: Easy
-Spike Damage*: 50
-Structures:
--Coins: Bottom wall
--Spikes: Bottom wall
Level 2:
-Difficulty: Normal
-Spike Damage*: 60
-Structures:
--Coins: Bottom wall | Top wall
--Spikes: Bottom wall | Top wall
--Health Packs: Bottom wall | Top wall (Rare)
Level 3:
-Difficulty: Hard
-Spike Damage*: 75
-Structures:
--Coins: Bottom wall | Top wall | Middle Wall
--Spikes: Bottom wall | Top wall | Middle Wall
--Health Packs: Bottom wall | Top wall | Middle Wall (Rare)
Level 4:
-Difficulty: Insane
-Spike Damage*: 100
-Structures:
--Coins: Bottom wall | Top wall | Middle Wall | (Two at a time)
--Spikes: Bottom wall | Top wall | Middle Wall | (Two at a time)
--Health Packs: Bottom wall | Top wall | Middle Wall | (Two at a time) (Rare)
Endless**:
-Difficulty: Based on level
-Spike Damage*: Based on level
-Structures:
--Coins: Based on level
--Spikes: Based on level
--Health Packs: Based on level
Shop:
Customize Character:
-Red: $50 (Changes the character to red)
-Green: $60 (Changes the character to green)
-Blue: $30 (Changes the character to blue)
-Yellow: $40 (Changes the character to yellow)
-Health: $25 (Increases max health by 15 at a time)
-Defense: $15 (Increases defense against spikes)
*Spike Damage: Default damage when defense is 0%
**Endless: Starts at level one and increases level (up to level 4) and speed (until you die).
=====================================================================================================================
Themes:
-Two button controls: "Left Mouse Button, "Space Button".
-Growing: Upgrading defense and health, Gaining experience, More quick reflexes.
=====================================================================================================================
--WARNING: FLASHING COLOURS!--WARNING: FLASHING COLOURS!--WARNING: FLASHING COLOURS!--WARNING: FLASHING COLOURS!--
=====================================================================================================================
**Update**
Due to popular demand, there is now a way to control how fast the background changes colours.
Next to the game, there is the code. On line 4, there is a variable called "timeToChange", and a value assigned to it (default is 500).
Simply change this value to whatever you'll like. Higher the number, background changes rarely, lower the number, background changes often.
For a very fast background, value is 100-
For a very slow background, value is 1000+
--WARNING: FLASHING COLOURS!--WARNING: FLASHING COLOURS!--WARNING: FLASHING COLOURS!--WARNING: FLASHING COLOURS!--
=====================================================================================================================
You are a test subject put into a virtual environment, switching gravity to avoid incoming spikes, and collecting items, to one day escape this virtual reality.
-Avoid all spikes. Tap 'Space' on your keyboard to change gravity. You CAN switch gravity in mid-air.
-Collect coins to customize and upgrade your player.
-Collect health packs to increase health.
-Unlock each level by meeting the following criteria- Score:500, Coins:25
Made by- Danidre14 for LD34 Compo.
=====================================================================================================================
Level 1:
-Difficulty: Easy
-Spike Damage*: 50
-Structures:
--Coins: Bottom wall
--Spikes: Bottom wall
Level 2:
-Difficulty: Normal
-Spike Damage*: 60
-Structures:
--Coins: Bottom wall | Top wall
--Spikes: Bottom wall | Top wall
--Health Packs: Bottom wall | Top wall (Rare)
Level 3:
-Difficulty: Hard
-Spike Damage*: 75
-Structures:
--Coins: Bottom wall | Top wall | Middle Wall
--Spikes: Bottom wall | Top wall | Middle Wall
--Health Packs: Bottom wall | Top wall | Middle Wall (Rare)
Level 4:
-Difficulty: Insane
-Spike Damage*: 100
-Structures:
--Coins: Bottom wall | Top wall | Middle Wall | (Two at a time)
--Spikes: Bottom wall | Top wall | Middle Wall | (Two at a time)
--Health Packs: Bottom wall | Top wall | Middle Wall | (Two at a time) (Rare)
Endless**:
-Difficulty: Based on level
-Spike Damage*: Based on level
-Structures:
--Coins: Based on level
--Spikes: Based on level
--Health Packs: Based on level
Shop:
Customize Character:
-Red: $50 (Changes the character to red)
-Green: $60 (Changes the character to green)
-Blue: $30 (Changes the character to blue)
-Yellow: $40 (Changes the character to yellow)
-Health: $25 (Increases max health by 15 at a time)
-Defense: $15 (Increases defense against spikes)
*Spike Damage: Default damage when defense is 0%
**Endless: Starts at level one and increases level (up to level 4) and speed (until you die).
=====================================================================================================================
Themes:
-Two button controls: "Left Mouse Button, "Space Button".
-Growing: Upgrading defense and health, Gaining experience, More quick reflexes.
=====================================================================================================================
--WARNING: FLASHING COLOURS!--WARNING: FLASHING COLOURS!--WARNING: FLASHING COLOURS!--WARNING: FLASHING COLOURS!--
=====================================================================================================================
**Update**
Due to popular demand, there is now a way to control how fast the background changes colours.
Next to the game, there is the code. On line 4, there is a variable called "timeToChange", and a value assigned to it (default is 500).
Simply change this value to whatever you'll like. Higher the number, background changes rarely, lower the number, background changes often.
For a very fast background, value is 100-
For a very slow background, value is 1000+
| Web + Source Included | https://www.khanacademy.org/computer-programming/grava-switch/4683283371261952 |
| Original URL | https://ludumdare.com/compo/ludum-dare-34/?action=preview&uid=32791 |
Ratings
| Coolness | 71% | 3 |
| Overall | 2.37 | 947 |
| Fun | 2.34 | 897 |
| Graphics | 1.83 | 891 |
| Humor | 1.71 | 686 |
| Innovation | 2.10 | 910 |
| Mood | 1.86 | 855 |
| Theme | 2.37 | 942 |
I realize that the flashing colors were part of the test subject in a virtual environment setting, but I found them painful to look at =\
I also find the concept of having all your code sitting in a "try it out" window really really interesting. Like now I can hack around with your code, which is a game on its own! Thanks for that!
Which theme were you going for though?
Only critique I have is the changing colors. I'm sure you wanted them to change to add a level of distraction to the experience, but I would have perfectly happy without them changing. Or maybe not have them change so often. At one point the block was black and the background was a dark purple. I gasped and had to move in closer to my monitor, haha! In any case, job well done on this game!
Blobo- the gravity increases as you go on in the levels. Somespikes are made to literally hit you, so you can upgrade your health in the shop and fend off better next time. :D
tayl1r- Which level, exactly, was the hardest for you? :D
logorrhea- Thanks for playing! Yes, the colour changing was to distract the player, sorry, I should have warned you guys about flashing colours. :D
Zanzlanz- Thanks, and yes this was a first I've tried like these, also my first game using Javascript! :D
ohmmus- Thanks! I'm glad you enjoyed it. The theme I went fo was "Two Buttons" since you only click, and press the "Space" button. I'll add that to the description, thank you.. and maybe, I guess you grow in...experience, as well as stronger, when you upgrade. :3 In the shop, you can change your character colours, to avoid being blinded by the backgrounds. :D
I'll be sure to play all your game guys, and since you may not come back to this post for your responses, I'll post them there as well. :D
I'll try to get a comic in the next jam, maybe. :3 Yes, indeed there are lot's of flashing colours.
Melusine: The unresponsive controls may be due to poor performance of your PC? Maybe. No one else has a problem with that aspect of the game.
Also, as some other people on this people, I was quite disturbed by the flashing colors. I understand they are here to add to the challenge, but to me they are more disturbing than challenging. Maybe you should try by making colors changing less often (maybe every 30 seconds instead of every 5 seconds) so tired eyes can get accustomed to the color before they change? :)
I will add how to do it in the description.
but overall the concept is very interesting.
getting all the coins is prety hard from start, you could maybe add some ramp up in difficulty so that the player could get used to the gravity (the best strategy was just staying on the top and grabing the easiest coins like someone already mentioned...)
(answering your question on my submission: The theme is growth, like the character grows and gets strong through the game. Also the bosses are forms of metamorphosis of a moth. (I did have a planned story of a growth virus but I didn't have time to stick it in >.<)