MRU:LV-426 Escape from Hadley´s Hope
https://ericomont.itch.io/mrulv246-hadleys-hopeLATEST EDIT: uploaded final version here too (MRU_LV-final.zip).
Here a follow up on the more complex parts for me to face while coding:
_Creates a random 25 sized MAP containing first and last(7) checkpoints plus 5 distributed checkpoints. Fill the rest of the blocks with plains, slopes or bridges.
_Creates a random 1000 by 10 TRACK based on MAP at a 1x40 ratio.
_Creates a random
_Use a 44 by 10 marker on the TRACK corresponding to the position the game is happening for the real time terrain movement, interaction and transformations (reality bubble).
_Convert between TRACK and normal XY sprite coordinates to check collisions tank/ground, bomb/ground, explosion/ground.
_Explosion is nerfed, it creates a 3 by 3 area around the bomb hit and shots 4 random cells.
_Check ground/ground gravity and destroy cells accordingly. Cells can only be if there is something under it. Bridges must be connected to a knot at least 3 cells away sideways.
_Bomb/tank collision happens normally similar to box2d.
_At TRACK 1000, it all gets copied till 2000 but flipped, same with 3000. It makes a 75 sized MAP corresponding to a 3000x10 TRACK.
_The 75 MAP are divided into some 15 groups that contains information on how many aliens should randomly appear and shoot. This draws a difficulty line.
The coords between TRACK and normal objects was a bit monstrous to make.
Now I know better.

...
Latest map generator beta is appended to this post, control with:
_Arrows to move cursor.
_+shift to scroll terrain.
_z /x/ c to fire guns going from single to wider shot.
_enter to generate new game.
...
Jam Logcat:
https://itch.io/jam/gbjam-5/topic/41619/mrulv-426-patrol#post-57131Jam info:
https://itch.io/jam/gbjam-5