RaspberryPye [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=41726 Bermeja 1.1 <p> <table><tr><td> <a href="/bbs/?pid=83490#p"> <img src="/bbs/thumbs/pico8_bermejafinal-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=83490#p"> Bermeja 1.0</a><br><br> by <a href="/bbs/?uid=41726"> RaspberryPye</a> <br><br><br> <a href="/bbs/?pid=83490#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hey everyone,</p> <p>This is a game i made way back but i never had time to finish due to development of Toknight and other games and A-levels. I thought i would release it anyway even though it isnt finished as its still a playable game until the end. Hope you enjoy!</p> https://www.lexaloffle.com/bbs/?tid=40079 https://www.lexaloffle.com/bbs/?tid=40079 Fri, 30 Oct 2020 10:11:29 UTC Reflective water tech demo <p> <table><tr><td> <a href="/bbs/?pid=80537#p"> <img src="/bbs/thumbs/pico8_watertechdemo-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=80537#p"> Reflective water tech demo</a><br><br> by <a href="/bbs/?uid=41726"> RaspberryPye</a> <br><br><br> <a href="/bbs/?pid=80537#p"> [Click to Play]</a> </td></tr></table> </p> <h1>Hello!</h1> <p>I thought I would upload this tech demo I've been working on. It is based on the 'Kingdom' series. I am going to hopefully build a game around it but it might take some time. Hope you enjoy!</p> <p>Use arrow keys to move.</p> https://www.lexaloffle.com/bbs/?tid=39155 https://www.lexaloffle.com/bbs/?tid=39155 Sun, 09 Aug 2020 09:33:57 UTC Changing username <h3>Hello</h3> <p>I would love some closure on this issue, as i have asked a few times and sent an email to [email protected] with no reply. I have seen a post from a few years ago with this same issue, and it was resolved by @zep changing it himself, which is what i would like to happen here, or for username changing to be implemented into the lexaloffle website. </p> <h3>Thanks</h3> https://www.lexaloffle.com/bbs/?tid=38976 https://www.lexaloffle.com/bbs/?tid=38976 Sat, 25 Jul 2020 14:33:57 UTC Pico-8 Themes <h3>Hello</h3> <p>I think that the 'themes' selection in config has a lot of potential for other themes, such as ones based on past consoles, different colour schemes or perhaps even an ability to add an image of your choosing to the background of the code editor. I'm not sure if this would be a huge amount of work but i see great potential in it and i would love to see a few more themes available. Of course, PICO-8 still would need to have a signature trait to ensure its fantasy console feel but i think that a few customisable options would keep the feel but offer a touch of personal preferance to the editor.</p> <p>Take this with a pinch of salt <a href="https://www.lexaloffle.com/bbs/?uid=1"> @zep</a> , just an idea</p> <p>P.S. How do i change my username?</p> <p>Thanks</p> https://www.lexaloffle.com/bbs/?tid=38955 https://www.lexaloffle.com/bbs/?tid=38955 Fri, 24 Jul 2020 09:23:04 UTC Converting a list of variables <p>Hey,</p> <p>I have a big list of variables in the format:</p> <div> <div class=scrollable_with_touch style="width:100%; 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>a=1 b=2 c=3</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>etc.</p> <p>I was wondering what the fastest way is to convert it into this format:</p> <div> <div class=scrollable_with_touch style="width:100%; 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>a,b,c=1,2,3</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Is there an online tool to do this or something someone can point me to?</p> <p>P.s. <a href="https://www.lexaloffle.com/bbs/?uid=1"> @zep</a> I would like to change my username, is this possible? I have also pinged you an email.</p> https://www.lexaloffle.com/bbs/?tid=38932 https://www.lexaloffle.com/bbs/?tid=38932 Wed, 22 Jul 2020 16:30:04 UTC Changing your Username <h3>Hey</h3> <p>I saw a post from a few years back on this same topic and <a href="https://www.lexaloffle.com/bbs/?uid=1"> <a href="https://www.lexaloffle.com/bbs/?uid=1"> @zep</a></a> himself had to change the username for him, so i was wondering if either there was a way to do it by yourself now or if <a href="https://www.lexaloffle.com/bbs/?uid=1"> <a href="https://www.lexaloffle.com/bbs/?uid=1"> @zep</a></a> could help me out. Thanks</p> https://www.lexaloffle.com/bbs/?tid=38625 https://www.lexaloffle.com/bbs/?tid=38625 Wed, 01 Jul 2020 07:11:52 UTC Toknight 0.1 <p> <table><tr><td> <a href="/bbs/?pid=77881#p"> <img src="/bbs/thumbs/pico8_toknight01-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=77881#p"> Toknight 0.1</a><br><br> by <a href="/bbs/?uid=41726"> RaspberryPye</a> <br><br><br> <a href="/bbs/?pid=77881#p"> [Click to Play]</a> </td></tr></table> </p> <p>Making a new game and wondered if its the sort of game people would enjoy playing. Give some feedback and i'll see if i should continue with this game,</p> <h2>Thanks!</h2> https://www.lexaloffle.com/bbs/?tid=38363 https://www.lexaloffle.com/bbs/?tid=38363 Wed, 10 Jun 2020 07:19:31 UTC Best way to add to beginning of list <h3>Hi</h3> <p>Short question this time. What is the least-bloated way to insert a value into a list at the first index using add(). I couldnt figure out a method which is elegant and simple. </p> <h3>Thanks</h3> https://www.lexaloffle.com/bbs/?tid=38249 https://www.lexaloffle.com/bbs/?tid=38249 Tue, 02 Jun 2020 16:45:01 UTC Procedural generation of rooms <h3>Hi</h3> <p>I am making a roguelike and i would like to add in procedural generation of rooms. I would have prebuilt rooms in the map editor and when the character goes below, above, left or right of the current room, it would take them to a new room with which that entry was possible. I can do this ok apart from one thing:</p> <p>How do i store the layout of the rooms once you go into a new room? If it was just left and right i would make a list of the coordinates of the rooms and when the player goes to the right, a new random room would be appended at the end, if it is to the left then at the beginning. Though this doesn't work when i have up and down too. How do i store the coordinates of the rooms that the player has already been in is my question.</p> <p>I would appreciate some help</p> <h3>Thanks</h3> https://www.lexaloffle.com/bbs/?tid=38247 https://www.lexaloffle.com/bbs/?tid=38247 Tue, 02 Jun 2020 14:44:53 UTC Variable Jumping Heights <h2>Hello!</h2> <p>I am making a new metroidvania and i feel like a critical part of this is getting the jumping to feel right. I tinkered with it for a while before i realised that a true metroidvania really needs variable jumping, where the longer the button is pressed the higher you go. I have had some issues with implementing this and i would appreciate some help.</p> <p>Thanks!</p> https://www.lexaloffle.com/bbs/?tid=38223 https://www.lexaloffle.com/bbs/?tid=38223 Sun, 31 May 2020 08:24:51 UTC Entity Component Systems <h2>Hello again!</h2> <p>I had a peek into Celeste's code and i believe it is made using ECS or Entity Component systems. It gripped me immediately as i can sort-of understand the way it works, i think. I believe that each entity in a game contains its own update draw and init functions, and in the main update draw and init functions you just have a foreach loop that cycles through them and updates/draws them individually. My first question would be is this right? My second and main question is can anyone expand and put it into (preferably extremely simple) code. I would love to use this new architecture.</p> <h2>Thanks!</h2> https://www.lexaloffle.com/bbs/?tid=38154 https://www.lexaloffle.com/bbs/?tid=38154 Wed, 27 May 2020 07:22:48 UTC Particle effects for jumping <h2>Hello!</h2> <p>I am currently making a platformer and i have managed to program my own particle effects like wind and smoke (though they are probably far from optimised). Though i have been stumped with jumping. I would like to use pget() to get the colour of the tile below you so when you jump, little pieces of the same colour will fly up and then land in all directions. I would appreciate some help or perhaps some sample code for me to study. Thanks!</p> https://www.lexaloffle.com/bbs/?tid=38103 https://www.lexaloffle.com/bbs/?tid=38103 Sat, 23 May 2020 17:30:36 UTC Understanding OOP and Metatables in Lua <h2>Hello everyone!</h2> <p>I am having plenty of fun with pico8 but I feel as though i have gotten to the point where i can comfortably use lua to make a decent game. However, when i peek inside some big games like Celeste and Dank Tomb, it seems to chuck all i know out the window. I investigated and found out about metatables.</p> <p>My first question would be should i learn about them? Will it help me get to the next stage of pico8 programming?</p> <p>My second question is regarding an example of a 'simple' metatable:</p> <div> <div class=scrollable_with_touch style="width:100%; 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>-- meta class rectangle = {area = 0, length = 0, breadth = 0} -- derived class method new function rectangle:new (o,length,breadth) o = o or {} setmetatable(o, self) self.__index = self self.length = length or 0 self.breadth = breadth or 0 self.area = length*breadth; return o end -- derived class method printarea function rectangle:printarea () print(&quot;the area of rectangle is &quot;..self.area) end r=rectangle:new(nil,10,20) r:printarea()</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>I have no clue what anything here does, so would it be possible if someone could go through line by line and explain.</p> <p>Thanks a lot!<br /> (If the answer to question 1 is no, could you give some pointers as to where to find something that will help)</p> https://www.lexaloffle.com/bbs/?tid=38095 https://www.lexaloffle.com/bbs/?tid=38095 Sat, 23 May 2020 09:25:31 UTC Graph Plotter <h1>Graph plotter</h1> <h3>I've been working on this for a while now</h3> <p>This is my alpha-release of this software. I intend to further develop it so you can have multiple graphs at the same time and also the use of trigonometric graphs.</p> <h2>Enjoy!</h2> <p> <table><tr><td> <a href="/bbs/?pid=74138#p"> <img src="/bbs/thumbs/pico8_graphplotter-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=74138#p"> Graph Plotter 1.0</a><br><br> by <a href="/bbs/?uid=41726"> RaspberryPye</a> <br><br><br> <a href="/bbs/?pid=74138#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=37203 https://www.lexaloffle.com/bbs/?tid=37203 Sun, 29 Mar 2020 10:55:55 UTC Graph Plotter 1.1 <p> <table><tr><td> <a href="/bbs/?pid=74138#p"> <img src="/bbs/thumbs/pico8_graphplotter-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=74138#p"> Graph Plotter 1.1</a><br><br> by <a href="/bbs/?uid=41726"> RaspberryPye</a> <br><br><br> <a href="/bbs/?pid=74138#p"> [Click to Play]</a> </td></tr></table> </p> <h1>Graph Plotter</h1> <h3>Been working on this for a while! Hope you enjoy!</h3> <p>This is my first pico-8 project so I'm open to critical feedback!</p> <p>Version 1.1:</p> <p>-Removed polynomial setting to make way for big update ;)<br /> -Added ability to &quot;stamp&quot; current graph and then calculate the intersection of the two graphs (i.e. solve the simultaneous equations)<br /> -Bug fixes</p> https://www.lexaloffle.com/bbs/?tid=37127 https://www.lexaloffle.com/bbs/?tid=37127 Mon, 23 Mar 2020 11:45:01 UTC