27 posts
Location
New York, US
Posted 10 November 2017 - 08:14 PM
It's for the Advanced Computer
Images:
Controls: Space to jump
Download:
pastebin get xZatSeaa
797 posts
Posted 10 November 2017 - 10:48 PM
Is this supposed to happen?
27 posts
Location
New York, US
Posted 10 November 2017 - 10:57 PM
Is this supposed to happen?
Yeah It's a bug, I don't know why It's happening
7083 posts
Location
Tasmania (AU)
Posted 11 November 2017 - 03:09 AM
createPlatforms() and drawBuildings() consider the platforms table to be 0-indexed. Everywhere else, you're treating it as 1-indexed.
Edited on 11 November 2017 - 02:09 AM
467 posts
Location
Van Diemen's Land
Posted 24 November 2017 - 04:32 AM
It would be cool if your speed increased as you go along (or just have harder levels where the speed is increased).
If you look at my game, Dodj, you might notice that the players' speed can be adjusted. This is because of Nitrogenfingers' fantastic suggestion of using states. Since you're always moving forward you always have the one 'state': 'true'.
You can set a timer increment, and every time it goes off you can move the player forward one pixel. The smaller you make the timer increment the faster the player moves. You could make a ratio that slowly increases/decreases as the game goes on.
Another thought, maybe make 'layered' platforms? Have some layers passing by that are faster than others, foreground platforms and 'background' platforms (just behind but can still be jumped on).