Making a Roguelike #14 - HP Display - Pico-8 Hero

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 2025

ความคิดเห็น • 15

  • @progrstick2966
    @progrstick2966 ปีที่แล้ว +3

    Found a 10 token save for the dofade function! :D
    function dofade()
    for j=1,15 do
    local col=j
    for k=1,flr((max(0,min(fadeperc,1))*100+j*1.46)/22) do
    col=dpal[col]
    end
    pal(j,col,1)
    end
    end

  • @nextlevelbanana
    @nextlevelbanana 5 ปีที่แล้ว +4

    I've never seen a practical use for flip() until now. Smart! Totally going to use that pattern in the future.

    • @Kulpo
      @Kulpo 3 ปีที่แล้ว +1

      flip() is very useful for tweetcarts where its fewer chars to use goto _ combined with flip() than using function _update()

  • @skaruts
    @skaruts 3 ปีที่แล้ว +2

    This was the part where I had to get creative. Tic-80 doesn't provide *pal* or *flip,* so I had to make them myself, using a coroutine to run the loop so I could yield in *flip.* I don't think it's perfect, but seems to be working nicely. Also had to create my own fading system because this one wasn't quite working.
    In many ways I've been finding pico-8 to be way more fleshed out than tic-80. I'm probably gonna buy it and just run along with it. I just wish it had a bit of a bigger screen...

    • @LazyDevs
      @LazyDevs  3 ปีที่แล้ว

      The way TIC80 drops the ball on the palette is one of the first moments that made me want to go back to Pico-8 again. It's just so unpolished and uncommitted.

    • @Kulpo
      @Kulpo 3 ปีที่แล้ว

      just wait till zep drops picotron with the glorious psp sized 480x270 display

  • @pikube1138
    @pikube1138 3 ปีที่แล้ว +1

    25:33 made me laugh somehow... great tutorial anyways!

  • @Azurantine81
    @Azurantine81 3 ปีที่แล้ว +1

    I had to remove the ui movement, my eyes and stomach just cannot get along with a UI that is not consistent in its placement. Great tutorials though.

    • @LazyDevs
      @LazyDevs  3 ปีที่แล้ว +1

      That's fine. Something you can do is keep it in a corner and then generate the levels in a way that will keep walkable tiles to spawn in that corner. It's a bit of a challenge bit it's a sleek solution.

  • @brandonphilander661
    @brandonphilander661 5 ปีที่แล้ว

    Does anyone know if Lua has a math.mid function or its equivalent to find the middle of a series of numbers? Thanks.

    • @LazyDevs
      @LazyDevs  5 ปีที่แล้ว +1

      It's MID() in Pico-8

  • @LupinosLionheart
    @LupinosLionheart 3 ปีที่แล้ว

    22:43 made me laugh.

    • @LazyDevs
      @LazyDevs  3 ปีที่แล้ว

      "I have to create more monsters so I can actually die." XD

  • @DyxTube
    @DyxTube 5 ปีที่แล้ว +1

    Actually DOORS and other stuff (except monsters) do not respawn after death... :) maybe you correct this bug in leater version. We will see! GREAT JOB!!!

    • @LazyDevs
      @LazyDevs  5 ปีที่แล้ว +1

      Heheh, yeah I think it will pop up in a future episode. Sorry for the confusion.