Gabe_8_bit [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=46538 Checking if a bit is set <p>I was working on a project, when I realized that checking if a bit is set would be much easier to understand so I made this function that checks if a bit is set.</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>function bit(v,b) val=((flr(v/b)*b)%(b*2))==b --checks if the bit is set return val --returns true if the bit is set and returns false if the bit is not set end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=43310 https://www.lexaloffle.com/bbs/?tid=43310 Sat, 12 Jun 2021 20:28:52 UTC Super Mario Remix Editor <h3>Credit <a href="https://www.lexaloffle.com/bbs/?uid=42638"> @JadeLombax</a> for level compression.</h3> <p>A simple editor I made for anyone who likes to create Super Mario Maker levels.</p> <h3>This is compatible with Super Mario Remix, which is a game I'm currently making</h3> <h3>How to share levels:</h3> <p>Go to the comments section, type in the title of the level, and press the Control Button + V after copying the level.</p> <h3>Technical notes:</h3> <p>Can be played with a Mouse or a Controller</p> <p>Level width is 16 screens,<br /> 256 tiles,<br /> or 2048 pixels</p> <p>Level height is 1 screen,<br /> 16 tiles,<br /> or 128 pixels</p> <h3>Controls for mouse</h3> <p>Left click : Place blocks<br /> Right click : Delete blocks<br /> Scroll : Select blocks</p> <h3>Controls for controller</h3> <p>Up, Down, Left, and Right : Move Cursor<br /> X while not on selected block : Place blocks<br /> X while on selected block : Delete blocks<br /> Z and Up or Down : Select Block</p> <h3>Menu items</h3> <p>1 : Stage type / Theme<br /> 2 : Copy Level to Clipboard<br /> 3 : Load Level from Clipboard after pasting from clipboard (Control Button + V)<br /> 4 : Enable Block flicker (Seizure warning)<br /> <table><tr><td> <a href="/bbs/?pid=93331#p"> <img src="/bbs/thumbs/pico8_smr_editor-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=93331#p"> Super Mario Remix Editor</a><br><br> by <a href="/bbs/?uid=46538"> Gabe_8_bit</a> <br><br><br> <a href="/bbs/?pid=93331#p"> [Click to Play]</a> </td></tr></table> </p> <h3>Version 1.1</h3> <ul> <li>Fixed a level copying bug</li> <li>Added automatic bug-fixing formatting for level sharing convenience</li> </ul> https://www.lexaloffle.com/bbs/?tid=43294 https://www.lexaloffle.com/bbs/?tid=43294 Fri, 11 Jun 2021 01:25:43 UTC Super Mario Maker Title Theme <p> <iframe src="sfxp.php?id=46538_16" width="769" height="97" style="border:none; overflow:hidden"></iframe><a style="cursor:pointer; font-size:8pt" onclick=' var el = document.getElementById("sfxcode_46538_16"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("/bbs/sfxc/46538_16.txt", function (retdata){ var el = document.getElementById("sfxcode_46538_16"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [sfx] </a> <textarea rows=3 class=lexinput id="sfxcode_46538_16" style="width:480px;background-color:#fed;display:none;overflow:hidden; font-size:4pt;"></textarea> <br /> I made the Title theme in PICO-8.</p> https://www.lexaloffle.com/bbs/?tid=43264 https://www.lexaloffle.com/bbs/?tid=43264 Wed, 09 Jun 2021 03:10:26 UTC Coin Flipper <p> <table><tr><td> <a href="/bbs/?pid=92862#p"> <img src="/bbs/thumbs/pico8_coinflipper-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=92862#p"> Coin Flipper</a><br><br> by <a href="/bbs/?uid=46538"> Gabe_8_bit</a> <br><br><br> <a href="/bbs/?pid=92862#p"> [Click to Play]</a> </td></tr></table> <br /> A simple coin flipper I made for decision making. Credit Nintendo for the original songs and sounds.</p> https://www.lexaloffle.com/bbs/?tid=43141 https://www.lexaloffle.com/bbs/?tid=43141 Tue, 01 Jun 2021 01:16:54 UTC Bowser Battle (Super Mario All Stars Super Mario Bros.) <p> <iframe src="sfxp.php?id=46538_11" width="769" height="97" style="border:none; overflow:hidden"></iframe><a style="cursor:pointer; font-size:8pt" onclick=' var el = document.getElementById("sfxcode_46538_11"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("/bbs/sfxc/46538_11.txt", function (retdata){ var el = document.getElementById("sfxcode_46538_11"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [sfx] </a> <textarea rows=3 class=lexinput id="sfxcode_46538_11" style="width:480px;background-color:#fed;display:none;overflow:hidden; font-size:4pt;"></textarea> <br /> A remix of the theme in Super Mario Bros. (in Super Mario All Stars).</p> https://www.lexaloffle.com/bbs/?tid=43134 https://www.lexaloffle.com/bbs/?tid=43134 Mon, 31 May 2021 18:04:29 UTC New Super Mario Bros. Overworld Theme Remix <p> <table><tr><td> <a href="/bbs/?pid=90868#p"> <img src="/bbs/thumbs/pico8_nsmb_remix-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=90868#p"> New Super Mario Bros Overworld Remix</a><br><br> by <a href="/bbs/?uid=46538"> Gabe_8_bit</a> <br><br><br> <a href="/bbs/?pid=90868#p"> [Click to Play]</a> </td></tr></table> <br /> A remix I made in a few hours.</p> https://www.lexaloffle.com/bbs/?tid=42558 https://www.lexaloffle.com/bbs/?tid=42558 Wed, 21 Apr 2021 00:06:30 UTC How do you add enemies? <p>My question is, how do you add enemies to a game, do you use tables? Use local values in a function? Or some other way?</p> https://www.lexaloffle.com/bbs/?tid=42289 https://www.lexaloffle.com/bbs/?tid=42289 Sun, 04 Apr 2021 01:19:29 UTC Super Mario Bros. Overworld Theme <p> <iframe src="sfxp.php?id=46538_6" width="769" height="97" style="border:none; overflow:hidden"></iframe><a style="cursor:pointer; font-size:8pt" onclick=' var el = document.getElementById("sfxcode_46538_6"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("/bbs/sfxc/46538_6.txt", function (retdata){ var el = document.getElementById("sfxcode_46538_6"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [sfx] </a> <textarea rows=3 class=lexinput id="sfxcode_46538_6" style="width:480px;background-color:#fed;display:none;overflow:hidden; font-size:4pt;"></textarea> <br /> Some music I made in a few hours. Copyright Nintendo for creating this music.</p> https://www.lexaloffle.com/bbs/?tid=42283 https://www.lexaloffle.com/bbs/?tid=42283 Sat, 03 Apr 2021 18:07:49 UTC How do you store level data? <p>My question(s) is, what is the best way to store level data and/or do you need a special PICO-8 level editor to do that? I am asking because I'm currently making a game with more levels than one map can handle.</p> https://www.lexaloffle.com/bbs/?tid=42276 https://www.lexaloffle.com/bbs/?tid=42276 Sat, 03 Apr 2021 03:42:56 UTC Super Mario Land 2 Overworld / Athletic Theme <p> <iframe src="sfxp.php?id=46538_4" width="769" height="97" style="border:none; overflow:hidden"></iframe><a style="cursor:pointer; font-size:8pt" onclick=' var el = document.getElementById("sfxcode_46538_4"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("/bbs/sfxc/46538_4.txt", function (retdata){ var el = document.getElementById("sfxcode_46538_4"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [sfx] </a> <textarea rows=3 class=lexinput id="sfxcode_46538_4" style="width:480px;background-color:#fed;display:none;overflow:hidden; font-size:4pt;"></textarea> <br /> Another thing I made.</p> https://www.lexaloffle.com/bbs/?tid=42271 https://www.lexaloffle.com/bbs/?tid=42271 Fri, 02 Apr 2021 22:40:10 UTC SNES Mario Circuit theme (Super Mario Kart) <p> <iframe src="sfxp.php?id=46538_2" width="769" height="97" style="border:none; overflow:hidden"></iframe><a style="cursor:pointer; font-size:8pt" onclick=' var el = document.getElementById("sfxcode_46538_2"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("/bbs/sfxc/46538_2.txt", function (retdata){ var el = document.getElementById("sfxcode_46538_2"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [sfx] </a> <textarea rows=3 class=lexinput id="sfxcode_46538_2" style="width:480px;background-color:#fed;display:none;overflow:hidden; font-size:4pt;"></textarea> <br /> A relatively simple remix I made.</p> https://www.lexaloffle.com/bbs/?tid=42255 https://www.lexaloffle.com/bbs/?tid=42255 Thu, 01 Apr 2021 21:55:24 UTC Super Mario World Overworld Theme PICO-8 Remix <p> <iframe src="sfxp.php?id=46538_14" width="769" height="97" style="border:none; overflow:hidden"></iframe><a style="cursor:pointer; font-size:8pt" onclick=' var el = document.getElementById("sfxcode_46538_14"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("/bbs/sfxc/46538_14.txt", function (retdata){ var el = document.getElementById("sfxcode_46538_14"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [sfx] </a> <textarea rows=3 class=lexinput id="sfxcode_46538_14" style="width:480px;background-color:#fed;display:none;overflow:hidden; font-size:4pt;"></textarea> <br /> Yoshi Version (added drums):<br /> <iframe src="sfxp.php?id=46538_15" width="769" height="97" style="border:none; overflow:hidden"></iframe><a style="cursor:pointer; font-size:8pt" onclick=' var el = document.getElementById("sfxcode_46538_15"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("/bbs/sfxc/46538_15.txt", function (retdata){ var el = document.getElementById("sfxcode_46538_15"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [sfx] </a> <textarea rows=3 class=lexinput id="sfxcode_46538_15" style="width:480px;background-color:#fed;display:none;overflow:hidden; font-size:4pt;"></textarea> <br /> A remix I made with some of my spare time. Feel free to use it with appropriate credit!</p> https://www.lexaloffle.com/bbs/?tid=42110 https://www.lexaloffle.com/bbs/?tid=42110 Sun, 21 Mar 2021 04:12:09 UTC Super Mario All Stars - Super Mario Bros. Overworld <p> <table><tr><td> <a href="/bbs/?pid=88430#p"> <img src="/bbs/thumbs/pico8_smas_overworld-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=88430#p"> SMAS Overworld Theme</a><br><br> by <a href="/bbs/?uid=46538"> Gabe_8_bit</a> <br><br><br> <a href="/bbs/?pid=88430#p"> [Click to Play]</a> </td></tr></table> <br /> A PICO-8 version of the Super Mario Bros. Overworld Theme from Super Mario All Stars</p> https://www.lexaloffle.com/bbs/?tid=41849 https://www.lexaloffle.com/bbs/?tid=41849 Tue, 02 Mar 2021 23:03:35 UTC And the day goes on (Bill Wurtz) <p> <table><tr><td> <a href="/bbs/?pid=87775#p"> <img src="/bbs/thumbs/pico8_atdgo-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=87775#p"> And The Day Goes On</a><br><br> by <a href="/bbs/?uid=46538"> Gabe_8_bit</a> <br><br><br> <a href="/bbs/?pid=87775#p"> [Click to Play]</a> </td></tr></table> <br /> A random thing I made using spare time.</p> https://www.lexaloffle.com/bbs/?tid=41619 https://www.lexaloffle.com/bbs/?tid=41619 Tue, 16 Feb 2021 22:45:05 UTC Bob-omb Battlefield Theme (Super Mario 64) <p> <table><tr><td> <a href="/bbs/?pid=87109#p"> <img src="/bbs/thumbs/pico8_bob_omb_battlefield-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=87109#p"> Bob-omb Battlefield Theme</a><br><br> by <a href="/bbs/?uid=46538"> Gabe_8_bit</a> <br><br><br> <a href="/bbs/?pid=87109#p"> [Click to Play]</a> </td></tr></table> <br /> I was kind of bored so I made this.</p> https://www.lexaloffle.com/bbs/?tid=41375 https://www.lexaloffle.com/bbs/?tid=41375 Tue, 02 Feb 2021 02:59:52 UTC Kirby In Voxatron <p> <table><tr><td> <a href="/bbs/?pid=86760#p"> <img src="/bbs/thumbs/vox_kirbyvox-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=86760#p"> Kirby In Voxatron</a><br><br> by <a href="/bbs/?uid=46538"> Gabe_8_bit</a> <br><br><br> <a href="/bbs/?pid=86760#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=41272 https://www.lexaloffle.com/bbs/?tid=41272 Mon, 25 Jan 2021 01:13:34 UTC Creative Exercise (Mario Paint) <p> <table><tr><td> <a href="/bbs/?pid=86705#p"> <img src="/bbs/thumbs/pico8_creative_excersise-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=86705#p"> Creative Excersise (Mario Paint)</a><br><br> by <a href="/bbs/?uid=46538"> Gabe_8_bit</a> <br><br><br> <a href="/bbs/?pid=86705#p"> [Click to Play]</a> </td></tr></table> <br /> I thought Creative Exercise was a good song so I made it in PICO-8.</p> https://www.lexaloffle.com/bbs/?tid=41251 https://www.lexaloffle.com/bbs/?tid=41251 Sat, 23 Jan 2021 04:42:31 UTC Super Mario Land <p> <table><tr><td> <a href="/bbs/?pid=86624#p"> <img src="/bbs/thumbs/pico8_sml-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=86624#p"> Super Mario Land</a><br><br> by <a href="/bbs/?uid=46538"> Gabe_8_bit</a> <br><br><br> <a href="/bbs/?pid=86624#p"> [Click to Play]</a> </td></tr></table> <br /> Some music I made on my spare time. Maybe I'll make this into a full remake of Super Mario Land. Also the background was made using another part of the map.</p> https://www.lexaloffle.com/bbs/?tid=41220 https://www.lexaloffle.com/bbs/?tid=41220 Thu, 21 Jan 2021 00:22:53 UTC Kirby's &quot;Short&quot;Land <p> <table><tr><td> <a href="/bbs/?pid=85452#p"> <img src="/bbs/thumbs/pico8_ksd_menu-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=85452#p"> Kirby's &quot;Short&quot;Land</a><br><br> by <a href="/bbs/?uid=46538"> Gabe_8_bit</a> <br><br><br> <a href="/bbs/?pid=85452#p"> [Click to Play]</a> </td></tr></table> <br /> <table><tr><td> <a href="/bbs/?pid=85452#p"> <img src="/bbs/thumbs/pico8_iced_islands-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=85452#p"> Iced Islands</a><br><br> by <a href="/bbs/?uid=46538"> Gabe_8_bit</a> <br><br><br> <a href="/bbs/?pid=85452#p"> [Click to Play]</a> </td></tr></table> <br /> <table><tr><td> <a href="/bbs/?pid=85452#p"> <img src="/bbs/thumbs/pico8_ksl_ending-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=85452#p"> Kirby's Shortland Ending</a><br><br> by <a href="/bbs/?uid=46538"> Gabe_8_bit</a> <br><br><br> <a href="/bbs/?pid=85452#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=40822 https://www.lexaloffle.com/bbs/?tid=40822 Wed, 16 Dec 2020 02:22:31 UTC Castle Lololo (Kirby's Dreamland) <p> <table><tr><td> <a href="/bbs/?pid=84915#p"> <img src="/bbs/thumbs/pico8_castle_lololo-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=84915#p"> castle_lololo</a><br><br> by <a href="/bbs/?uid=46538"> Gabe_8_bit</a> <br><br><br> <a href="/bbs/?pid=84915#p"> [Click to Play]</a> </td></tr></table> <br /> I made a remix from the theme from the second stage from Kirby's Dreamland. Also a GameBoy colors feature is in it too.</p> https://www.lexaloffle.com/bbs/?tid=40625 https://www.lexaloffle.com/bbs/?tid=40625 Tue, 01 Dec 2020 22:24:35 UTC