MBoffin [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=10198
Simple Game
<p>
<table><tr><td>
<a href="/bbs/?pid=64691#p">
<img src="/bbs/thumbs/pico8_mb_simplegame-0.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=64691#p">
Simple Game</a><br><br>
by <a href="/bbs/?uid=10198">
MBoffin</a>
<br><br><br>
<a href="/bbs/?pid=64691#p">
[Click to Play]</a>
</td></tr></table>
</p>
<p>This is a <strong>VERY</strong> simple game for very young kids to edit. This was literally coded in an hour, so it's not optimized or super clean code or anything like that. It just works and is easy for kids to edit. :) It's intended for kids to edit the sprites, sounds, and game variables.</p>
<p>Enjoy! :)</p>
<h1>WHAT TO EDIT</h1>
<h2>SPRITES</h2>
<img style="" border=0 src="https://www.lexaloffle.com/bbs/files/10198/game.p8_002.png" alt="" />
<p><strong>Player</strong> - Sprite 1 and 2 are the player sprite.</p>
<p><strong>Pickups</strong> - There are two rows of pickups. The top row gets only <strong>little_points</strong> if they are picked up. The bottom row gets <strong>big_points</strong> if they are picked up.</p>
<p><strong>Baddies</strong> - These are sprites 49 and 50 (bottom-left of sprite tab 0).</p>
<p><strong>Stars</strong> - The 4 pixels in sprite 48 (bottom-left) define the star colors.</p>
<h2>SOUNDS</h2>
<p><strong>Sound 0</strong> - When a top row pickup gets picked up.</p>
<p><strong>Sound 1</strong> - When a bottom row pickup gets picked up.</p>
<p><strong>Sound 2</strong> - When the player hits a baddie.</p>
<h2>VARIABLES</h2>
<img style="" border=0 src="https://www.lexaloffle.com/bbs/files/10198/game.p8_003.png" alt="" />
<p><strong>little_points</strong> - Points gotten from picking up a top-row pickup.</p>
<p><strong>big_points</strong> - Points gotten from picking up a bottom-row pickup.</p>
<p><strong>game_speed</strong> - How fast the overall game should go.</p>
<p><strong>player_speed</strong> - How fast the player moves.</p>
<p><strong>animation_speed</strong> - How fast the animations change.</p>
<p><strong>seconds_between_pickups</strong> - Self-explanatory.</p>
<p><strong>seconds_between_baddies</strong> - Self-explanatory.</p>
<p><strong>sky_color</strong> - Self-explanatory.</p>
<p><strong>number_of_stars</strong> - Self-explanatory.</p>
https://www.lexaloffle.com/bbs/?tid=34312
https://www.lexaloffle.com/bbs/?tid=34312Thu, 23 May 2019 09:08:40 UTCWater Ripples/Displacement
<p><a href="https://www.lexaloffle.com/bbs/?uid=1"> @zep</a>, I've been really curious about the water feature in Voxatron. I love how it looks and how it acts. It just looks and feels so satisfying. But I've had just a hell of a time finding good articles that give me any sort of clue on how to recreate it with any sort of decent performance. (Or even to look as good as yours.) There's the <a href="https://web.archive.org/web/20160418004149/http://freespace.virgin.net/hugo.elias/graphics/x_water.htm">classic water ripple algorithm</a> that <em>so many</em> articles refer back to. But running that on 128^2 voxels just kills performance. Any clues as to what direction to look in to do water the way you do it in Voxatron? Is it something that works well because it's done &quot;natively&quot;, so to speak, but wouldn't necessarily work well within the Lua performance constraints of the custom scripting feature?</p>
https://www.lexaloffle.com/bbs/?tid=34089
https://www.lexaloffle.com/bbs/?tid=34089Tue, 30 Apr 2019 05:52:46 UTCHourglass Stars Tweetcart
<p>
<table><tr><td>
<a href="/bbs/?pid=63598#p">
<img src="/bbs/thumbs/pico8_mb_tweetcart_hourglass-0.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=63598#p">
Hourglass Stars</a><br><br>
by <a href="/bbs/?uid=10198">
MBoffin</a>
<br><br><br>
<a href="/bbs/?pid=63598#p">
[Click to Play]</a>
</td></tr></table>
</p>
<p>A very simple tweetcart, but with the code expanded to make it easier to understand what's happening. Enjoy!</p>
https://www.lexaloffle.com/bbs/?tid=33887
https://www.lexaloffle.com/bbs/?tid=33887Tue, 16 Apr 2019 23:54:06 UTCColor Palettes
<p>
<table><tr><td>
<a href="/bbs/?pid=61375#p">
<img src="/bbs/thumbs/vox_mb_colors-0.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=61375#p">
Color Palettes</a><br><br>
by <a href="/bbs/?uid=10198">
MBoffin</a>
<br><br><br>
<a href="/bbs/?pid=61375#p">
[Click to Play]</a>
</td></tr></table>
</p>
<p>This is a quick little cart to let you see the difference between the editor color palette and the palette available through code. I hope it's useful! :)</p>
https://www.lexaloffle.com/bbs/?tid=33095
https://www.lexaloffle.com/bbs/?tid=33095Thu, 31 Jan 2019 00:18:30 UTCFive Stones From Home
<p>
<table><tr><td>
<a href="/bbs/?pid=61277#p">
<img src="/bbs/thumbs/vox_mb_ggj2019-1.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=61277#p">
Five Stones From Home</a><br><br>
by <a href="/bbs/?uid=10198">
MBoffin</a>
<br><br><br>
<a href="/bbs/?pid=61277#p">
[Click to Play]</a>
</td></tr></table>
</p>
<p>A small exploration game about a little being who has crash landed on a planet and needs to find how to get home. You find some waystones that look promising. If you could only find a way to activate them, maybe they'd help....</p>
<p>(Please know that this is game jam code, which means it's <em>horrendous</em>.)</p>
<p><em>EDIT:</em> Added the insides of trees so they look cool when they clip off the edge of the screen, and also a label image.</p>
https://www.lexaloffle.com/bbs/?tid=33057
https://www.lexaloffle.com/bbs/?tid=33057Mon, 28 Jan 2019 00:09:05 UTCEditor zoom when pressing the number 6?
<p>I don't know if this is a bug or a debug feature? But when pressing the number 6 while in the designer, it zooms in super huge on the mouse. This is <em>really</em> distracting when coding because it'll flash up huge on the screen if you happen to hit a 6 while you type! 😆 Maybe an option to disable that feature while editing code?</p>
<img style="" border=0 src="https://www.lexaloffle.com/bbs/files/10198/6-zoom.png" alt="" />
https://www.lexaloffle.com/bbs/?tid=32968
https://www.lexaloffle.com/bbs/?tid=32968Sun, 20 Jan 2019 20:02:36 UTCError in the API text file
<p>The <a href="https://www.lexaloffle.com/vox_api.txt">vox_api.txt</a> lists the last two optional arguments for <strong>draw_voxmap()</strong> as rotation then color. However, it's color first, then rotation.</p>
https://www.lexaloffle.com/bbs/?tid=32728
https://www.lexaloffle.com/bbs/?tid=32728Thu, 27 Dec 2018 20:17:06 UTCMerry Christmas!
<p>
<table><tr><td>
<a href="/bbs/?pid=60343#p">
<img src="/bbs/thumbs/vox_mb_xmas2018-0.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=60343#p">
Merry Christmas!</a><br><br>
by <a href="/bbs/?uid=10198">
MBoffin</a>
<br><br><br>
<a href="/bbs/?pid=60343#p">
[Click to Play]</a>
</td></tr></table>
</p>
<p>Merry Christmas, everyone!</p>
https://www.lexaloffle.com/bbs/?tid=32704
https://www.lexaloffle.com/bbs/?tid=32704Tue, 25 Dec 2018 09:11:25 UTCQuestions about config.txt
<p><a href="https://www.lexaloffle.com/bbs/?uid=1"> @zep</a>, I had a few questions about the config.txt settings. I tried searching through old posts, but couldn't find anything, so I thought I'd ask here. Most of the things I could figure out just from knowing what they do in PICO-8. But a few were still mysteries.</p>
<ul>
<li>ff_version</li>
<li>dummy</li>
<li>super_sample</li>
<li>voxel_style</li>
<li>render_mode</li>
<li>exhibition_mode</li>
</ul>
https://www.lexaloffle.com/bbs/?tid=32602
https://www.lexaloffle.com/bbs/?tid=32602Tue, 18 Dec 2018 09:32:10 UTCZero-Hour Game Jam Remake
<p>
<table><tr><td>
<a href="/bbs/?pid=59986#p">
<img src="/bbs/thumbs/vox_mb_ohgj2018-4.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=59986#p">
Zero-Hour Game Jam Remake</a><br><br>
by <a href="/bbs/?uid=10198">
MBoffin</a>
<br><br><br>
<a href="/bbs/?pid=59986#p">
[Click to Play]</a>
</td></tr></table>
</p>
<p>This is a remake of a PICO-8 game I made for the 2018 Zero-Hour Game Jam! Find all the orbs before the time runs out!</p>
https://www.lexaloffle.com/bbs/?tid=32563
https://www.lexaloffle.com/bbs/?tid=32563Fri, 14 Dec 2018 00:43:28 UTCCamera Follow Bug
<p>
<table><tr><td>
<a href="/bbs/?pid=59971#p">
<img src="/bbs/thumbs/vox_bifajitedu-1.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=59971#p">
Camera Follow Bug</a><br><br>
by <a href="/bbs/?uid=10198">
MBoffin</a>
<br><br><br>
<a href="/bbs/?pid=59971#p">
[Click to Play]</a>
</td></tr></table>
</p>
<p>Trying to figure out why the player looks so jittery. I'm having the camera follow the player, and the ground below looks fine as the player moves, but the player itself is super jittery. In the embedded player here it looks fine, but while running in the designer, it's super jittery.</p>
https://www.lexaloffle.com/bbs/?tid=32556
https://www.lexaloffle.com/bbs/?tid=32556Thu, 13 Dec 2018 20:20:19 UTCVoxatron Tweetcart
<p>
<table><tr><td>
<a href="/bbs/?pid=59949#p">
<img src="/bbs/thumbs/vox_mb_tweetcart01-0.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=59949#p">
mb_tweetcart01</a><br><br>
by <a href="/bbs/?uid=10198">
MBoffin</a>
<br><br><br>
<a href="/bbs/?pid=59949#p">
[Click to Play]</a>
</td></tr></table>
</p>
<p>My first Voxatron tweetcart! Enjoy!</p>
https://www.lexaloffle.com/bbs/?tid=32545
https://www.lexaloffle.com/bbs/?tid=32545Thu, 13 Dec 2018 02:19:00 UTCHappy Challah Days!
<p>
<table><tr><td>
<a href="/bbs/?pid=59569#p">
<img src="/bbs/thumbs/pico8_advent_challah-11.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=59569#p">
Happy Challah Days!</a><br><br>
by <a href="/bbs/?uid=10198">
MBoffin</a>
<br><br><br>
<a href="/bbs/?pid=59569#p">
[Click to Play]</a>
</td></tr></table>
</p>
<h1>HAPPY CHALLAH DAYS!</h1>
<p>Enjoy this light, multi-day adventure game about making challah bread for Hanukkah! Each piece of the game will unlock as Hanukkah unfolds in the real world, so come back during the next week to continue the adventure!</p>
<p><strong>LEFT/RIGHT/UP/DOWN</strong> to move around (walk into things to interact)<br />
<strong>X</strong> to skip or close dialog boxes<br />
<strong>Z</strong> to see inventory</p>
<h2>Credits:</h2>
<p>Design/Art/Code: MBoffin<br />
Music: Gruber<br />
Intro Graphic: 2DArray</p>
<h2>About Pico-8 Advent Calender:</h2>
<p>During December, each day will be filled with new and exciting PICO-8 games! We have gathered 25 great developers from the PICO-8 community and we have worked hard to make some new games. Each day leading up to Christmas, there will be a new surprise for you!</p>
<p>Find out more at:<br />
<a href="https://pico8-advent.tumblr.com/">https://pico8-advent.tumblr.com/</a></p>
<p>And check out the Pico-8 Advent Calendar each day for a new surprise:<br />
<a href="https://www.lexaloffle.com/bbs/?tid=32388">https://www.lexaloffle.com/bbs/?tid=32388</a></p>
https://www.lexaloffle.com/bbs/?tid=32417
https://www.lexaloffle.com/bbs/?tid=32417Sun, 02 Dec 2018 07:56:05 UTCHappy Challah Days
<p>
<table><tr><td>
<a href="/bbs/?pid=59385#p">
<img src="/bbs/thumbs/pico59384.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=59385#p">
Test Post, Please Ignore</a><br><br>
by <a href="/bbs/?uid=10198">
MBoffin</a>
<br><br><br>
<a href="/bbs/?pid=59385#p">
[Click to Play]</a>
</td></tr></table>
</p>
https://www.lexaloffle.com/bbs/?tid=32334
https://www.lexaloffle.com/bbs/?tid=32334Tue, 27 Nov 2018 05:16:00 UTCPop Shot!
<p>
<table><tr><td>
<a href="/bbs/?pid=53901#p">
<img src="/bbs/thumbs/pico53900.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=53901#p">
Pop Shot!</a><br><br>
by <a href="/bbs/?uid=10198">
MBoffin</a>
<br><br><br>
<a href="/bbs/?pid=53901#p">
[Click to Play]</a>
</td></tr></table>
<br />
This was a game jam made for the <a href="https://itch.io/jam/ssjminigames">PIGSquad Summer Slow Jams</a>. Unfortunately, I started at 1:00am the night before the end of the jam. I worked until 3am until I couldn't do math anymore, then picked it up the next morning and put in another 3 hours to get it done before the end of the jam. So... uh... excuse the code. It's game jam code. :)</p>
<p>Pop Shot! is a 4-player arena brawler where you eliminate your opponents by charging up shots and using them to knock your opponents into the spikes. You have 3 lives, and if you lose them all, you turn into a floating skull. While you're a skull, though, you can mash the X button to float just a <em>teensy</em> bit faster. If your skull hits the planet, you get an extra life and respawn! (The creative theme for the jam was &quot;The World Is Alive&quot;, so in this game, &quot;The World Is A Life&quot;.) &#128518;</p>
<img style="" border=0 src="https://i.imgur.com/MeiLDpN.gif" alt="" />
<img style="" border=0 src="https://i.imgur.com/L4HwmB9.gif" alt="" />
<p>I am horrendous at music, so all credit for the music goes to <a href="https://www.lexaloffle.com/bbs/?uid=11292"> @Gruber</a> who makes fantastic tunes for all of us to use in our games. &#128522;</p>
https://www.lexaloffle.com/bbs/?tid=31470
https://www.lexaloffle.com/bbs/?tid=31470Sun, 01 Jul 2018 17:46:13 UTCSo-Gnar
<p>
<table><tr><td>
<a href="/bbs/?pid=48656#p">
<img src="/bbs/thumbs/pico56599.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=48656#p">
So-Gnar 1.2</a><br><br>
by <a href="/bbs/?uid=10198">
MBoffin</a>
<br><br><br>
<a href="/bbs/?pid=48656#p">
[Click to Play]</a>
</td></tr></table>
</p>
<p>You need to find your opponents and defeat them, but your energy is always draining and you only have 5 shots. There are charging pads all around you where you can recharge your energy and shots, BUT! If you recharge on a pad, it TRANSMITS a pulse throughout the level, giving away your position. You can use the pulses from other players to find them and defeat them. If you lose all your charge, you'll lose one heart. Lose all your hearts and you die. You can also fire at other players to make them lose hearts, so watch out for stray shots. The fewer players there are left, the faster your energy drains, so defeat your foes quickly!</p>
<p>This is a 4-player split-screen there-can-be-only-one style game. It requires 4 controllers to play.</p>
<p>This game was created in 48 hours for <a href="http://globalgamejam.org/2018/jam-sites/art-institute-portland-portland-indie-game-squad">Global Game Jam 2018 with PIGSquad</a>.</p>
<p><strong>UPDATE:</strong> Lots of tweaks and changes! </p>
<ul>
<li>Added splats.</li>
<li>Added diagonal player movement and firing. </li>
<li>Limited shots to 5 shots per charge. </li>
<li>Added the standard &quot;flashing and invulnerable while hurt&quot; mechanic. </li>
<li>Made a much better map. </li>
<li>Slowed down energy drain. *</li>
<li>Added &quot;dashing&quot; which lets you move faster, but drain energy faster too. </li>
<li>Added a help menu.</li>
</ul>
<p>The whole things plays much better now and is lots of fun if you can get 4 players together. At some point I'm going to add bot code so you can play with less than 4 players. But that's farther down the road.</p>
<p><strong>UPDATE #2:</strong> A few tweaks and changes for the XOXO Arcade!</p>
<ul>
<li>More variation in the wall tiles</li>
<li>Cleaner reset when the game is over</li>
<li>Balance tweaks to energy drain rates</li>
<li>Move help menu to the intro screen</li>
<li>Minor map tweaks to facilitate finding each other easier</li>
</ul>
https://www.lexaloffle.com/bbs/?tid=30680
https://www.lexaloffle.com/bbs/?tid=30680Sun, 28 Jan 2018 21:37:53 UTCSingle Tile Animations
<p>
<table><tr><td>
<a href="/bbs/?pid=48232#p">
<img src="/bbs/thumbs/pico48231.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=48232#p">
Single Tile Animations</a><br><br>
by <a href="/bbs/?uid=10198">
MBoffin</a>
<br><br><br>
<a href="/bbs/?pid=48232#p">
[Click to Play]</a>
</td></tr></table>
<br />
This is an alternate method of doing tile animations. This method uses only a single tile per animation, making it easier to pack in a lot of animated tiles into a single tile. It's not the <strong>best</strong> way of doing this. It's just <strong>a</strong> way of doing this. :)</p>
<p>Basically it just cycles through the colors in the tile according to the order you want them to appear, and changes them to a new color, also set by you in the code. The upshot is you can fit entire simple animations into a single tile.</p>
<p>(BTW, I'm not claiming credit for this method... it's one of those things that I'm <strong>sure</strong> a thousand devs before me have figured out before, and probably 10x more efficient ways than I cranked out tonight.) :D</p>
https://www.lexaloffle.com/bbs/?tid=30608
https://www.lexaloffle.com/bbs/?tid=30608Mon, 15 Jan 2018 23:52:37 UTCRaw Platformer Code
<p>
<table><tr><td>
<a href="/bbs/?pid=47145#p">
<img src="/bbs/thumbs/pico47307.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=47145#p">
Raw Platformer Code 0.7</a><br><br>
by <a href="/bbs/?uid=10198">
MBoffin</a>
<br><br><br>
<a href="/bbs/?pid=47145#p">
[Click to Play]</a>
</td></tr></table>
</p>
<p><strong>UPDATE - 12/11:</strong> Made a lot of changes to this to clean it up, make it more reliable for edge cases, add pickups, portals, and more. I'll be tweaking it more as I go, but this is so anyone watching the livestream can follow along.</p>
<p>I made this code during a livestream at the end of a long day, so it probably has a lot of holes. :D But feel free to poke through it and see if it's useful to you. I'll be updating it to improve and will post improvements as it comes along. There's lots that can be added, improved on, cleaned up, etc. This is just so people from the livestream can have something to play with.</p>
https://www.lexaloffle.com/bbs/?tid=30408
https://www.lexaloffle.com/bbs/?tid=30408Wed, 06 Dec 2017 00:56:09 UTCGame Development w/ PICO-8 - Issue #1
<p>I've been working on a PICO-8 zine over the past few months as part of a gamedev workshop series I'm doing with <a href="http://pigsquad.com">PIGSquad</a>. (You may remember my call for art to include in the zine.)</p>
<p>I'm happy to announce that it's now released! We did a run of printed copies for attendees of the workshop, but I've released the PDF version on itch.io for anyone who wants to use it. You can get it from here:</p>
<p><strong><a href="https://mboffin.itch.io/gamedev-with-pico-8-issue1"><a href="https://mboffin.itch.io/gamedev-with-pico-8-issue1">https://mboffin.itch.io/gamedev-with-pico-8-issue1</a></a></strong></p>
<p>I'll be doing a second printing via Kickstarter soon. Not as a money-making thing, but rather just a chance for anyone who couldn't make it to the workshop to get a printed copy (or copies).</p>
<p>Anything in the zine with code has an accompanying cart included in the sample code download for the zine. Over the next couple of weeks, I'll be walking through the examples and tutorials from the zine on the livestream I do on <a href="http://twitch.tv/pigsquad">PIGSquad's Twitch channel</a> every Tuesday at 6pm PST. These livestreams are saved in PIGSquad's video on demand archive, so people can watch later if they'd like.</p>
<p>I couldn't have made this without the help and support of the PICO-8 community, so thank you! A lot of love went into this zine and I hope you enjoy it. :)</p>
<img style="" border=0 src="https://pbs.twimg.com/media/DOYRqHfUIAAhQgQ.jpg" alt="" />
https://www.lexaloffle.com/bbs/?tid=30245
https://www.lexaloffle.com/bbs/?tid=30245Sun, 12 Nov 2017 23:42:36 UTCZero Space - my 0-hour game jam entry!
<p>
<table><tr><td>
<a href="/bbs/?pid=45891#p">
<img src="/bbs/thumbs/pico45890.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=45891#p">
Zero Space - my 0-hour game jam entry! 1.0</a><br><br>
by <a href="/bbs/?uid=10198">
MBoffin</a>
<br><br><br>
<a href="/bbs/?pid=45891#p">
[Click to Play]</a>
</td></tr></table>
</p>
<p>This was a blast to make! I had one hour, from 2am to 2am when the daylight savings time change occurred. I managed to make the game in <em>just</em> under an hour. (I had, I think, 30 seconds left!)</p>
<p>The goal is to pick up all the orbs on the map in the time allotted. I'll be adding to this game from here, but it's a game! It has a win condition and lose condition.</p>
<p>Enjoy!</p>
https://www.lexaloffle.com/bbs/?tid=30193
https://www.lexaloffle.com/bbs/?tid=30193Sun, 05 Nov 2017 06:04:13 UTC