TIC-80 Beginner Tutorial #29 - Pixel by Pixel Collision

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 11

  • @microdavid7098
    @microdavid7098 3 года назад +2

    thanks for this tutorial. The movement too is really unique feeling
    Also, collisions are so headachey sometimes. Thanks for having this. This is one very important tutorial

  • @GnobarEl
    @GnobarEl 3 года назад +3

    You are the TIC-80 Master! Nice tutorial!

  • @k-8520
    @k-8520 3 года назад +2

    Just wow! Thank you so much for the video! This code is basically able to find a collision with any objects of a certain color. Basically, you're using the screen as an array.
    Hm... Can this be applied in a platformer?
    All objects with which there may be a collision, for 1 frame, draw rectangles of a certain color instead of their sprite. In the same frame, we conduct a study on the collision of the player, entities with objects. After that, we draw a new frame with normal textures/sprites.
    I'll have to try.

  • @spsp209
    @spsp209 7 месяцев назад

    The greatest of all time! Is it possible to put a drawn object in a desired map position? (like one made with pix(), rect(), spr) or are you limited to screen coordinates? I’m doing an open world action rpg and i need to place moving rpgs in the map but can’t find resources on this topic with tic80… maybe I need to look up Lua tutorials? Have you got any suggestions? Thanks for understanding 🙏

    • @PotatoImaginator
      @PotatoImaginator  7 месяцев назад +1

      yes, you can put objects offscreen, like x,y=400,68
      and change values when the player moves

  • @lucasgomes4885
    @lucasgomes4885 3 года назад +2

    oww how crazy, you're really amazing ehh.

    • @lucasgomes4885
      @lucasgomes4885 3 года назад +2

      if it didn't bother you could show in the next totorial video how to create objects like sword holders etc ... please

    • @PotatoImaginator
      @PotatoImaginator  3 года назад

      @@lucasgomes4885 What's a sword holder ? Can you give an example ?