raffaelord [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=58655 Gunzle-P8 <h1><em>Gunzle P-8</em></h1> <p> <table><tr><td> <a href="/bbs/?pid=153693#p"> <img src="/bbs/thumbs/pico8_psihonof-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=153693#p"> Gunzle-P8</a><br><br> by <a href="/bbs/?uid=58655"> raffaelord</a> <br><br><br> <a href="/bbs/?pid=153693#p"> [Click to Play]</a> </td></tr></table> </p> <p>ver 1.1:<br /> small corrections<br /> ver 1.2:<br /> minor in-game collision fixes and sound effects.</p> <h2>Controls: <table><tr><td width=128> <img src="https://www.lexaloffle.com/bbs/gfxc/58655_1.png" width=128 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_58655_1"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/58655_1.txt", function (retdata){ var el = document.getElementById("gfxcode_58655_1"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [32x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_58655_1" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </h2> <h3>Move Clover with: the left and right arrow keys.</h3> <p> <table><tr><td width=96> <img src="https://www.lexaloffle.com/bbs/gfxc/58655_3.png" width=96 height=64> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_58655_3"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/58655_3.txt", function (retdata){ var el = document.getElementById("gfxcode_58655_3"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [24x16]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_58655_3" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </p> <h3>Aim the weapon with the arrow keys: up and down.</h3> <p> <table><tr><td width=96> <img src="https://www.lexaloffle.com/bbs/gfxc/58655_2.png" width=96 height=64> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_58655_2"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/58655_2.txt", function (retdata){ var el = document.getElementById("gfxcode_58655_2"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [24x16]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_58655_2" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </p> <h3>shoot if possible with:X</h3> <p> <table><tr><td width=64> <img src="https://www.lexaloffle.com/bbs/gfxc/58655_5.png" width=64 height=64> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_58655_5"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/58655_5.txt", function (retdata){ var el = document.getElementById("gfxcode_58655_5"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [16x16]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_58655_5" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </p> <h3>jump with : Z/O</h3> <p> <table><tr><td width=96> <img src="https://www.lexaloffle.com/bbs/gfxc/58655_6.png" width=96 height=64> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_58655_6"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/58655_6.txt", function (retdata){ var el = document.getElementById("gfxcode_58655_6"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [24x16]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_58655_6" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </p> <h2>description/descri&ccedil;&atilde;o:</h2> <h2>english:</h2> <p>Gunzle is a game created in just 3 days for NoneJam 9 made by Brazilian youtuber @ironicRoseiro. In it, you control the character Clover, whose objective is to use your weapon to clear the path through the rooms and reach the star, advancing in the game. This is a reimagining of the game for pico-8. with small changes.<br /> the original game is present in:<a href="https://ironicroseiro.itch.io/gunzle">Gunzle</a></p> <h2>pt-br:</h2> <p>Gunzle &eacute; um jogo criado em apenas 3 dias para o NoneJam 9 feito pelo youtuber brasileiro @ironicRoseiro. Nele, voc&ecirc; controla o personagem Clover, cujo objetivo &eacute; usar sua arma para liberar o caminho pelas salas e alcan&ccedil;ar a estrela, avan&ccedil;ando no jogo.esta e uma reimagina&ccedil;&atilde;o do jogo para pico-8.tendo pequenas mudan&ccedil;as.<br /> <object width="640" height="400"><param name="movie" value="https://www.youtube.com/v/l5Ta6-Gcprs&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/l5Ta6-Gcprs&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="400"></embed></object></p> https://www.lexaloffle.com/bbs/?tid=144021 https://www.lexaloffle.com/bbs/?tid=144021 Tue, 03 Sep 2024 12:18:36 UTC backrooms-p8 <p><strong>Hello everyone</strong>, I'm doing a project based on backrooms with the aim of having at least 8 levels, but I'm having problems getting the drawn maps collision to work, if anyone has an idea on how to fix it, could you please <strong>help me!</strong></p> <p> <table><tr><td> <a href="/bbs/?pid=150354#p"> <img src="/bbs/thumbs/pico8_kopogibome-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=150354#p"> Backrooms-8</a><br><br> by <a href="/bbs/?uid=58655"> raffaelord</a> <br><br><br> <a href="/bbs/?pid=150354#p"> [Click to Play]</a> </td></tr></table> </p> <p>I recommend someone with experience download the p8 project and tell me what I should do (and also tell me if there is any bad optimization in the project)</p> <p>ps:I'm not good at speaking or understanding English, so sorry for the mistake in understanding</p> https://www.lexaloffle.com/bbs/?tid=142836 https://www.lexaloffle.com/bbs/?tid=142836 Mon, 24 Jun 2024 16:58:02 UTC difficulty with gravity and collision <p>I'm a bit of a beginner in Pico 8 programming and I wanted to know how to implement a gravity system that doesn't activate the collision function.<br /> (I saw some tutorials on YouTube and I think I will have to change a large part of my code)</p> <p><strong>Could anyone tell me how to fix this?</strong> (ps: typos due to Google Translate)</p> <p> <table><tr><td> <a href="/bbs/?pid=148912#p"> <img src="/bbs/thumbs/pico8_satadomeku-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=148912#p"> ben 10 bug</a><br><br> by <a href="/bbs/?uid=58655"> raffaelord</a> <br><br><br> <a href="/bbs/?pid=148912#p"> [Click to Play]</a> </td></tr></table> </p> <p>player code (related only to movement):<br /> <div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"></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>--ben 10 ben = { x = 4*8, y = 9*8, hp= 3, spd= 1, dx=0, dy=0, timer=1, oframe=80, sframe=80, eframe=83, atimer=4, d=false, form=0, head=96, } local benwx=1 local benwy=2 local omini=0 gravity=1 --ben sprite function _draw_ben() spr(ben.head,ben.x,ben.y-8,1,1,ben.d) spr(ben.sframe,ben.x,ben.y,1,1,ben.d) end function benupdate() lx=ben.x ly=ben.y ben.dy=gravity --gravity check?? if mget(nil,ben.y+7/8)~=2 then ben.y+=ben.dy end --walk buttons if (btn(0)) then ben.x-=ben.spd _animate() ben.d=true end if (btn(1)) then ben.x+=ben.spd _animate() ben.d=false end if collide() then ben.x=lx ben.y=ly end --trasform button if (btnp(3)) then omini+=1 ben.form=1 _transform() if ben.head~=96 and omini==2 then _untrans() omini=0 end end end --collision function collide() local benwx=ben.x/8 local benwx2=(ben.x+7)/8 local benwy=ben.y/8 local benwy2=(ben.y+7)/8 if fget(mget(benwx,benwy),1) or fget(mget(benwx2,benwy2),1) then return true else return false 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></div></div></div></p> https://www.lexaloffle.com/bbs/?tid=142409 https://www.lexaloffle.com/bbs/?tid=142409 Fri, 24 May 2024 20:20:49 UTC