Navigation

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

    Having troubles with collision in Gothic Vania.

    Help
    collision gothic vania
    4
    4
    365
    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.
    • M
      Mexx Storm last edited by

      I recently started on a project based on the pre made game Gothic Vania ,but I'm having troubles with detecting a collision between the player and an enemy I created. Did anyone else try doing this and has some advise ?

      Ps : I tried the fo loop suggested by the comment, but it didn't work out

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

        Is it collision between two sprites? Are you using detectSpriteCollision?
        So what happens? You can see that the sprites are colliding but the call to detectSpriteCollision() returns false?

        Maybe it would be helpful if you could post or share your code?

        1 Reply Last reply Reply Quote 0
        • waldron
          waldron F @Mexx Storm last edited by

          @Mexx-Storm been a while since i looked at that sample program il take a look to see if i can provide any insight

          1 Reply Last reply Reply Quote 0
          • SteveZX81
            SteveZX81 F last edited by

            I tend to do my collisions the same and something like this:

            for i = 0 to len(enemy) loop
            col = detectenemycollision(enemy[i],player)
            if col then
            ..collission happened, do something..
            endif
            repeat

            Not sure if that'll help at all/

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