Lykaw [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=49811 Need help with snapping DRAW pixels onto MAP tiles <p>I have been trying to code in a snapping mechanic in a rhythm maze game that I'm working on, but I can't get it to work. The player always ends up at one of the corners of the map or doesn't snap onto the map tiles. I've been using</p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>flr()</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>but it's not working in ANY way. I want the player to snap onto a map tile when they're not moving, can someone please help me with this?</p> https://www.lexaloffle.com/bbs/?tid=46515 https://www.lexaloffle.com/bbs/?tid=46515 Wed, 09 Feb 2022 22:38:47 UTC Khaos Monsters battle idea! <img style="" border=0 src="/media/49811/A3CB037B-DDA2-45AE-8123-78ACFBA66DFB.gif" alt="" /> https://www.lexaloffle.com/bbs/?tid=42483 https://www.lexaloffle.com/bbs/?tid=42483 Wed, 14 Apr 2021 16:43:47 UTC Khaos Monsters Devlog 1 <p>I do say, Pico-8 is in fact hard to use. But besides the coding, I&rsquo;ve gotten some stuff done.</p> <p>Things done are:</p> <ul> <li>2 Player Sprites</li> <li>3 Ground Sprites</li> <li>Bikk Sprite</li> <li>6 Sword Sprites</li> <li>3 Spear Sprites</li> <li>1 Shield Sprite</li> <li>1 Gauntlet Sprite</li> <li>20 VERY Satisfying Sounds</li> <li>TheKawGames Logo</li> <li>9 Dialogue Box Sprites</li> <li>28 Sprites in Total (58 if you include the 4x4 sprites of the TKH logo)</li> </ul> <p>The programming part is ABSOLUTELY BIG BRAIN tho... Making video games with script coding turned out to be harder than I thought...</p> <p>My current plans are:</p> <ul> <li>Make the controls easy to use</li> <li>Try to limit to just 7 (8 in multiplayer) actions</li> <li>Make the gameplay and visuals satisfying</li> <li>NOT SUCK</li> <li>Try to fit most sprites in an 8 by 8 space (which helps keep the sprite space from running out)</li> </ul> <p>Current control ideas are:<br /> Left: Move Left<br /> Right: Move Right<br /> Up: Jump<br /> Down: Nothing<br /> X: Attack<br /> O: Nothing on it&rsquo;s own<br /> O + Up: Interact<br /> O + Left: Dash Left<br /> O + Right: Dash Right<br /> O + Down: Open Journal<br /> -: Pause, Save, Load</p> <p>Oh, and you heard me correct, I am making my game MULTIPLAYER!!! With 1 to 4 players. There are gonna be 4 battle classes for the players to choose from, each with 16 different weapons.</p> <p>Battle classes are:</p> <ul> <li>Warrior (Sword)</li> <li>Polearm (Spear)</li> <li>Defender (Shield)</li> <li>Brawler (Gauntlet)</li> </ul> <p>Alright... End of devlog.</p> https://www.lexaloffle.com/bbs/?tid=42451 https://www.lexaloffle.com/bbs/?tid=42451 Tue, 13 Apr 2021 13:21:10 UTC