Lahat [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=32212 Tamago <p> <table><tr><td> <a href="/bbs/?pid=140694#p"> <img src="/bbs/thumbs/pico8_tamago-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=140694#p"> tamago</a><br><br> by <a href="/bbs/?uid=32212"> Lahat</a> <br><br><br> <a href="/bbs/?pid=140694#p"> [Click to Play]</a> </td></tr></table> <br /> Just working on a tamagochi like thingy with my daughter</p> https://www.lexaloffle.com/bbs/?tid=139991 https://www.lexaloffle.com/bbs/?tid=139991 Sat, 27 Jan 2024 10:30:03 UTC Egg O'clock <p> <table><tr><td> <a href="/bbs/?pid=115808#p"> <img src="/bbs/thumbs/pico8_yuwowanugo-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=115808#p"> yuwowanugo</a><br><br> by <a href="/bbs/?uid=32212"> Lahat</a> <br><br><br> <a href="/bbs/?pid=115808#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=48909 https://www.lexaloffle.com/bbs/?tid=48909 Mon, 15 Aug 2022 20:03:28 UTC Advanced Langton's Ant <p> <table><tr><td> <a href="/bbs/?pid=106457#p"> <img src="/bbs/thumbs/pico8_langtons_ant-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=106457#p"> langtons_ant</a><br><br> by <a href="/bbs/?uid=32212"> Lahat</a> <br><br><br> <a href="/bbs/?pid=106457#p"> [Click to Play]</a> </td></tr></table> <br /> I was bored and made a Langton's ant, after quick success, I decided to try to make it more complicated by following the more advanced rules by Greg Turk and Jim Propp. Which allows for more colors. There is also a rule editor by pressing &quot;Z&quot;.</p> https://www.lexaloffle.com/bbs/?tid=46484 https://www.lexaloffle.com/bbs/?tid=46484 Sun, 06 Feb 2022 20:45:58 UTC pokemon_bouncer <p> <table><tr><td> <a href="/bbs/?pid=94438#p"> <img src="/bbs/thumbs/pico8_pokemon_bouncer-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=94438#p"> pokemon_bouncer</a><br><br> by <a href="/bbs/?uid=32212"> Lahat</a> <br><br><br> <a href="/bbs/?pid=94438#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is the first game that my talented 5 year old daughter made, I've helped her with the code, but she made the sprites and sounds by herself.</p> https://www.lexaloffle.com/bbs/?tid=43665 https://www.lexaloffle.com/bbs/?tid=43665 Sun, 04 Jul 2021 09:56:20 UTC jelpimath <p> <table><tr><td> <a href="/bbs/?pid=74654#p"> <img src="/bbs/thumbs/pico8_jelpimath-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=74654#p"> jelpimath</a><br><br> by <a href="/bbs/?uid=32212"> Lahat</a> <br><br><br> <a href="/bbs/?pid=74654#p"> [Click to Play]</a> </td></tr></table> </p> <p>I've made a math games for my Daughter.</p> <p>I am did not want to focus on the art side (not my strong point). So I have heavily modified the Jelpi demo (just kept the sound and the beloved Jelpi). </p> <p>Dear <a href="https://www.lexaloffle.com/bbs/?uid=1"> @zep</a> is it ok if I use jelpi and his music for this cartridge? </p> https://www.lexaloffle.com/bbs/?tid=37324 https://www.lexaloffle.com/bbs/?tid=37324 Sat, 11 Apr 2020 18:44:27 UTC Picture to pico8 <p>Hi I have made a quick python script to turn an square picture to a string of text that can the be parsed by pico8 to make a nice splashscreen.</p> <p><img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/32212/me.jpg" alt="" /><img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/32212/PICO-8_004.png" alt="" /><br /> Pico8 code</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>function txt_to_pic(txt) local d={ a=10, b=11, c=12, d=13, e=14, f=15 } d['0']=0 d['1']=1 d['2']=2 d['3']=3 d['4']=4 d['5']=5 d['6']=6 d['7']=7 d['8']=8 d['9']=9 local x=0 local y=0 for i=0,#txt do if x&gt;128 then x=0 y+=1 end c=d[sub(txt,i,i)] pset(x,y,c) x+=1 end end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>And here is the python script (just replace &quot;me.jpg&quot; by your image):</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> import numpy import PIL #%% img = PIL.Image.open(&quot;me.jpg&quot;) img = img.resize((128,128)) imgarr = numpy.array(img) newimg=numpy.array(img) img.resize((128*10,128*10)) p8colors=[ (0,0,0), (29,43,83), (126,37,83), (0,135,81), (171, 82, 54), (95, 87, 79), (194, 195, 199), (255, 241, 232), (255, 0, 77), (255, 163, 0), (255, 236, 39), (0, 228, 54), (41, 173, 255), (131, 118, 156), (255, 119, 168), (255, 204, 170)] col_to_letter='0123456789ABCDEF' def color_dist(a,b): r1,g1,b1 = a[:3] r2,g2,b2 = b[:3] return int(((r1-r2)**2+(g1-g2)**2+(b1-b2)**2)**(0.5)) def best_col(c): distances=[color_dist(c,i) for i in p8colors] m=min(distances) return distances.index(m) STR = '' for y,line in enumerate(imgarr): for x,c in enumerate(line): newc=best_col(c) STR+=col_to_letter[newc] newimg[y][x]=p8colors[newc] STR+='L' p8image=(STR) PIL.Image.fromarray(newimg).resize((1280,1280))</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p> <table><tr><td> <a href="/bbs/?pid=69552#p"> <img src="/bbs/thumbs/pico8_ganuhupawe-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=69552#p"> ganuhupawe</a><br><br> by <a href="/bbs/?uid=32212"> Lahat</a> <br><br><br> <a href="/bbs/?pid=69552#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=35825 https://www.lexaloffle.com/bbs/?tid=35825 Fri, 01 Nov 2019 12:34:57 UTC Brexit: the game <p> <table><tr><td> <a href="/bbs/?pid=69500#p"> <img src="/bbs/thumbs/pico8_brexit-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=69500#p"> brexit</a><br><br> by <a href="/bbs/?uid=32212"> Lahat</a> <br><br><br> <a href="/bbs/?pid=69500#p"> [Click to Play]</a> </td></tr></table> </p> <p>A highly realistic simulation of Brexit negotiations. Enjoy the riveting and exciting career of a Brexit Prime Minister. Only you can do this, because no one else wants to deal with it.</p> <p>I have not seen any 'political satire' games here, so I hope its a good precedent. There is very contextually implied nsfw material which is based on real events and quotes. </p> https://www.lexaloffle.com/bbs/?tid=35807 https://www.lexaloffle.com/bbs/?tid=35807 Thu, 31 Oct 2019 01:06:23 UTC Map bug. [solved] <p>Hi, I am having a problem with sprites and the map.</p> <p>It seems that the botom half of my spritesheets is interlinked with the bottom part of the map.</p> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/32212/brexit_000.png" alt="" /> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/32212/brexit_001.png" alt="" /> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/32212/brexit_1.gif" alt="" /> <p>It is realy frustating, is there anything I can do?</p> https://www.lexaloffle.com/bbs/?tid=35800 https://www.lexaloffle.com/bbs/?tid=35800 Tue, 29 Oct 2019 12:38:51 UTC Word quiz shapes <p>Following the vein of word quiz animals I have now made another version.</p> <p>Code wise it now enables to use funcitons instead of sprites.</p> <p>The drawing function do not use any global variable besides the tick number (tick+=1 every _update()).</p> <p>Any suggestions would be welcome.</p> <p> <table><tr><td> <a href="/bbs/?pid=69243#p"> <img src="/bbs/thumbs/pico8_word_quiz_shapes-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=69243#p"> word_quiz_shapes</a><br><br> by <a href="/bbs/?uid=32212"> Lahat</a> <br><br><br> <a href="/bbs/?pid=69243#p"> [Click to Play]</a> </td></tr></table> </p> <p>To do:</p> <p>better mainpage.<br /> MOAR shapes.</p> https://www.lexaloffle.com/bbs/?tid=35752 https://www.lexaloffle.com/bbs/?tid=35752 Thu, 24 Oct 2019 23:31:39 UTC word_quiz_animals <p> <table><tr><td> <a href="/bbs/?pid=69082#p"> <img src="/bbs/thumbs/pico8_word_quiz_animals-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=69082#p"> word_quiz_animals</a><br><br> by <a href="/bbs/?uid=32212"> Lahat</a> <br><br><br> <a href="/bbs/?pid=69082#p"> [Click to Play]</a> </td></tr></table> </p> <p>A small young children game for learning to spell and read.<br /> want to update with more and more animals (ideally consume all possible sprites).</p> https://www.lexaloffle.com/bbs/?tid=35709 https://www.lexaloffle.com/bbs/?tid=35709 Sat, 19 Oct 2019 23:22:36 UTC mod Matrix <p> <table><tr><td> <a href="/bbs/?pid=58687#p"> <img src="/bbs/thumbs/pico58686.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=58687#p"> mod Matrix</a><br><br> by <a href="/bbs/?uid=32212"> Lahat</a> <br><br><br> <a href="/bbs/?pid=58687#p"> [Click to Play]</a> </td></tr></table> </p> <p>A simple generative art.</p> <p>The formula is printed at the bottom of the screen.</p> https://www.lexaloffle.com/bbs/?tid=32169 https://www.lexaloffle.com/bbs/?tid=32169 Fri, 02 Nov 2018 18:16:52 UTC sauron eye <p> <table><tr><td> <a href="/bbs/?pid=58502#p"> <img src="/bbs/thumbs/pico58501.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=58502#p"> sauron eye</a><br><br> by <a href="/bbs/?uid=32212"> Lahat</a> <br><br><br> <a href="/bbs/?pid=58502#p"> [Click to Play]</a> </td></tr></table> </p> <p>generative art</p> https://www.lexaloffle.com/bbs/?tid=32136 https://www.lexaloffle.com/bbs/?tid=32136 Sun, 28 Oct 2018 07:06:15 UTC Color War <p> <table><tr><td> <a href="/bbs/?pid=58467#p"> <img src="/bbs/thumbs/pico58466.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=58467#p"> Color War</a><br><br> by <a href="/bbs/?uid=32212"> Lahat</a> <br><br><br> <a href="/bbs/?pid=58467#p"> [Click to Play]</a> </td></tr></table> </p> <p>Just playing with pixels.</p> <p>A bit of generative art.</p> https://www.lexaloffle.com/bbs/?tid=32131 https://www.lexaloffle.com/bbs/?tid=32131 Sat, 27 Oct 2018 05:09:08 UTC