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
69
S
20
G
6
Posts: 379
Reputation: 9,699

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
22
G
241
Posts: 3,734
Reputation: 134,494

Post » Sun Jul 14, 2013 11:27 am

That was it. Silly me
Using R243 for all examples
B
69
S
20
G
6
Posts: 379
Reputation: 9,699


Return to How do I....?

Who is online

Users browsing this forum: beohs, Elliott and 11 guests