Level27Geek [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=12871 Bit.Bash 0.85 <p> <table><tr><td> <a href="/bbs/?pid=39130#p"> <img src="/bbs/thumbs/pico39499.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=39130#p"> Bit.Bash 0.85</a><br><br> by <a href="/bbs/?uid=12871"> Level27Geek</a> <br><br><br> <a href="/bbs/?pid=39130#p"> [Click to Play]</a> </td></tr></table> </p> <p>I am finally releasing my (yet unfinished) first game to the wild. It is a breakout clone with a bit of 80s computer UI aesthetic. You can find out more about it, and my learning-to-code journey at my blog: <strong><a href="https://level0gamedev.blogspot.com/">level0gamedev</a></strong></p> <p>The game is currently playable only as an endless score attack.</p> <p>It seems that I have run into (among other things) a serious case of feature creep and it has really stopped me from finishing it. I am releasing this WIP, because I would love for someone to play this thing. Just knowing that someone played it would give me a much needed morale boost. Feeback is very welcome and encouraged! Feel free to ask any questions, highlight any faults or even check the code (it is a huge mess, but this is really my first coding outside of some QBASIC 15 years ago).</p> <p>Thanks :)</p> <p><strong>Changelog:</strong></p> <ul> <li>0.85 - each virus gets its own &quot;skill&quot; + sound tweaks</li> <li>0.8 - added sound+music by adrian09_01</li> <li>0.7 - first public release</li> </ul> <p> <table><tr><td> <a href="/bbs/?pid=39130#p"> <img src="/bbs/thumbs/pico39425.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=39130#p"> Bit.Bash 0.8</a><br><br> by <a href="/bbs/?uid=12871"> Level27Geek</a> <br><br><br> <a href="/bbs/?pid=39130#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td> <a href="/bbs/?pid=39130#p"> <img src="/bbs/thumbs/pico39125.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=39130#p"> Bit.Bash 0.7</a><br><br> by <a href="/bbs/?uid=12871"> Level27Geek</a> <br><br><br> <a href="/bbs/?pid=39130#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=29119 https://www.lexaloffle.com/bbs/?tid=29119 Thu, 06 Apr 2017 00:06:14 UTC Simple Textbox framework <p> <table><tr><td> <a href="/bbs/?pid=36894#p"> <img src="/bbs/thumbs/pico36891.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=36894#p"> Simple Textbox 1.0</a><br><br> by <a href="/bbs/?uid=12871"> Level27Geek</a> <br><br><br> <a href="/bbs/?pid=36894#p"> [Click to Play]</a> </td></tr></table> <br /> Edit: Forgot to add, press X or Z to print!</p> <p>After seeing the awesome textbox libraries on the BBS (<a href="https://www.lexaloffle.com/bbs/?tid=28465">here</a> and <a href="https://www.lexaloffle.com/bbs/?tid=28653">here</a>), I decided to try making one myself. I needed one for the game I am working on and because I didn't understand the code in the libraries above, I thought it would be a good opportunity to learn (as well as a way to test how to upload carts to the BBS). </p> <p>This thing is nowhere as complex as the previously mentioned libraries, but it:<br /> <em>prints text letter by letter<br /> </em>wraps text<br /> <em>does not split words<br /> </em>lets you choose x,y and color of where to start printing<br /> <em>allows only one textbox at a time<br /> </em>does not limit the amount of rows<br /> *is under 300 tokens</p> <p>I think it might be useful to someone who just needs a simple letter-by-letter printing of text stored in a single string. Maybe for intros or in-between level updates. </p> <p>To use it, copy everything except what's inside the _init, _update and <em>draw functions from the cart. Paste it into yours and call tbx</em> functions in their respective pico-8 functions for _init, _draw and _update. Then you can call textbox, with a string as a parameter (with optional x,y,col) once to start printing. Call it without any parameter to stop it.</p> <p>Here is how I am using it:</p> <img style="margin-bottom:16px" border=0 src="https://3.bp.blogspot.com/-XIq9bbdGdls/WI4qhPdw8PI/AAAAAAAAHmk/e0iAPsheaFYDs53xJsit5qgpV4KcX03ZwCLcB/s1600/PICO-8_3.gif" alt="" /> https://www.lexaloffle.com/bbs/?tid=28757 https://www.lexaloffle.com/bbs/?tid=28757 Mon, 30 Jan 2017 01:24:41 UTC [Wishlist] Attract Mode <p>As I am slowly returning to Pico-8 and I am tempted to make a Pico-8 3d printed console with CHIP, I had an idea.</p> <p>How about attract mode for splore? </p> <p>Just like arcades (and some console/computer games) in the past. If the machine was on and not used for a period of time, it would start a demo showcasing the game. Basically it was the game playing by itself (although it was often pre-recorded input by real players).</p> <p>As Pico-8 is mostly a fantasy home console, we don't need anything too fancy. We can always let Pico-8 play some pre-recorded gifts. If we want to get to the nitty gritty, we can have a command that will record input and then play a cart by using this input. </p> <p>I am not really sure if we really need this feature, but I think it would be a nice addition, especially when showcasing Pico-8. </p> https://www.lexaloffle.com/bbs/?tid=28123 https://www.lexaloffle.com/bbs/?tid=28123 Mon, 28 Nov 2016 12:40:11 UTC Translating screen coordinates to memory address values. <p>I am working on <a href="https://level0gamedev.blogspot.com/">my first ever game, a gltich themed breakout</a>, based on the Squashy from Pico8 Zine#1 and I am now working on making the glitch effects that will be part of the gameplay. What I have now is a way to add a static noise through pget and pset and this kinda corrupted VHS by using random values over x06000 with memcpy.</p> <p>Memcpy is great for making random glitch effects. But what if we want to, for example, take something from a particular part of the screen and paste it another place we have chosen. Right now I am just doing a trial and error of values and if I get close, I call it a day... but I think there has to be a better way.</p> <p>Basically, I am wondering if there is a way to find exact memory address of particular screen coordinates? Some kind of a map perhaps of x,y coordinates and memory values? Or even better... a formula that we can use to input x,y of source and destination that would return the memory values we can use memcpy on.</p> <p>I am pretty sure that there has to be a some kind of underlying math that translates one to the other, but I am a noob, so don't even know where to start trying to back-engineer it. </p> <p>Would such a map be possible, or would the memory values change depending on color of each pixel for example?</p> https://www.lexaloffle.com/bbs/?tid=3743 https://www.lexaloffle.com/bbs/?tid=3743 Fri, 01 Jul 2016 17:27:17 UTC Total beginner making games for PICO-8 <p>Hi!</p> <p>I have just started to learn game development. My only programming experience comes from making few simple things in BASIC more than 15 years ago, but when I found PICO-8 (thanks to the C.H.I.P Kickstarter) I felt a nostalgic pull and decided to jump in into this whole gamedev thing. </p> <p>I have started a blog: <a href="http://level0gamedev.blogspot.com/">Level0GameDeveloper</a> where I document this journey and explain everything what I am doing, so maybe someone like me (who doesn't have an idea where to start with this whole game making thing) will find it helpful and will also give it a try (maybe even with PICO-8?!). </p> <p>Anyway, I was hoping that you guys could give me some pointers, as many of you are, what I would consider, amazing programmers (I have seen your code!). The great thing about Pico-8 is that I can lookup any source code to the carts posted here and learn from that, but I find myself really struggling understand a lot of it, as I don't know Lua (or programming practices past the basics really). Right now I am working on expanding the pong clone from Pico-8 Zine#1 and it is going alright, but I am afraid that the lack of knowledge of Lua/Pico-8 functions will make me reach a standstill, or I will get frustrated and give up :(</p> <p>Any advice you would give to a new programmer? Any books or articles you could recommend (especially about Lua, or basics of programming in general)? I have already gone through the zine and manual (however the manual doesn't explain things very well, but it is a good reference) multiple times and I use this BBS daily, so I am looking for any other resources.</p> <p>So far I am having a blast and I think I can actually do this, but I would love some advice, so I won't give up. Any help would be greatly appreciated. </p> https://www.lexaloffle.com/bbs/?tid=3387 https://www.lexaloffle.com/bbs/?tid=3387 Wed, 18 May 2016 23:04:52 UTC