Scaling issue with item placement

Get help using Construct 2

Post » Sun Jul 14, 2013 2:20 am

The problem I'm facing is when you click the Spawn button, the item spawned should be set to the mouses X,Y position, and when you left click, it should be placed a the same spot on the bottom layer.

What is actually happening is that it is being set to the bottom layer, but in the bottom layers Mouse X,Y.

If someone could have a looksie at this and see if they could solve the issue, it'd be muchly appreciated, as this is one of the problems that my RTS is facing.

https://dl.dropboxusercontent.com/u/108799982/Capx%20Demos/ScaleLayerSpawn.capx
Using R243 for all examples
B
68
S
20
G
6
Posts: 377
Reputation: 9,670

Post » Sun Jul 14, 2013 2:42 am

Event 5: change Mouse.X("HUD") to Mouse.X(0), and the same for Y.
ImageImageImage
B
71
S
19
G
180
Posts: 3,479
Reputation: 103,179

Post » Sun Jul 14, 2013 11:27 am

That was it. Silly me
Using R243 for all examples
B
68
S
20
G
6
Posts: 377
Reputation: 9,670


Return to How do I....?

Who is online

Users browsing this forum: mchulet, tarek2, theinfomaven and 6 guests