|
|
| Animation system showoff video |
|
Dario ff
Member #10,065
August 2008
|
I'm building a new animation system in my actual project, and it performed so well, that I'm proud of it and need to show it to the world The character is bodyless. It's like that because of creative, story and gameplay reasons. This isn't the main character, it's just an NPC. A rush of inspiration came after seeing my NPC move like this, even if animations aren't polished at all As you can see, the big pro is the ability to interpolate from the actual position to the next keyframe, removing the need of making pose-to-pose extra animations, and letting the engine take care of it. Of course, it ain't hard to do this stuff, but it takes some time to develop a good editor and make it easy to use. Here's a screen of the unorganized, undetailed editor, but that can be arranged my moving the windows: {"name":"600585","src":"http:\/\/static.allegro.cc\/image\/cache\/e\/1\/e1926ee2e41b5f11f91b5511633b3b95.jpg","w":1024,"h":619,"tn":"http:\/\/static.allegro.cc\/image\/cache\/e\/1\/e1926ee2e41b5f11f91b5511633b3b95"} Most of you should've figured out by now how the engine works by watching the video and the screenshot. Note each object supports playing their own animations by changing the bitmap(watch for the character blinking in idle animation). Do you think it's a cool system to develop characters and other objects in a game? It saves me a lot of time from rendering various animations, and it has performed great so far. I'd like to hear from any cool addition you might think off(don't even think about skeletal animations TranslatorHack 2010, a human translation chain in a.cc. |
|
OnlineCop
Member #7,919
October 2006
|
Very nice rag-doll physics, collision detection, and overall work! -- |
|
Yodhe23
Member #8,726
June 2007
|
If I was a "rich" game developer I would hire you! Amazing stuff in my opinion, and tbh a higher degree calibre than I am used to seeing. |
|
Dario ff
Member #10,065
August 2008
|
Thanks for the comments Yodhe23 said: If I was a "rich" game developer I would hire you!
Sorry, indie all the way Quote: Amazing stuff in my opinion, and tbh a higher degree calibre than I am used to seeing. Just imagine when the animations are polished. You'd barely notice the passage from one animation to another. If any of you're interested in trying it out on your PCs, I might upload a binary(No source, top secret!) TranslatorHack 2010, a human translation chain in a.cc. |
|
piccolo
Member #3,163
January 2003
|
love it. i was working on somthing just like it my demo was hard coded and not as nice looking as yours. i also wanted to take it a step forward and have 3d modle to 2d sprite so i can have any view i wanted and also re-use animation used bone animation wow |
|
Tomoso
Member #3,128
January 2003
|
|
Jesse Lenney
Member #8,356
February 2007
|
Whoa! Nice work! --- |
|
Dario ff
Member #10,065
August 2008
|
piccolo said: i also wanted to take it a step forward and have 3d modle to 2d sprite so i can have any view i wanted and also re-use animation used bone animation
Anybody with piccoloish language skills that could translate? I suppose you said something good, and then you mourned about an older project of yours. Tomoso said: I wouldn't mind taking a peek just to be nosey I'll arrange some stuff and upload it. TranslatorHack 2010, a human translation chain in a.cc. |
|
Arthur Kalliokoski
Member #5,540
February 2005
|
piccolo said: i also wanted to take it a step forward and have 3d modle to 2d sprite so i can have any view i wanted and also re-use animation used bone animation I also wanted to take it a step forward and capture 3d models using bone animation to 2d sprites so I could easily have any pose I wanted. Google Translate is teh awesome!!111 I really admire the U.S. Constitution. It's so much better than what we have now. |
|
Kevin Adrian
Member #7,087
April 2006
|
Congratulations to you for that professional work My mouth will speak words of wisdom; the utterance from my heart will give understanding. (Psalm 49:3) |
|
GullRaDriel
Member #3,861
September 2003
|
Yeah, that dario is tha man. Impressive works, keep it going ! "Code is like shit - it only smells if it is not yours" |
|
Dario ff
Member #10,065
August 2008
|
Thanks for the comments very much TranslatorHack 2010, a human translation chain in a.cc. |
|
Felix-The-Ghost
Member #9,729
April 2008
|
Reminds me of something someone in my class would make with Flash+ActionScript. ============================= |
|
Fishcake
Member #8,704
June 2007
|
Great job! I envy your programming skills.
|
|
Billybob
Member #3,136
January 2003
|
dario ff said: I was impressed that some of you considered this to be of "professional" quality. Really? I concur with everyone else. Top notch stuff! One cool idea came to my mind while watching the video. It'd be neat if the character's body bounced a little when he goes to prone. As if he hits the ground really hard and fast and so his whole body bounces upward just a little bit. Just a little extra detail to make it smooth and realistic. _________________________________________________ |
|
Dario ff
Member #10,065
August 2008
|
Felix-The-Ghost said: I mean the parts themselves don't animate huh? Eewww, that's one ugly flash game. Quote: They just move around a body...force? Of course, there's an invisible body in the middle. Otherwise, the joints wouldn't be able to attach well, and you'd surely see glitches. Fishcake said: Great job! I envy your programming skills.
It's not really skills, you just gotta push yourself to do something for once and for all. I had been thinking about this for months, and it took me only a couple of days to implement. Thanks for the compliment Billybob said: One cool idea came to my mind while watching the video. It'd be neat if the character's body bounced a little when he goes to prone. As if he hits the ground really hard and fast and so his whole body bounces upward just a little bit.
He goes prone that fast because of a duration variable I set when interpolating. The cool stuff is, that if I want to make a slow-motion mode, because the animations are composed by keyframes, it'd look smooth always(as long as floating points have enough precision But thanks for the detail, though it's most likely none of these animations are going to be in the final model(or I'll just build on top of them TranslatorHack 2010, a human translation chain in a.cc. |
|
Paul whoknows
Member #5,081
September 2004
|
Truly impressive! ____ "The unlimited potential has been replaced by the concrete reality of what I programmed today." - Jordan Mechner. |
|
Dario ff
Member #10,065
August 2008
|
Paul whoknows said: do you have a game of yours already using these animations?
Nope, because I'm still writing other parts of the game engine. Once I finish that, I'll get working on the game. Just for testing how it looks, I used one of the future NPCs Quote: BTW, what GUI are you using? did you write the GUI yourself? It's my GUI engine. Took me some time to write it, and it works great. TranslatorHack 2010, a human translation chain in a.cc. |
|
cheatscanner
Member #11,712
February 2010
|
dario ff said: It's my GUI engine. Took me some time to write it, and it works great Man, what did you use to write it? Like, which libraries I mean? DirectX? Allegro? none of the above? sigh I could never hope to be that awesome... =/. Just the physics system of your animations impressed me. Man, I don't even know the definition of interpolation... Scratch that, looked it up. You wrote something this awesome? Oi... I knew I was a noob in comparison to the majority of the people here, but thats way out of my league man. I guess all I can say is keep up the great work, eh? -cheat |
|
Tomoso
Member #3,128
January 2003
|
cheatscanner said: sigh I could never hope to be that awesome...
Don't put yourself down just because someone made some thing you couldn't, it should just make your more motivated to do better \ learn more! I always think that if I were the best programmer in the world, everyone else below me would be just about putting together Hello World, and then how crappy would life be? And besides you shouldn't say you can't do something if you haven't tried (unless it's like flying, teleporting, moving stuff with your mind - come on we've all tried that at one point). Don't be disheartened, be committed Lazy Noob - Blog |
|
Dario ff
Member #10,065
August 2008
|
@cheatscanner: I appreciate the praise, but it shouldn't be directed to me. I'm not much of an experienced programmer(not even close to how awesome some guys are here, who have had years of professional experience). And this system isn't anything overly complex. I think most of the people that saw it here has a pretty good idea of how it works. And there's something I read once in these forums that's really good advice: Quote: It's easy to say you can do something. You don't really know until you've done it.
Credits go to bamccaig for the quote, though Thomas gave the idea first Tomoso said: (unless it's like flying, teleporting, moving stuff with your mind - come on we've all tried that at one point).
Hehe, did I tell you the powers the player will obtain during the game? Quote: After seeing the screen for Dario's sexy GUI it gave me motivation to carry on and make mine a lot better than what I originally had in mind for it
This happened to me way too much over these years. It happened some days ago with this video. That's way out of my league too, but someday I'll try to best it. TranslatorHack 2010, a human translation chain in a.cc. |
|
Tomoso
Member #3,128
January 2003
|
dario ff said: This happened to me way too much over these years. It happened some days ago with this video. That's way out of my league too, but someday I'll try to best it. No doubt you will write a wrapper function for it in Allegro. al_draw_sexy_2d_image_with_real_time_lighting_heightmaps_etc(ALLEGRO_BITMAP* some_crap_2d_programmer_sprite_to_convert); =D Lazy Noob - Blog |
|
Dario ff
Member #10,065
August 2008
|
Get out of my mind Tomoso TranslatorHack 2010, a human translation chain in a.cc. |
|
m c
Member #5,337
December 2004
|
Cool stuff. You must have been busy lately Dario.. (\ /)_____#_____####__# |
|
Dario ff
Member #10,065
August 2008
|
Thanks m c. I wish I've been more busy programming these days. I'm enjoying my last days of holidays, so I haven't made much progress. I need to get a map editor running now. TranslatorHack 2010, a human translation chain in a.cc. |
|
|