Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    X and Y offset with Sprite collision boxes

    Bug Reporting (FUZE 4 Nintendo Switch)
    4
    5
    251
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dinocoder
      Dinocoder last edited by

      X and Y offsets appear to only be applied to a sprite collision box if the sprite moves. If a sprite remains stationary, the offsets are not applied. I have shared a WIP of my first game jam submission Charge, with the collision box visible, and the offsets are not applied until you move the player sprite. ID: NE953MND9F, currently pending.

      Dave waldron 2 Replies Last reply Reply Quote 0
      • Dave
        Dave Fuze Team @Dinocoder last edited by

        @Dinocoder There are a few bugs with sprite collision boxes which are all being addressed in the next patch, I think we have this one covered bu I will look into it!

        1 Reply Last reply Reply Quote 1
        • vinicity
          vinicity F last edited by

          Isn't it that it doesn't update the visible collision box until you call any of the checkCollision commands?

          1 Reply Last reply Reply Quote 0
          • Dave
            Dave Fuze Team last edited by

            Calling updateSprites() is usually the missing piece. It is a bug however that the collision offset properties are not applied unless updateSprites() is called, and this is addressed in the next patch.

            1 Reply Last reply Reply Quote 3
            • waldron
              waldron F @Dinocoder last edited by

              @Dinocoder duplicating the same line of code twice will apply the offset it's a minor fix for now.

              1 Reply Last reply Reply Quote 2
              • First post
                Last post