as a user can draw your own sprites

Get help using Construct 2

Post » Fri Dec 21, 2012 9:36 pm



I want the user to edit their characters by drawing

and play with them

tnks!!!
B
12
S
4
G
4
Posts: 138
Reputation: 3,710

Post » Fri Dec 21, 2012 11:20 pm

If your going this route I would suggest

Canvas plugin
Use Spriter/SCML container for onion skinning
When drawing the character segment the drawing into boxes
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Fri Dec 21, 2012 11:38 pm

It seemed like an interesting challenge so I decided to have a go at solving your request.

Here you go: https://dl.dropbox.com/u/14522925/SpriteDrawing.capx

It's not perfect - the captured image seems to be offset for some reason but it's late and I don't have the energy for bug hunting :P

Still, it should get you off to a good start. Should be simple enough to figure out but let me know if you're confused about anything. It basically uses canvas snapshot but first sets up the scene to capture just a small area (the working area). Just FYI, the wait 0 seconds seems to be required, otherwise the capturing doesn't work properly.
B
56
S
15
G
10
Posts: 910
Reputation: 11,972

Post » Sat Dec 22, 2012 12:13 am

@GeometriX ist goood!!!!!!!!!!!!!
B
12
S
4
G
4
Posts: 138
Reputation: 3,710

Post » Sat Dec 22, 2012 7:17 am

@tianxxxchris Cool, glad to be of help :) I'm also still learning C2 so it was a good opportunity to stretch my brain and learn some new functions.
B
56
S
15
G
10
Posts: 910
Reputation: 11,972


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 19 guests