trabbo [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=20235 city genorater <p>Making a city generator. This generates a city from a selection of buildings chosen at random. Each city block includes animations of such things as people walking around. There are tall buildings, short hotels, parks, bicycle stops, and empty spaces like a field. There are buildings getting built and others that are deteriorating.</p> <p> <table><tr><td> <a href="/bbs/?pid=124528#p"> <img src="/bbs/thumbs/vox_gajabunera-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=124528#p"> gajabunera</a><br><br> by <a href="/bbs/?uid=20235"> trabbo</a> <br><br><br> <a href="/bbs/?pid=124528#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=51248 https://www.lexaloffle.com/bbs/?tid=51248 Thu, 19 Jan 2023 02:28:16 UTC why? <p>why is it that when I press new actor I get A already made actor.</p> https://www.lexaloffle.com/bbs/?tid=49377 https://www.lexaloffle.com/bbs/?tid=49377 Sat, 17 Sep 2022 17:31:53 UTC Concentration <p> <table><tr><td> <a href="/bbs/?pid=70804#p"> <img src="/bbs/thumbs/pico44522.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=70804#p"> Concentration 0.2</a><br><br> by <a href="/bbs/?uid=20235"> trabbo</a> <br><br><br> <a href="/bbs/?pid=70804#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is a 2-player version the classic memory card game, Concentration. Players take turns flipping cards over two at a time. When a match is found, the player claims the cards and takes another turn. Flipping over two cards that do not match results in the other player taking a turn. Whoever has the most cards by the time all have been claimed wins.</p> <p>This game is fully playable. I started working on it while teaching my 4 year old how to play with physical cards.</p> <p>Only arrow keys and the 'X' button are used.</p> https://www.lexaloffle.com/bbs/?tid=36189 https://www.lexaloffle.com/bbs/?tid=36189 Tue, 10 Dec 2019 06:26:13 UTC Concentration <p> <table><tr><td> <a href="/bbs/?pid=70804#p"> <img src="/bbs/thumbs/pico44522.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=70804#p"> Concentration 0.2</a><br><br> by <a href="/bbs/?uid=20235"> trabbo</a> <br><br><br> <a href="/bbs/?pid=70804#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is a Pico-8 implementation of the classic memory card game, Concentration. Players take turns flipping cards over two at a time. When a match is found, the player claims the cards and goes again. Flipping over two cards that do not match results in the other player taking a turn. Whoever has the most cards by the time all have been claimed wins.</p> <p>This game is fully playable. I started working on it while teaching my 4 year old how to play with physical cards.</p> <p>Only arrow keys and the 'X' button are used.</p> <p><strong>Version History:</strong></p> <ul> <li>0.2 <ul> <li>wood grain background</li> <li>intelligent positioning of popups</li> <li>winner is declared at end</li> <li>more cards</li> </ul></li> <li>0.1 - initial work-in-progress release</li> </ul> <p><strong>To do list:</strong></p> <ul> <li>Display claimed card in message box on a match</li> <li>Failure sound. better success sound.</li> </ul> <p><strong>Maybe do list:</strong></p> <ul> <li>music</li> <li>handicaps</li> <li>title screen</li> <li>&quot;tug-of-war&quot; progress pictures</li> <li>multiple controllers</li> </ul> <p><strong>old versions</strong></p> <p>0.1<br /> <table><tr><td> <a href="/bbs/?pid=44256#p"> <img src="/bbs/thumbs/pico44255.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=44256#p"> Concentration 0.1</a><br><br> by <a href="/bbs/?uid=20235"> trabbo</a> <br><br><br> <a href="/bbs/?pid=44256#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=29940 https://www.lexaloffle.com/bbs/?tid=29940 Sun, 17 Sep 2017 00:26:23 UTC map data vs. memory structures <p>I'm working on the classic memory matching card game, Concentration. My work-in-progress is below, but I have a beginner question regarding best practices when coding on the Pico-8.</p> <p>The grid of cards is currently maintained using a 2D Lua table with each cell containing a few properties such as the picture to display and whether it's flipped or not. This is working well enough, but... I could just as easily store the card faces in the Pico-8's map data. The same goes for the collection of cards collected by each player. In fact, this game doesn't need to store any values greater than can be fit into 8 bits so I could potentially store all data this way. I'd simply be exchanging Lua table lookups with memory reads and writes.</p> <p>I guess my question to more experienced coders is whether leaning on Lua data structures or Pico-8 memory structures is preferred? I don't expect that there is one simple answer to that, but are there pros and cons I might not be aware of after having read through the manual a few times?<br /> <table><tr><td> <a href="/bbs/?pid=44011#p"> <img src="/bbs/thumbs/pico44079.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=44011#p"> Concentration</a><br><br> by <a href="/bbs/?uid=20235"> trabbo</a> <br><br><br> <a href="/bbs/?pid=44011#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=29904 https://www.lexaloffle.com/bbs/?tid=29904 Sat, 09 Sep 2017 01:29:06 UTC