Christian, sending you some love vibes here so you keep sharing these, they're just amazing. Super fun to follow and very instructive. Please keep 'em coming!
Sweet episode - A little optimization for the flame utilizing the little functions we created -- gains 5 tokens can for loop them and use the i variable for the offset # local fframe=flamearr[t\3%4+1] # mspr(fframe,px-1,py+8) # mspr(fframe,px+2,py+8) for i=1,2 do mspr(cyc(t,flamearr,3),px-4+(i*3),py+8) end -- I found this quite nice if you are wanting to shift the flame (and muzz) according to your leaning (which looks really nice) -- because saved 13 tokens f_off array in this case used to create offset for the leaning left and right etc. local adj_arr=f_off[flr(shipspr+2)] for i=1,2 do mspr(cyc(t,flamearr,3),px-4+(i*3)+(adj_arr[i]),py+8) end
Christian, sending you some love vibes here so you keep sharing these, they're just amazing. Super fun to follow and very instructive. Please keep 'em coming!
This episode is the code equivalent to “power washing porn” - it’s sooo satisfying to see things removed/unified/condensed! 😁
Ahahaha! Yeah, washing away the jank is a very special pleasure XD
Sweet episode - A little optimization for the flame utilizing the little functions we created -- gains 5 tokens
can for loop them and use the i variable for the offset
# local fframe=flamearr[t\3%4+1]
# mspr(fframe,px-1,py+8)
# mspr(fframe,px+2,py+8)
for i=1,2 do
mspr(cyc(t,flamearr,3),px-4+(i*3),py+8)
end
--
I found this quite nice if you are wanting to shift the flame (and muzz) according to your leaning (which looks really nice) -- because saved 13 tokens
f_off array in this case used to create offset for the leaning left and right etc.
local adj_arr=f_off[flr(shipspr+2)]
for i=1,2 do
mspr(cyc(t,flamearr,3),px-4+(i*3)+(adj_arr[i]),py+8)
end
Oh yeah I wanted to do this! Thank you for reminding me!