GamingWithAlf [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=74265 wait command <p>I tried using flip() but it was a very small delay. I dont want to use time() because doing it that way is very complicated. Is there any other way to make a pause.</p> <p>\132 is the scattered dot emoji. \129 is the checkerboard emoji. \128 is the horiz rectangle emoji.\146 is the star emoji. I want a pause between every cycle of the for loop</p> <p>this is my 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>for i=1,4 do if (i==1) then print(&quot;\132\132\132 \132\132\132&quot;,36,63,7) end if (i==2) then print(&quot;\129\129\129 \129\129\129&quot;,36,63,7) end if (i==3) then print(&quot;\128\128\128 \128\128\128&quot;,36,63,7) end if (i==4) then print(&quot;\146game over\146&quot;,36,63,7) 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> https://www.lexaloffle.com/bbs/?tid=55230 https://www.lexaloffle.com/bbs/?tid=55230 Tue, 05 Dec 2023 16:57:19 UTC mypacman <p> <table><tr><td> <a href="/bbs/?pid=125033#p"> <img src="/bbs/thumbs/pico8_mypacman-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=125033#p"> mypacman</a><br><br> by <a href="/bbs/?uid=74265"> GamingWithAlf</a> <br><br><br> <a href="/bbs/?pid=125033#p"> [Click to Play]</a> </td></tr></table> <br /> this is my pacman game i made from scratch!</p> <p>p.s. does anyone know how to make an if e.g.=another e.g. then its not working for me:(<img style="margin-bottom:16px" border=0 src="/media/74265/pacman.p8.png" alt="" /></p> https://www.lexaloffle.com/bbs/?tid=51420 https://www.lexaloffle.com/bbs/?tid=51420 Mon, 30 Jan 2023 19:16:54 UTC