Rangee27 [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=40503 Seinfeld Simulator 1.0 <p> <table><tr><td> <a href="/bbs/?pid=85620#p"> <img src="/bbs/thumbs/pico8_seinsim-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=85620#p"> Seinfeld Simulator 1.0</a><br><br> by <a href="/bbs/?uid=40503"> Rangee27</a> <br><br><br> <a href="/bbs/?pid=85620#p"> [Click to Play]</a> </td></tr></table> <br /> Feel free to give feedback at <a href="https://www.surveymonkey.com/r/Q6BMZXT">https://www.surveymonkey.com/r/Q6BMZXT</a>, thank you! :)<br /> Watch the trailer at <a href="https://www.youtube.com/watch?v=ExljhbRbqzM">https://www.youtube.com/watch?v=ExljhbRbqzM</a></p> <p>Synopsis:</p> <p>Jerry Seinfeld needs your help with his standup routine! Tell 250+ possible jokes (which make absolutely no sense), to your Boomer/Gen-Z audience! Will you tell the most insane jokes possible? Will you tell the cheesiest dad jokes? Or will you make references to things nobody understands? The choice is yours!</p> <p>Features:</p> <p>-Kid-friendly mode<br /> -Full mouse support (finicky on mobile)<br /> -100 unfunny jokes<br /> -250+ punch-lines<br /> -The &quot;Joke-iary&quot; (Can you collect all the jokes?)<br /> -A full in-game tutorial<br /> -A soundtrack where every song is a remix of the Seinfeld theme<br /> -Memes</p> <p>Commentary:</p> <p>Thanks for trying out my first game ever! </p> <p>The game kind of went from a joke-telling simulator to a &quot;recognize the most obscure stupid reference&quot; simulator. It makes the game less funny to those who don't understand the references, but I think the game is better this way, lol.</p> <p>A big fear of mine was accidentally offending people while they're playing. Although some offensive jokes can be funny, I don't want anyone to feel personally hurt by the game. I have no intention of ostracizing anyone from playing this game.</p> <p>Guide:</p> <p>-Press &quot;Z&quot; or left click to perform actions<br /> -Press &quot;X&quot; to access the help menu<br /> -Stars give you extra help menu uses (that doesn't mean the punch-line it's on is good though!)</p> <p>Have fun playing! Go for that 100%!!</p> https://www.lexaloffle.com/bbs/?tid=40862 https://www.lexaloffle.com/bbs/?tid=40862 Sun, 20 Dec 2020 22:10:11 UTC Custom label images? <p>Hi, I&rsquo;ve seen some carts in SPLORE that display label images which appear to be custom art (not screenshotted from in-game). This leads me to believe it&rsquo;s possible to replace a cart&rsquo;s label image with custom art. What would be the easiest way to do this? Thanks!</p> https://www.lexaloffle.com/bbs/?tid=37581 https://www.lexaloffle.com/bbs/?tid=37581 Sat, 25 Apr 2020 12:50:44 UTC Help with tile-based cellular automata (cave gen) <p>Hi! So I was researching &quot;cellular automata&quot; to generate tiled caves using these tutorials:</p> <p><a href="https://gamedevelopment.tutsplus.com/tutorials/generate-random-cave-levels-using-cellular-automata--gamedev-9664">https://gamedevelopment.tutsplus.com/tutorials/generate-random-cave-levels-using-cellular-automata--gamedev-9664</a><br /> <a href="https://www.youtube.com/watch?v=v7yyZZjF1z4&amp;t=755s">https://www.youtube.com/watch?v=v7yyZZjF1z4&amp;t=755s</a></p> <p>I found them super useful, until I went to write my own code in LUA (I'm a novice at programming in general, so I had some trouble). I managed to complete the first part-drawing random tiles on the screen: my version is the image below. I changed the background color to white (it looked nice) and randomly tiled the screen using tile ID 001 (dark blue tile).</p> <img style="" border=0 src="/media/40503/5_Capture.PNG" alt="" /> <p>I started having problems when it came to applying the smoothing function (make_step()). I always ended up with a dark blue, completely tiled screen. The code I wrote is below:</p> <div> <div style="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>--init function _init() x=0 y=0 --screen size width=16 height=16 --chance for tile to spawn wall_chance=0.5 death_limit=2 birth_limit=5 --init random tiles function random_map() --cycle through screen for x=0,width do for y=0,height do if rnd() &lt; wall_chance then --draw tiles mset(x,y,1) end end end end --make smoothing stage function make_step() --cycle through screen for x=0,width do for y=0,height do --# of bordering tiles local neighbor_tiles=count_neighbors() --kill alive cells if mget(x,y)==1 then if neighbor_tiles&lt;death_limit then mset(x,y,0) else mset(x,y,1) end --birth dead cells elseif mget(x,y)==0 then if neighbor_tiles&gt;birth_limit then mset(x,y,1) else mset(x,y,0) end end end end end --looks at 8 neighbor cells function count_neighbors() --variable we want returned --(# of wall tiles found) local count=0 for i=-1,1 do for j=-1,1 do --cycle through points local neighbor_x=x+i local neighbor_y=y+j --if at center point if i==0 and j==0 then --do nothing --if off edge of map elseif neighbor_x&lt;0 or neighbor_y&lt;0 or neighbor_x&gt;=width or neighbor_y&gt;=height then count+=1 --normal point check elseif mget(neighbor_x,neighbor_y)==1 then count+=1 end end end return count end --create the cave function generate_map() --simulate random screen random_map() --make smoothing stage for i=1,4 do make_step() end end --init cave generate_map() end --draw function _draw() --draw white screen cls(7) map() 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>I've seen cellular automata done before on the Pico-8 here:</p> <p><a href="https://www.lexaloffle.com/bbs/?pid=25620">https://www.lexaloffle.com/bbs/?pid=25620</a> (second example cart)</p> <p>However, this cart works in pixels, not tiles, and I had no idea where to even start to change the code.</p> <p>If you guys have an idea as to what things I should change in my code, or know how to change the cart above from using pixels to tiles, I would be super thankful. I don't know what I'm doing half the time, so sorry if I might not understand, haha. Thanks!</p> <p>Btw, sorry for the super long post.</p> https://www.lexaloffle.com/bbs/?tid=36988 https://www.lexaloffle.com/bbs/?tid=36988 Wed, 04 Mar 2020 06:21:38 UTC