Navigation

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

    Very specific sprite location bug

    Help
    4
    6
    341
    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.
    • CasualTie5
      CasualTie5 F last edited by

      So I've finished my first ever FUZE program (ID: NXHYFNND11), a vertical platformer, and I managed to get rid of most problems, except one.
      I use a function that checks if the player collides with the platforms (similar to the one in the game tutorial). It is worth mentioning that I did not make sprites for the platforms, because I thought it was not really necessary. If there is a collision from above (i.e. the player falls onto a platform), the player sprite is set to a location directly above the platform.
      However, when I ran the program and the screen moved upwards, the player started glitching through any platform it collided with. I have a workaround for that, but it led to some strange collision behaviour, which bothers me a bit.
      So if you want to help me, check out the ID (I have pointed out where in the code exactly the bug is in the comments), and maybe someone has an idea what might cause those issues?

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

        @CasualTie5 im happy to take a look later when home, congrats on your first program

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

          Congratulations on the first program! It's great! And really hard... So far I have only survived two waves in Red Hell!

          There seems to be a bug with the controls though. Sometimes, I would get into a state where I can't move or jump. Usually when I was pressing very quickly on the controls. It doesn't happen very often, but it has happened a couple of times while playing.
          EDIT: I think it might sometimes trigger if you go in one direction for a while, and then quickly change to the other direction, while pressing jump at the same time?

          Is the text on the Controls page (and also the Pause page) supposed to be so dark? Maybe a bug as well?

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

            @vinicity thanks a lot for playing my game :D

            about the jump controls, the problem might be that I restricted the use of the A-button to make it impossible to keep jumping by just holding the button... I guess I'll change that to make it more forgiving.
            I didn't even notice the colors could be too dark, but I never need to look up the controls for a program I've written myself, obviously, so there's that ;) will change that too

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

              Enjoyed that brilliant little game i cant notice any bugs and the platforms shaking is very cool, personal suggestion id like knock back on the rocks instead of instant death :P i better get better

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

                Tough game! But great job!
                I definitely suck at it lol

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