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

Get help using Construct 2

Post » Sun Jan 03, 2016 1:32 am

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.

Image
B
4
Posts: 17
Reputation: 234

Post » Sun Jan 03, 2016 4:29 am

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.
B
29
S
13
G
10
Posts: 355
Reputation: 8,317


Return to How do I....?

Who is online

Users browsing this forum: ChesVCF, Google [Bot] and 18 guests