Making an Advanced Shmup #36 - Animation System - Pico-8 Hero

Поділитися
Вставка
  • Опубліковано 9 лют 2025

КОМЕНТАРІ • 5

  • @joaquimg5361
    @joaquimg5361 Рік тому +2

    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!

  • @MisterTroglodyte
    @MisterTroglodyte Рік тому +6

    This episode is the code equivalent to “power washing porn” - it’s sooo satisfying to see things removed/unified/condensed! 😁

    • @LazyDevs
      @LazyDevs  Рік тому +5

      Ahahaha! Yeah, washing away the jank is a very special pleasure XD

  • @TheGacko
    @TheGacko Рік тому

    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

    • @LazyDevs
      @LazyDevs  Рік тому

      Oh yeah I wanted to do this! Thank you for reminding me!