Create a simple drawing engine?

Get help using Construct 2

Post » Sat Sep 07, 2013 7:02 pm

I was considering making an Inkball clone (Haven't played? It's like pinball but you draw lines instead of use the flippers. It came with the XP Touch and Vista computers, but Microsoft scrapped it with Win7. They should have brought it back for Win8.)

But can Construct make a simple drawing system? All I need is something that lets you sketch something, and then erase it either when you hit the eraser button or when a ball hits it. (But if this idea takes off, it could become some kind of Magic Pencil game!)
B
5
S
1
Posts: 22
Reputation: 569

Post » Sat Sep 07, 2013 7:35 pm

Trying to bring it back to Win8, eh? Also, bump, I'd love to know how to do this
HARMLESS SIGNATURE THAT IS VIEWED BY OTHERS AS OFFENSIVE AND CONTROVERSIAL
B
14
S
3
G
3
Posts: 356
Reputation: 4,377

Post » Sat Sep 07, 2013 8:28 pm

try the canvas plugin
B
12
S
3
G
1
Posts: 347
Reputation: 2,866

Post » Sat Sep 07, 2013 8:52 pm

I'm unfamiliar with that. How do I use it?
B
5
S
1
Posts: 22
Reputation: 569

Post » Sat Sep 07, 2013 8:58 pm

CAPX

live example

Here, just one event. Just hold your left mouse button and draw.

You will notice it isn't very responsive when you move the mouse cursor at speed. To solve this, you need loops that update the canvas many times per tick.

Hope this helps
B
28
S
12
G
4
Posts: 193
Reputation: 4,581

Post » Sat Sep 07, 2013 9:24 pm

Hey, that's pretty cool! Thanks!
B
5
S
1
Posts: 22
Reputation: 569

Post » Sat Sep 07, 2013 9:52 pm

No problem!
B
28
S
12
G
4
Posts: 193
Reputation: 4,581

Post » Sat Sep 07, 2013 10:14 pm

Hm I was mistaken, I can't make it work using loops.

Anyone know how to make the canvas "draw point" draw smoother lines? Maybe even control the smoothness of those lines (i.e. how close the points are together)
B
28
S
12
G
4
Posts: 193
Reputation: 4,581

Post » Sat Sep 07, 2013 10:31 pm

I just downloaded the plugin needed (Thanks, R0J0hound!) but how do I install it now?
B
5
S
1
Posts: 22
Reputation: 569

Post » Sat Sep 07, 2013 10:45 pm

I'll just leave this here.
Image ImageImage
B
168
S
50
G
163
Posts: 8,221
Reputation: 105,061

Next

Return to How do I....?

Who is online

Users browsing this forum: alextro, tarek2, wenwen11212016, Yahoo [Bot] and 10 guests