zones [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=9731 tileguy (ver. 05-08) <p> <table><tr><td> <a href="/bbs/?pid=52437#p"> <img src="/bbs/thumbs/pico52548.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=52437#p"> tileguy 05-08</a><br><br> by <a href="/bbs/?uid=9731"> zones</a> <br><br><br> <a href="/bbs/?pid=52437#p"> [Click to Play]</a> </td></tr></table> </p> <p>added:<br /> black border on all tiles<br /> scrolling background<br /> slight level changes (still nothing thought out though)</p> <p>fixed:<br /> tiles deplete when pressing z, x, or attempting to move diagonally<br /> goals don't reopen if you die after opening them</p> <p>sorry if it is bad taste to update this thread so often, i am very excited to develop more for this platform!</p> <p>post3:<br /> thanks to kittenm4ster on the tip, levels now reload upon death.<br /> also added:<br /> goal now only opens when all droppable tiles are dropped<br /> incredibly laggy background thing (can be enabled/disabled with z)</p> <p>post2:<br /> 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.</p> <p>post1:<br /> 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.</p> <p>any pointers on how to make my code neater are greatly appreciated!</p> https://www.lexaloffle.com/bbs/?tid=31242 https://www.lexaloffle.com/bbs/?tid=31242 Sat, 05 May 2018 23:36:36 UTC