Play game
Sector 498's itch.io pageCharacter Count498
Game Code
a={}x=63y=99k=123z=256r=rnd
function _update60()cls()g=0^⬇️*z
b=btn()x=mid(4,x+b\2%2-b%2,k)y=mid(-g,y+b\8%2-b\4%2,k-g)ˇ-=4s=srand
if(b\16*ˇ<0)➡️,ˇ=x,y
s(⬆️)if(r(k)<2+⬆️/768)add(a,{x=r(k),y=-9})d=abs
s()for i=0,z
do?".",r(k),(r(z)+⬆️/(3-i%3))%z,i%8
end for e in all(a)do
q=x-e.x e.x+=q/96e.y+=1X=e.x Y=e.y
circfill(X,Y,4,8)?"⁵ff8³aᶜ0●",X,Y,6
if(d(X-➡️)+d(Y-ˇ)<6)del(a,e)⬅️+=1ˇ=…
if(d(q)+d(y-Y)<8)⬇️-=1e.y=▤
end?'⁵ddᶜb||⁶j11♥'..⬇️..'ᶜ8³ら☉'..⬅️,➡️,ˇ
⬆️+=█?"⁵dm♥ᵇaᶜ1◆⁵38ᶜd⁶.\0██@@`ユぬᶜ6⁶.¹³²⁶⁴\r゜¥",x,y,(⬆️&1)*12
end
Leave a comment
Log in with itch.io to leave a comment.


Comments
Wow, another "stellar" (+buttery smooth) entry of yours! 🤯
You really have managed to get all the shmup elements in such a small space, very impressive.
Makes such a diff. having the "single instance bullet" (or whatever the mechanic is called) - adds way more tension 😅
The progressive "homing" attack waves feel great also, def not a cakewalk to play.
Finally, loving the P8SCII ship - especially clever use of ❤️ for twin engine jets, very cool 😙👌
Another solid entry, nice one 👍
Thanks,🙂
I'm glad the little workarounds I came up with seem to work well enough. The single bullet was just a way of saving space vs having another group of table entries to cycle through, and the 'homing attack waves' are just an increasing spawn probability with distance traveled, and an x position that changes by distance to the player's ship/96.
I was originally stuck on the random generation because the background needed srand(), but that meant no random enemy spawning without creating a list of values to draw from at startup. I hit on using another srand() call with the distance traveled as the seed, which gives random spawns that are the same every session, and saved around 30 bytes. I'm thinking about doing a writeup for this and/or my 550-char Space Invaders, maybe some of the strategies I found will help somebody fit their regular-size games into Pico-8 better.
Wow! Really killer level of polish
Thanks, I had to heavily exploit P8SCII to shave off every extra byte, and also hope the hacky parts didn't cause problems (like the fact you only have one bullet).😉
I've had some ideas for a more substantial shmup for a while, but I'm not a fan of super-difficult games and am more interested in the aesthetics and atmosphere, and haven't been sure if people would be interested in that. Guess I'll have to do some experiments.
This is really impressive!
Thanks. It's very simple, but I tried to add some polish and make it look as nice as I could. P8SCII codes are very useful, but they're very cryptic and fiddly.
I couldn’t get the code to run correctly on Pico-8 0.2.6B.
Edit: Aha! I think it’s because the position of the player is stored in variables x and y and the position of each enemy is stored in variables X and Y (capitals), and the distinction gets lost when you copy and paste into Pico-8.
use puny font (ctrl+p) and the paste it to pico8