character editor?

0 favourites
  • 6 posts
From the Asset Store
A simple Map Editor that where you can edit a map with restriction or totally. You can save and load the map created.
  • I was wondering if its possible to create a character editor option for games using C2.

    By an editor I mean having an option in the game in which the standard character of the game is chosen. Then a paint option pops up and people can draw and erase parts of that character and draw their own character using that template. Something like a small paint option with 5-10 colours and an eraser option. Then when the persone draws on the character and saves, this then changes the pre-existing character to the newly edited one.

    Anyone have any ideas on how this might be possible?

  • retrodude Here's a capx that I made for someone else who requested this same feature. It's not perfect (captured area seems to be offset for some reason, probably a silly one), but it has the basic idea that you want. capx

    I'd suggest that you also take a look at R0J0hound's canvas plugin for more advanced drawing tools.

    The way I see it, you have two options when the player is finished "drawing" the objects: either capture the canvas space with a screenshot (like in my capx), or capture the position/angle of the objects and recreate that fully in-game. The latter could make for some interesting custom animation if you use physics joints, but could also be very sprite-heavy, possibly to the point of slowing down the game.

  • I found the offset glitch. you move the "DrawingCanvas" to the upper left (0,0) where the canvas obviously grabs the image, but you didn't move the "DrawingBlob"

    I added the following two lines to the start of event 2s actions:

    DrawingBlob | Set X to DrawingBlob.X-50

    DrawingBlob | Set Y to DrawingBlob.Y-50

    (then I put it back after with +50s)

    Putting them all in a family and moving them all at once might work too.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ah, brilliant. Thanks Silly oversight of mine :/

    I've added those changes and re-uploaded the capx. Still here.

  • I like it, makes me want to make a Mr Potato head type avatar maker. Drag and drop parts to assemble a face, and save using Pode's Filesaver plugin.

    http://www.scirra.com/forum/demo-save-images-on-disk_topic59053.html

  • WOW amazing, thanks alot mate

    Ah, brilliant. Thanks Silly oversight of mine :/

    I've added those changes and re-uploaded the capx. Still dl.dropbox.com/u/14522925/SpriteDrawing.capx.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)