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!
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 :)
[Please log in to post a comment]