Log In  

Cart #52548 | 2018-05-09 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

added:
black border on all tiles
scrolling background
slight level changes (still nothing thought out though)

fixed:
tiles deplete when pressing z, x, or attempting to move diagonally
goals don't reopen if you die after opening them

sorry if it is bad taste to update this thread so often, i am very excited to develop more for this platform!

post3:
thanks to kittenm4ster on the tip, levels now reload upon death.
also added:
goal now only opens when all droppable tiles are dropped
incredibly laggy background thing (can be enabled/disabled with z)

post2:
i've updated it with the crumbling tiles! however, i'm not sure how to reload the initial map when the player dies. i was thinking about writing a mapread() and mapwrite() function that scans the initial map and saves the x,y,v in a table with mget, and then use mset to rewrite it all on death. before i do that i want to make sure i'm not overlooking something simpler.

post1:
this is the beginning of a tile based puzzle game i'd like to make that i started today. i haven't programmed in a very long time but i'm pretty proud that i was able to get this to work so far. there are 3 dummy screens. the numbered tiles on screen 2 are going to be added as tiles that allow you to step on them a certain number of times before they disappear.

any pointers on how to make my code neater are greatly appreciated!

P#52437 2018-05-05 23:36 ( Edited 2018-05-09 02:48)

you can use the reload function to read from the original (unchanged) cart ROM and put it back in working RAM. that may be the "something simpler" you are looking for :)

P#52459 2018-05-06 12:34 ( Edited 2018-05-06 16:35)

that sounds like just what i'm looking for, thanks!

P#52462 2018-05-06 13:05 ( Edited 2018-05-06 17:05)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 14:30:18 | 0.009s | Q:13