Physics Tutorial(Box2D) || TurboWarp/Scratch.

Поділитися
Вставка
  • Опубліковано 23 сер 2024
  • First Episode of the Scratch Tutorial Series
    I hope you enjoy, this is my first tutorial and it is kinda going to be low quality, but thankfully i will explain all the way, so no worries
    Please if you can, share this video if it is helpful, and please subscribe for more tutorials :)
    And go ahead, share feedback in the comments on what i should improve, i appreciate them :P

КОМЕНТАРІ • 18

  • @Cheeming-Bepis
    @Cheeming-Bepis  Рік тому +1

    Just gonna say this, that's not my voice lol, i used text to speech
    Oh hey- This video is doing somewhat decent-

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

      How would you implement connected physics objects using this extension? To make things like rope or chains?

    • @Cheeming-Bepis
      @Cheeming-Bepis  Рік тому +1

      @@ghastdude589 I believe griffpatch has a tutorial on this without the extension; i don't think atm it is possible sadly :'P

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

      @@Cheeming-Bepis I am aware that this has been made in vanilla Scratch, my issue with that is getting it to interact with the box2d physics objects

    • @Cheeming-Bepis
      @Cheeming-Bepis  Рік тому

      @@ghastdude589 Ah; if you want them to collide then you have to make the other sprite also have phsyics enabled; just follow the same steps on the other sprites and it should work.

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

      @@Cheeming-Bepis That's where I'm having issues. Any connections glitch out when near each other, sometimes they flail EVERYWHERE, and sometimes they just slowly glide down. I can't pinpoint what's going wrong with the code because I'm not used to the extension yet

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

    Works

  • @grzyb11
    @grzyb11 8 місяців тому

    the hitboxes are broken, whenever i make a sprite in the shape of a bowl or something like that, the hitbox fills in the empty space of the bowl shaped thing.

    • @Cheeming-Bepis
      @Cheeming-Bepis  8 місяців тому

      Yeah, Box-2D hasn't been worked on for a while, I'll try and find a solution whenever i make a tutorial for this stuff again.

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

    how to make a physics object collide with a non physics object? such as a level?

    • @Cheeming-Bepis
      @Cheeming-Bepis  Рік тому

      You can apply physics to a non phsycis object; then use a fixed in place block to freeze it if you do not want the object to move.

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

      @@Cheeming-Bepis did that, but even in precision mode the collider is very off.

    • @Cheeming-Bepis
      @Cheeming-Bepis  Рік тому

      @@notkirb_ I think not using precision is better for it; though this may be a Box-2D bug.

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

      @@Cheeming-Bepis I just decided to make each part of the level a separate sprite cuz I couldn't figure out how to fix it

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

      @@notkirb_ The only fix is to not have any concave areas in your sprite. Use multiple basic shapes to form a more complex object