Bardikus's Forum Posts

  • 4 posts
  • Thank you

  • I want to make a game where the player can control 2 entities: A and B, but one at a time(Sort of like in the game Trine or Trine 2, but only with 2 characters, not 3). You start controlling entity A, and when you press the Q key, I want entity B to appear(spawn) at entity A position and hide A(destroy A object). When you press the Q button again, I want the opposite to happen, A appears at B position and A dissapears and so on. The thing that I am having a problem with is that I want both my objects to have a scroll to behaviour and I also have to keep both objects on the layout from the start to be able to spawn them and for this particular reason, the scroll to behaviour makes the screen scroll to something like the median from the position of the 2 objects. Any suggestions on how to fix this are welcomed. Thank you!

  • Apparently I can't provide links because I'm too low level, so I can't show you the event sheet :|

    But you can take my word that it looks like this:

    Keyboard -> On W Pressed // Player -> Destroy

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have the player object, with the platform and scroll to behaviours.

    I created an event that asks if the W key is pressed, destroy Player object. Nothing happens when I press the W key in game. Could anyone provide some help with this?

  • 4 posts