How do I spawn object to mouse position

Get help using Construct 2

Post » Sat May 09, 2015 8:25 am

How do I spawn object to mouse position.
B
7
S
1
Posts: 16
Reputation: 561

Post » Sat May 09, 2015 11:23 am

System -> Create object (Mouse.X, Mouse.Y)
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,838

Post » Mon May 11, 2015 11:54 am

thx
B
7
S
1
Posts: 16
Reputation: 561

Post » Mon May 11, 2015 12:11 pm

but let say i wanted spawn object inside an object like cookie clicker, so if i click on the cookie it will get mouse x mouse y and spawn at that point. but if i click outside off the cookie it will not spawn.
thx
B
7
S
1
Posts: 16
Reputation: 561

Post » Mon May 11, 2015 3:36 pm

Add the condition is overlapping

Mouse on left button clicked
mouse is overlapping cookie
> create object

Or

mouse on object clicked cookie
> create object
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed May 13, 2015 9:19 am

thx
B
7
S
1
Posts: 16
Reputation: 561


Return to How do I....?

Who is online

Users browsing this forum: Shenkai the ssj and 28 guests