How do I Create Object and Maintain origional Object's Coord

  • I am writing a turret defense game. To spawn turrets, I click on a turret icon, which also just happens to be a stationary copy of the turret.

    Everything aside, the problem is with the Create Object function.

    When I click on my Turret Icon, I create a turret at Mouse coordinates and it is attached to my mouse. Problem is, the origional turret Object also flies to the mouse coordinate!!! No where in my code do I tell the original object to go to my mouse coordinate. The origional turret object/icon is just supposed to act as an icon to create an identical copy of it.

    But this problem where the origional turret goes to my mouse ONLY occurs with the origional turret. None of the created copies of the turret have this problem.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • only thing I can think of is a for each statement or the org. sprite is not the same as the newly created sprite family.

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