How do I draw with the mouse?

Get help using Construct 2

Post » Thu Sep 12, 2013 3:09 pm

Hello All!

I'm looking to be able to click the mouse and draw with it. Is it possible?

Thanks!
B
5
Posts: 13
Reputation: 305

Post » Thu Sep 12, 2013 3:22 pm

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 » Thu Sep 12, 2013 3:24 pm

I made a quick concept for our next game,
with

Record the location of the initial touch and have a small sprite that moves to the touch position X & Y on touch end spawn the object on the initial touch coordinates and loop a scale 1.1 of object until it collides with the small sprite.

To draw lines you can spawn an object to touch.x & touch.Y (i think) This might kill performance though


That's how i've done it i cant post the event sheet as i'm at work, but i believe this is the way to go without using addons (there may be an addon to help you)


B
10
S
2
G
1
Posts: 77
Reputation: 1,278

Post » Thu Sep 12, 2013 3:46 pm

Edited an example for making a slash-effect to create a:

draw example
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


Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, ditocruz, jatin1726, kiki4construct, Kyatric, mahdy and 31 guests