MadDev90 [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=41907 [Help] Error with Objects <p>Hello everyone,</p> <p>I am working on some test code for a game idea and it involved picking up one object at a time. Now my code functions properly for the most part but for some reason the p.detect won't trigger for the key but it will for the gun. And the key can't be placed on top of the gun (correct) but the gun can be placed on top of the key (not meant to happen).</p> <p>If someone wouldn't mind taking a look for me, most of the code I'm currently working with in is the objects functions and the player functions.</p> <p>The boolean values are:</p> <p>p.detect<br /> p.held<br /> key.detect<br /> key.held<br /> gun.detect<br /> gun.held<br /> <table><tr><td> <a href="/bbs/?pid=0#p"> <img src="/bbs/thumbs/pico8_yonezijiko-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=0#p"> yonezijiko</a><br><br> by <a href="/bbs/?uid=41907"> MadDev90</a> <br><br><br> <a href="/bbs/?pid=0#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=46093 https://www.lexaloffle.com/bbs/?tid=46093 Sun, 09 Jan 2022 19:43:31 UTC Cowboy Hardline <p>Hey everyone,</p> <p>I am currently working on my second game, after the first one I did, a simple pong clone with semi-realistic physics. This game is called Cowboy Hardline and features a minimalist art design and cowboys dueling at noon action. You play as a western rogue facing off against a small handful of enemies, each increasing in difficulty.</p> <p>Progress:</p> <p>Art 80% (Enemy variations and background anims)</p> <p>Code 85% (Gotta finish the levels code)</p> <p>Sound 0% (Doing it last)</p> <p>Oh and now for two things, extremely necessary flavor text and some screenshots:</p> <p><em>Howdy Pardner!</em></p> <p><em>Welcome to a rootin tootin hollarin good time here at the Old West!</em></p> <p><em>We've got one of the finest gunslingers in all of the Wild West here, YOU, to take on the baddies makin a</em> <em>ruckus in the town saloon. Who can draw their six-shooter faster when it comes down to the line. Will it</em> <em>be you? Or will Billy the Goat have the last laugh? Find out in Cowboy Hardline!</em></p> <img style="margin-bottom:16px" border=0 src="/media/41907/hardline_rw_10.png" alt="" /> <hr /> <img style="margin-bottom:16px" border=0 src="/media/41907/cowboy_hardline p8_0.png" alt="" /> <hr /> <p> <table><tr><td width=64> <img src="https://www.lexaloffle.com/bbs/gfxc/41907_0.png" width=64 height=64> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_41907_0"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/41907_0.txt", function (retdata){ var el = document.getElementById("gfxcode_41907_0"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [16x16]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_41907_0" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> <table><tr><td width=64> <img src="https://www.lexaloffle.com/bbs/gfxc/41907_1.png" width=64 height=64> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_41907_1"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/41907_1.txt", function (retdata){ var el = document.getElementById("gfxcode_41907_1"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [16x16]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_41907_1" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> <table><tr><td width=64> <img src="https://www.lexaloffle.com/bbs/gfxc/41907_2.png" width=64 height=64> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_41907_2"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/41907_2.txt", function (retdata){ var el = document.getElementById("gfxcode_41907_2"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [16x16]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_41907_2" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </p> <hr /> <p>Update#2: A playable alpha demo! Please let me know what you think.</p> <p> <table><tr><td> <a href="/bbs/?pid=104047#p"> <img src="/bbs/thumbs/pico8_cowboyhardline-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=104047#p"> cowboyhardline</a><br><br> by <a href="/bbs/?uid=41907"> MadDev90</a> <br><br><br> <a href="/bbs/?pid=104047#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=45953 https://www.lexaloffle.com/bbs/?tid=45953 Sat, 01 Jan 2022 22:40:58 UTC Pong Time <p> <table><tr><td> <a href="/bbs/?pid=101417#p"> <img src="/bbs/thumbs/pico8_hadirufido-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=101417#p"> Pong Time</a><br><br> by <a href="/bbs/?uid=41907"> MadDev90</a> <br><br><br> <a href="/bbs/?pid=101417#p"> [Click to Play]</a> </td></tr></table> </p> <p>Just release my first game, it's a simple one player pong clone but it's the one game I actually finished lol</p> https://www.lexaloffle.com/bbs/?tid=45558 https://www.lexaloffle.com/bbs/?tid=45558 Sat, 04 Dec 2021 04:07:59 UTC Tiny Ideas <p>Hey everyone!<br /> I have an idea that could benefit a lot of newbies such as myself. The basic premise is to post a growing list of tiny ideas that range in complexity from simple to hard concepts. The reason I thing this is a great idea is for two main reasons. The first is that staring down a whole project while exciting and fun can be intimidating. The second reason is that when I was learning Python I found lists like these that taught me how to program. I always found this extremely useful and I think others will as well. It also teaches thinking like a game developer by breaking things down.</p> <p>So my suggestions for making tiny ideas:</p> <ul> <li>Make statements randomly print (Beginner)</li> <li>Draw a unique sprite and move it around (Beginner)</li> <li>Create an effect in a function (Beginner)</li> <li>Animate one object on repeat (Intermediate)</li> </ul> <p>Looking forward to hearing other tiny ideas!</p> https://www.lexaloffle.com/bbs/?tid=39756 https://www.lexaloffle.com/bbs/?tid=39756 Sun, 27 Sep 2020 17:10:26 UTC