Im having a big issue i cant quite fix.

0 favourites
  • 4 posts
From the Asset Store
Basic clone of a 80's arcade game called Gyruss that was quite fun to play!
  • Subscribe to Construct videos now
  • Probably something with condition with variable door that does not meet requirement for an action to be executed.

    Anyway I have door warp example: dropbox.com/s/5emnqm18o2sc1lt/door_warp_by_tag.capx

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You can try rough troubleshooting:

    - in the event change the position of the player to another x and y. (will the player move if it's somewhere else?)

    - check in debug if you can move the x or y when the player is stuck

    - are there events that control movement of player? Disable all, except walking

    - does the player have variables that control movement? Check these in debug when it's stuck.

  • It's hard to say without seeing your project but It sounds like an infinite loop.

    If it's an infinite loop, the two events that have the most potential to cause an infinity loop are:

    Event = 8

    Event = 11

    Your Tile size looks like is = 48x48

    Your player most likely is 48x48 swell

    If that is true when the player is standing on the tile next to the door will count as overlapping.

    1-On overlapping door "LVL1_Door4" you send the player to (384,144)

    2-If the Door that is on the next tile of (384,144) is the "LVL1_Door"? Then because it counts as overlapping you have "Event 8" sending the player back to (624,336) which is next to "LVL1_Door4" and because again it counts as overlapping it will send it back to "LVL1_Door".

    So this keeps going infinitely.

    This is just guessing as I cannot see if (384,144) is next to "LVL1_Door".

    You can confirm if this is true by making the Player collision box a few pixels smaller, like 46x46 and see if it works.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)