Animating sprites in Pico-8

Поділитися
Вставка
  • Опубліковано 23 гру 2024

КОМЕНТАРІ • 24

  • @duq282
    @duq282 6 років тому +15

    This deserves way more views. Great concise explanation with minimum wafflage. Subbed.

  • @ThePhantomBowtie
    @ThePhantomBowtie Рік тому +1

    you are like the khan academy of Pico-8 tutorials

  • @wilsonfromwales
    @wilsonfromwales 4 роки тому +1

    Hello! Please keep producing content. There are so few quality Pico-8 tutorials on UA-cam but I have referred to your channel several times as you keep things simple and concise. You just helped me flip my sprite! Thank you. :)

  • @ArtAndPrevailing
    @ArtAndPrevailing 6 років тому +2

    omg this is like the BEST tutorial for me. you explain in plain english what each thing does, repeat it frequently, and i was able to follow along without running it back. i have adhd and i find it hard to learn things without doing them. in this case, i watched your video and picked it up. thank you!

    • @docrobs
      @docrobs  6 років тому

      Thanks for the positive message. I'm glad the videos are helpful!

  • @computer__eyez
    @computer__eyez 4 роки тому +1

    Cleared up 3 months of confusion with a one minute sentence and annotation.
    Your channel will blow up, keep pushing. Subscribed and bell has been rang!

  • @bgelais
    @bgelais 5 років тому +2

    lot of pico programmes are afraid to use decimal value increment to slow frame's animation, but you can use it, it does no errors...without forget the modulo...but ok it's for advanced coder :)
    f=0
    function _update()
    f+=0.2
    f=f%3
    end
    function _draw()
    cls()
    spr(1+f,64,64)
    end

    • @skaruts
      @skaruts 3 роки тому

      You can even simplify like this: *spr(sprite_index+(time()*anim_speed)%anim_max_frames, x, y, ...)*
      Something like 2.5 may be nice for the animation speed. I do this in TIC80, and I have to divide *time()/1000* there to get it in seconds, or else the animations go way too fast. I don't think you need that in Piko8.

  • @mdonnelley
    @mdonnelley 6 років тому +3

    This is literally exactly what I was looking for when trying to figure out idle animation for a sprite in Pico-8. liked and Subscribed. THANK YOU!

    • @docrobs
      @docrobs  6 років тому

      Glad it's proving useful!

  • @tonetheman
    @tonetheman 6 років тому +2

    Good tutorial. I have used pico for a bit and never noticed there was a flip hahaha. Good stuff.

  • @PumpkinBlend
    @PumpkinBlend 6 років тому +3

    do one in jumping animations and gravity

  • @trouble6043
    @trouble6043 2 роки тому

    Great vid! I have one question, how do you make it for the up and down animations. I tried to make it with the same code just different animations, it didn’t work. Could you please help:)

  • @ravegames1003
    @ravegames1003 3 роки тому +1

    Quick Question, what if i wanted to make a space shooter, and my ship is trying to move in a way where if i go right it goes to one sprite change of it turning left or right.

    • @docrobs
      @docrobs  3 роки тому

      If you mean rotating a sprite, that's on a whole new level. You could draw several sprites or apply some maths to the whole thing but that's a whole new tutorial!

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

    question how would you use the S variable when you are using an SSPR sprites I'm working on a thing in class so I don't have any audio

  • @agentslimepunk
    @agentslimepunk 3 роки тому +1

    Great explanation!! Thank you for sharing :)

  • @LiquidreamUK
    @LiquidreamUK 6 років тому +1

    Great tutorial, as always
    (BONUS POINTS-A-RENO for including reference to Thimbleweed Park!) :D

    • @docrobs
      @docrobs  6 років тому +1

      It's such a great game!

  • @chris9085
    @chris9085 3 роки тому +1

    great video!!

  • @PeetonJazzy
    @PeetonJazzy 6 років тому +2

    how do you copy and paste?

    • @docrobs
      @docrobs  6 років тому +2

      Just use CTRL-C and CTRL-V

    • @PeetonJazzy
      @PeetonJazzy 6 років тому +1

      doc_robs oh lol, thanks

  • @AmritZoad
    @AmritZoad 2 роки тому

    Sooo good!!!