Devlog #3
I have made the shaking get stronger when i get closer to the portal and i also made lightning
Breakdown of the lightning
-
It spawns at a random position on the screen at a random time.
-
It first gives a short warning by spawning on screen for a longer time. I will later change -the texture of the lightning warning.
-
After the warning is gone it strikes and if it touches the player, the player dies.
-
I also made the lighting move with the platforms so that it doesnt just float in space, but i had a silly typo, basically, i wanted to add or remove some amount from the x position of the lightning but instead of -= 7 i accidentally put -+ 7 and i took me like 10 minutes to figure out the issue.
-
Another problem i had is that for some reason when i wanted to check in which stage the lightning is, i tried to to do if …… > 20 > 45, so another 20 minutes of debugging went there
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.