How do I Allow Player Edit Pixel Art

Get help using Construct 2

Post » Mon Apr 11, 2016 5:08 pm

So I have a sprite sheets already with images on them. Well together its one image, and its pixel art. I was curious if anyone knew a way to edit that PNG file in an app made with construct 2, and allow them to save the newly edited image? It would have to be edited pixel by pixel though, and only pieces of the sprite sheet at a time, like sections of it as each section has a different association with the i image.

Imagine a cardboard cutout of a box template. How it looks nothing like a box when its not folded together. That is the kind of sprite it is. So it looks like a flat 3d object, and each of the sections can be colored and changed individually.
B
9
S
3
Posts: 50
Reputation: 804

Post » Mon Apr 11, 2016 7:58 pm

There is a canvas plugin that you can use to draw. The system action snapshot canvas can take a screen shot, which can then be downloaded with the browser object or saved with nw.js.
Mistakes were made.
B
51
S
25
G
107
Posts: 1,581
Reputation: 60,458

Post » Mon Apr 11, 2016 11:32 pm

It's impossible to edit a PNG file for the game in the runtime, I think. You can use the canvas plugin like oosyrag said, but if you want your player to draw something in pixel art I'd recommend the tilemap plugin.
B
123
S
43
G
41
Posts: 847
Reputation: 28,206


Return to How do I....?

Who is online

Users browsing this forum: evillair, plinkie, YoHoho and 10 guests