gloopycubed [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=119112 lazy dev shmup tutorial progress <p>decided to start with lazy dev tutorials instead of the other i was starting with. i like that he gives you like homework between episodes, i highly recommend his channel. but this is what i've got so far. no where near done witht the playlist but i really like what i've got going on graphic/theme wise, but i just wanted to post progress. the score, or lives or sword(bombs) don't do anything yet, since, i don't even have enemies, and the bullet resets itself everytime you press the fire button, but now that the tutorial is pretty much done with like, the visual stuff, i believe all that stuff happens next, but i'm done for the night to play some games with my partner. now, i just added the starfield to the start screen, but i can't tell if i like it better than how it was in the begining. </p> <p>starfield</p> <img loading="lazy" style="margin-bottom:16px" border=0 src="/media/119112/shmup_3.gif" alt="" /> <p>no starfield</p> <img loading="lazy" style="margin-bottom:16px" border=0 src="/media/119112/shmup_2.gif" alt="" /> <p>if anyone sees this, if you have an opinion im open to it. </p> <p>also features HEAVILY referenced art on the start screen by <a href="https://www.deviantart.com/lunardignity/gallery#content">lunar dignity</a> on deviant art <a href="https://www.shutterstock.com/g/Cadmium+Red">cadmium red</a> on shutter stock so if you like the art check them out.</p> <p>i wanted to give credit while im learning pixel art sometimes i lean too heavy into the reference. </p> https://www.lexaloffle.com/bbs/?tid=147599 https://www.lexaloffle.com/bbs/?tid=147599 Sat, 01 Mar 2025 02:24:25 UTC Sprite Animation Basics <h2>trouble with animation</h2> <p>i am learning pico 8 and watching some videos to kind of learn how to do things but not copy directly so i actually retain knowledge, and im animating sprite and i got it to work going right and left but not up and down. im wondering if anyone can look at my code and see if its glaringly obvious? its my second day learning game dev in general so any notes would be helpful. here is the code: </p> <p>okay, the bbs will not let me post my code in a nice little box, it cuts it off very short, so excuse the wall of text if anyone has tips on that too, i would appreciate it. </p> <img loading="lazy" style="margin-bottom:16px" border=0 src="/media/119112/untitled_0.gif" alt="" /> <p>poke( 0x5f2e, 1 )<br /> pal({[0]=0,4,128,133,1,129,3,139,140,12,14,15,135,138,9,7},1)<br /> -- color palette --</p> <p>function _init()</p> <p>position=63</p> <p>player={<br /> x=63,<br /> y=63,<br /> f=false,<br /> sp=1,<br /> speed=1,<br /> stimer=0,<br /> ani_speed=10,<br /> first_frame=1,<br /> last_frame=4,</p> <p>}</p> <p>end</p> <p>function _update()</p> <p>--amimation player--<br /> if btn(➡️) then<br /> if player.stimer&lt;player.ani_speed then<br /> player.stimer+=1<br /> else<br /> if player.sp&lt;player.last_frame then<br /> player.sp+=.3<br /> else<br /> player.sp=player.first_frame<br /> end</p> <p> stimer=0</p> <p> end<br /> end</p> <p>if btn(⬅️) then <br /> if player.stimer&lt;player.ani_speed then<br /> player.stimer+=1<br /> else<br /> if player.sp&lt;player.last_frame then<br /> player.sp+=.3<br /> else<br /> player.sp=player.first_frame<br /> end</p> <p> stimer=0</p> <p>end<br /> end</p> <p>if btn(⬇️) then<br /> if player.stimer&lt;player.ani_speed then<br /> player.stimer+=1<br /> else<br /> if player.sp&lt;player.last_frame then<br /> player.sp+=.3<br /> else<br /> player.sp=player.first_frame<br /> end</p> <p> stimer=0</p> <p> end<br /> end</p> <p>if btn(⬆️) then<br /> if player.stimer&lt;player.ani_speed then<br /> player.stimer+=1<br /> else<br /> if player.sp&lt;20 then<br /> player.sp+=.3<br /> else<br /> player.sp=17<br /> end</p> <p> stimer=0</p> <p> end<br /> end</p> <p>--player movement--<br /> if btn (➡️) then<br /> player.x+=player.speed<br /> player.f=false<br /> end<br /> if btn (⬅️) then<br /> player.x-=player.speed<br /> player.f=true<br /> end</p> <p> if btn (⬇️) then<br /> player.y+=player.speed<br /> player.sp=1<br /> end</p> <p> if btn (⬆️) then<br /> player.y-=player.speed<br /> player.sp=17<br /> end</p> <p>end<br /> --speed on roads--<br /> // if mget(flr((player.x+4)/8),flr((player.y+4)/8))==27 then<br /> // player.speed=1.5<br /> // end</p> <p>function _draw()<br /> cls(7)<br /> map()<br /> spr(player.sp,player.x,player.y,1,1,player.f)</p> <p>end</p> <img loading="lazy" style="margin-bottom:16px" border=0 src="/media/119112/untitled_0.gif" alt="" /> https://www.lexaloffle.com/bbs/?tid=147546 https://www.lexaloffle.com/bbs/?tid=147546 Wed, 26 Feb 2025 02:07:19 UTC