Jump to content


Photo

Easy Animation Maker


  • Please log in to reply
52 replies to this topic

#1 RTII

RTII

    RT

  • New Member
  • 402 posts

Posted 27 March 2010 - 01:03 PM

Sometimes when I need to make a character for a game, the difficult part I find is actually drawing the character. Therefore I made a very simple program that edits frames of an animation. I kept working on it and this is what it has become: Easy Animation Maker.
It is really simple: add a few objects, select their images, add a few frames and place the objects at the positions you want them. Then export and it's ready to use in your games!

Screenshot:
Posted Image

Download:
YoYo Games

Note: this program uses surfaces. Older computers may give strange results.

Please post any bugs or suggestions!

HELP NEEDED
I use a surface to draw the frame on, this way:
surface_set_target(<surface id>)
draw_clear_alpha(c_fuchsia,0)
//draw images
surface_reset_target()
When I draw/save it the alpha gets messed up with partially transparent sprites (it doesn't blend); I tried several blend modes but it doesn't work.
I found a few topics about this problem and they all got answered by complicated stuff I don't understand.
So, if anyone can show me a working method, he/she will be credited and I can continue making this program.

Edited by RobinT, 02 June 2010 - 02:00 PM.

  • 1

#2 Nikc-Nack

Nikc-Nack

    GMC Member

  • GMC Member
  • 2141 posts

Posted 27 March 2010 - 02:14 PM

That's pretty nice! Good work! :medieval:
  • 0

#3 LoopStan

LoopStan

    North-See Developer

  • GMC Member
  • 1398 posts

Posted 27 March 2010 - 06:28 PM

This seems to be pretty much the same thing as what gm has...?
  • 0

#4 RTII

RTII

    RT

  • New Member
  • 402 posts

Posted 27 March 2010 - 07:20 PM

This seems to be pretty much the same thing as what gm has...?

But this is way faster and easier and it can set the depth of objects.

EDIT:
Update!
Added preview panel which plays the animation
Fixed some issues with switching between frames
Fixed a serious bug with objects not being selectable in new frames
When exporting the animation, the frame dimensions are now added automatically
Replaced the cheap screenshot with my own 'artwork' :medieval:

Edited by RobinT, 28 March 2010 - 03:37 PM.

  • 0

#5 LoopStan

LoopStan

    North-See Developer

  • GMC Member
  • 1398 posts

Posted 28 March 2010 - 09:04 PM

Ahh ok, that makes more sense :) It seems cool! More people need to see this, it's very helpful.
  • 0

#6 RTII

RTII

    RT

  • New Member
  • 402 posts

Posted 29 March 2010 - 07:02 PM

Updated:
- The background can now be set to a custom color or block pattern
- You can now see which object is selected by moving the mouse over the Animation button
  • 0

#7 jbeave

jbeave

    GMC Member

  • New Member
  • 107 posts

Posted 29 March 2010 - 08:01 PM

This seems like a neat little program, but can you elaborate on how to do stuff with it? Like maybe post a short, simple tutorial? All I'm able to do is move and rotate whatever I load into it, that's all I got from the Quick Start Guide.
  • 0

#8 RTII

RTII

    RT

  • New Member
  • 402 posts

Posted 30 March 2010 - 10:27 AM

This seems like a neat little program, but can you elaborate on how to do stuff with it? Like maybe post a short, simple tutorial? All I'm able to do is move and rotate whatever I load into it, that's all I got from the Quick Start Guide.

Thanks for the suggestion, I will probably add that in the next version.

EDIT
- Fixed a serious bug which leads to an error when loading.

Edited by RobinT, 30 March 2010 - 06:34 PM.

  • 0

#9 Ace

Ace

    GMC Member

  • GMC Member
  • 372 posts

Posted 03 April 2010 - 02:28 AM

Add an object, select its sprite from a file, left click to move around the object, right click and drag to rotate it, then add a new frame if you want. When you're done you save the file. A simple but effective program. I only wish it could handle the PNG files correctly. Aside from that, can you make rolling the mouse wheel change between frames? Like rolling up will move forward, and down moves backwards a frame?
  • 0

#10 RTII

RTII

    RT

  • New Member
  • 402 posts

Posted 04 April 2010 - 10:50 AM

Add an object, select its sprite from a file, left click to move around the object, right click and drag to rotate it, then add a new frame if you want. When you're done you save the file. A simple but effective program. I only wish it could handle the PNG files correctly. Aside from that, can you make rolling the mouse wheel change between frames? Like rolling up will move forward, and down moves backwards a frame?

OK, I will make that. And I will add zooming with Ctrl+Mousewheel too.
I am unsure if I will complete making the tutorial.
And can someone please help me with the PNG problem described in the fisrt post? YOU WILL BE CREDITED!

EDIT: I have added the mousewheel functions, and also some keyboard shortcuts. Thanks for your suggestion Ace!

Edited by RobinT, 04 April 2010 - 03:53 PM.

  • 0

#11 Nikc-Nack

Nikc-Nack

    GMC Member

  • GMC Member
  • 2141 posts

Posted 05 April 2010 - 01:39 AM

KEEP WORKING ON THIS! I'm using it insanely! Please keep improving!!!!!
  • 0

#12 RTII

RTII

    RT

  • New Member
  • 402 posts

Posted 05 April 2010 - 07:12 PM

KEEP WORKING ON THIS! I'm using it insanely! Please keep improving!!!!!

Wow, thanks! I will keep working on this. Do you have any suggestions to make it better? Maybe I will add scrollbars someday, but not for now.
  • 0

#13 Nikc-Nack

Nikc-Nack

    GMC Member

  • GMC Member
  • 2141 posts

Posted 05 April 2010 - 08:16 PM

Possibly an interanle sprite editor, but that is not neccicarry at all!
Maybe some premade body parts.
  • 0

#14 Lewis Cross

Lewis Cross

    Artist

  • GMC Member
  • 998 posts
  • Version:GM:Studio

Posted 06 April 2010 - 03:43 PM

HELP NEEDED
I use a surface to draw the frame on, this way:
CODE
surface_set_target(<surface id>)
draw_clear_alpha(c_fuchsia,0)
//draw images
surface_reset_target()
When I draw/save it the alpha gets messed up with partially transparent sprites (it doesn't blend); I tried several blend modes but it doesn't work.
I found a few topics about this problem and they all got answered by complicated stuff I don't understand.
So, if anyone can show me a working method, he/she will be credited and I can continue making this program.

I started making a paint program using surfaces (see my signature), and I have the same problem.. I think it is just a thing about surfaces, they seem to use the alpha given too them.
  • 0

#15 RTII

RTII

    RT

  • New Member
  • 402 posts

Posted 07 April 2010 - 07:07 PM

Update:
- Added more keyboard shortcuts
- Slightly improved the graphics of some GUI elements
- The editor now correctly draws alpha-blended images, but unfortunately, the exported images still don't.
- Because of the new drawing system, the block pattern background (if enabled) will be stretched when zoomed in. I know this is a little inconvinient, but it seems impossible to fix.

EDIT:
Small update: you can now resize the frames.

Edited by RobinT, 08 April 2010 - 07:11 PM.

  • 0

#16 smudge123

smudge123

    Smudge Games

  • GMC Member
  • 180 posts
  • Version:GM:Studio

Posted 09 April 2010 - 09:24 AM

This is great!! :P A really useful software. Keep up the good work!! :)
  • 0

#17 RTII

RTII

    RT

  • New Member
  • 402 posts

Posted 10 April 2010 - 05:08 PM

Update:
- Fixed a serious bug with objects in new frames showing at zero position and being unselectable (again)
- Added scrollbars
- Added link to this topic in the Help menu
- Added version number in Info dialog
- Again, slightly improved the graphics of some buttons (who cares)
  • 0

#18 FRIDG3

FRIDG3

    GMC Member

  • New Member
  • 275 posts

Posted 10 April 2010 - 08:56 PM

this program ROCKS!

There's only one thing i want: the ability to move object behind other, and in front

i.e. "Sent to Back" and "Bring to Front" commands
  • 0

#19 RTII

RTII

    RT

  • New Member
  • 402 posts

Posted 11 April 2010 - 07:54 AM

this program ROCKS!

There's only one thing i want: the ability to move object behind other, and in front

i.e. "Sent to Back" and "Bring to Front" commands

You can change the depth of the objects by selecting Options > Send Selected Objects to Front. But good idea and I will see if I can these features.

EDIT:
Update:
- Added 'Sent to Back' and 'Bring to Front' commands, thanks to FRIDG3
- You can now restore objects exidently placed outside the view

Edited by RobinT, 11 April 2010 - 12:03 PM.

  • 0

#20 RTII

RTII

    RT

  • New Member
  • 402 posts

Posted 12 April 2010 - 07:25 PM

Update:
- The working file is now shown in the title bar
- When saving, it now shows a preview for images and asks you for confirmation on overwrite
- Changed some stuff in the help file
- New icons
  • 0

#21 Nikc-Nack

Nikc-Nack

    GMC Member

  • GMC Member
  • 2141 posts

Posted 12 April 2010 - 10:47 PM

This just keeps getting better!
  • 0

#22 Nikc-Nack

Nikc-Nack

    GMC Member

  • GMC Member
  • 2141 posts

Posted 16 April 2010 - 01:23 AM

This program deserves a free bump! I'm even using it right now!
  • 0

#23 RTII

RTII

    RT

  • New Member
  • 402 posts

Posted 16 April 2010 - 05:46 AM

Thanks! ;) :D
  • 0

#24 linus371

linus371

    Cactus Games

  • New Member
  • 574 posts

Posted 26 April 2010 - 04:15 PM

make some sort of youtube tutorial video ;)
Cuz i have no idea what to do xD
  • 0

#25 RTII

RTII

    RT

  • New Member
  • 402 posts

Posted 27 April 2010 - 01:22 PM

make some sort of youtube tutorial video :)
Cuz i have no idea what to do xD

Sorry, I'm a bit lazy with explaining stuff, but the 'quick start guide' might help. I still have the ~25% completed tutorial on my pc for a long time and just don't have the patience to complete it. If anyone wants to make a tutorial, post/PM me the link and I will include it in the program and credit you.
  • 0

#26 Raster

Raster

    GMC Member

  • GMC Member
  • 514 posts

Posted 30 April 2010 - 11:53 AM

Well, I downloaded it and played around with it. It'll be REALLY useful whenever you can figure out how to get the Alpha to work. As it is right now, I have an character animation with several parts, animated it, saved it, then loaded it in Photoshop to find that there were transparent areas around each of the parts. Apparently, the Alpha of the object above was over-riding the alpha below, making it look like this:
Posted Image

This is the feature I am rooting on the most. If you can fix that, this will be awesome and extremely useful! :P

Also, if there was some way to make an Undo option, that would be wonderful. It becomes very time consuming when you accidentally right click on an object and it spins to some wacky position and then you have to carefully rotate it back to the original position. A possible option would be when something is changed to save all of the variables for angles and position etc. Then when undoing load them all back. You could make 10 sets of variables that rotate out which would allow up to 10 undos. :P Of course this is just theoretical on my part. Haven't tried to code something like that for awhile. :P Not quite sure how hard that would be, there may be an easier way to do the Undo option.

Another Nice feature would be the ability to scale or stretch an object! It would help allot for my breathing animation. lol
Might also be nice to be able to select multiple objects at once by holding shift and clicking or something.

PS: I generally use graphics gale for animation, but I have to say that I find the concept of using easily rotatable objects instead of seperate layers to be much faster! Thanks! And yes, that's the Character form of my avatar image. :unsure:

Edited by Raster, 30 April 2010 - 12:16 PM.

  • 0

#27 RTII

RTII

    RT

  • New Member
  • 402 posts

Posted 02 May 2010 - 10:12 AM

Thanks for your comments.
Alpha blending: I can't possibly fix it. I tried everything I could.
Rotating: you can reset the angle directly via the Animation menu.
Undo: I'm not sure if I will make that.
Scale objects: would be difficult with rotated objects!
  • 0

#28 GameDevDan

GameDevDan

    YoYo Games Staff

  • Administrators
  • 1214 posts
  • Version:GM:Studio

Posted 04 May 2010 - 05:06 PM

Awesome program, very professional without many bugs. This would be great for people completely new to spriting. (for animating limbs etc)

I would say though - It needs a "look." You're using the GM default Icon and Loader at the moment, but If you had an instantly recognisable logo of your own it would complete the tool.
  • 0

#29 RTII

RTII

    RT

  • New Member
  • 402 posts

Posted 09 May 2010 - 10:58 AM

Update:
- New icon, loader and again some visual improvements
- Objects can now be scaled
- There is an option to remove the background from images
- A folder with a few sample images is now included
Because of these changes the filetype has been changed, so files created with older versions will not open correctly in this version.
  • 0

#30 RTII

RTII

    RT

  • New Member
  • 402 posts

Posted 16 May 2010 - 10:35 AM

Update: fixed a bug which caused the copy-paste functions to ignore scaled objects.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users