The main function

0 favourites
  • 2 posts
  • What I'm planning to do is activate a function that teleports enemies around the screen using an array because only one enemy is allowed on screen at a time, and this is because enemy behavior is built into memory. How it would work is it would compare the screen position with a position on the array, when the screen reaches that position, the enemy gets teleported, then it would go to the next position. Would it just be easier to create instance variables for these enemies? Why am I not doing that? Should I just design levels around this limitation, or get rid of the limitation?

    I realize that the enemy teleportation would have worked the same way in the pocket code version, but I don't know if I should do it in the Construct 3 version.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No. I'm going to create instance variables, not waste my time creating a useless function!

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