It has been a very busy week but things are getting better with the Mystic Framwork animation system that will power my games. This is the logo for the framework for the XBOX360 and Windows.
the test play will start soon to verify that all modules are working correctly so I can focus later on puzzles and animations for Elem3ntz! game.
Monday, October 8, 2012
Monday, October 1, 2012
Inverse Kinematics...
It has been a very exciting month, decided to take a little break and see what the world has to offer, and end up playing a few games in rush mode so I can continue development quicker, I got attached to FTL (Faster Than Light) and think it is a nice game beat it with most ships but got tired after 6 days of playing it, then moved to TorchLight2 and I wanted to see what's the difference between Diablo3 and Torchlight2, I just rushed through it, and finishing it during the weekend, and it is worth every penny, but I feel I lost a lot of its content by just playing alone and just rushing to the next dungeon or area without reading much, just kill and go to the next star, didn't spent a lot of time trying to find what skill to use or what gear to use , I just kept upgrading as long as the stats were higher. I only played Diablo3 during the Beta and I didn't feel things were right, compare to Torchlight I think things are a little bit better but I do not recall much of it, not many memorable battles, maybe I should have played slowly trying to digest the content... maybe I spent too much time with Diablo2 in the past and T2 just went through a flashback, anyway, finally spent a few days doing XBLIG playtesting of many great Indie games, looking at other's master pieces inspire me to do better.
So, now back to Elem3ntz! and the animation editor, about a month I got stuck trying to find a nice way to implement Inverse Kinematics since I got a lot of trouble trying to animate characters while standing in one place, it is easier if everything is in motion but not so much when you want to pin both legs and balance the body while juggling with hands, finally I figure out how to integrate the IK system developed before the gaming sessions into the animation framework, a video will be uploaded for you to see once I finish updating the UI to enable interactive IK on screen. I am still wondering what should be the best approach for games under XBOX, I haven't tested yet if the IK solution will run on XBOX360 without using lots of resource, probably I will find out that soon, but at least there is a backup plan for that, the IK solution can be baked easily into keyframes so in both cases the IK solution will still work with good performance.
So, now back to Elem3ntz! and the animation editor, about a month I got stuck trying to find a nice way to implement Inverse Kinematics since I got a lot of trouble trying to animate characters while standing in one place, it is easier if everything is in motion but not so much when you want to pin both legs and balance the body while juggling with hands, finally I figure out how to integrate the IK system developed before the gaming sessions into the animation framework, a video will be uploaded for you to see once I finish updating the UI to enable interactive IK on screen. I am still wondering what should be the best approach for games under XBOX, I haven't tested yet if the IK solution will run on XBOX360 without using lots of resource, probably I will find out that soon, but at least there is a backup plan for that, the IK solution can be baked easily into keyframes so in both cases the IK solution will still work with good performance.
Saturday, August 25, 2012
Sometimes I think I should read more but there is no time...isn't it?
I spent many days this week trying to get the XML load/save functionality of scenes and got that working in a very complex way, took me 24 hours this week to make the code to work and still it lacks some functionality around the animation settings and physics, suddenly, something came to my mind and it ticked in my mind thinking why there isn't any solution already build in the XNA framework to handle all this for me instead of me writting thousands of lines of code to format and properly create THE XML file I am looking for.... and in a matter of 2 minutes after thinking I found this:
XmlWriterSettings xmlSettings = new XmlWriterSettings();
xmlSettings.Indent = true;
using (XmlWriter xmlWriter = XmlWriter.Create("testAniPack.xml", xmlSettings))
IntermediateSerializer.Serialize(xmlWriter , animationPack , null);
may not seem very big, but this replaces the thousands of lines I wrote this week with just 4 lines. Wasted too much time to replicate something that already exists, at least I am glad I found this because the missing part is too complicated to do it manually and the animations are already running very smoothly, hope to be able to show up something very soon once I finish removing all this week's work and replace it by a few more lines of code. At least this made me very happy this weekend so I can work more on the physics portion.
XmlWriterSettings xmlSettings = new XmlWriterSettings();
xmlSettings.Indent = true;
using (XmlWriter xmlWriter = XmlWriter.Create("testAniPack.xml", xmlSettings))
IntermediateSerializer.Serialize(xmlWriter , animationPack , null);
may not seem very big, but this replaces the thousands of lines I wrote this week with just 4 lines. Wasted too much time to replicate something that already exists, at least I am glad I found this because the missing part is too complicated to do it manually and the animations are already running very smoothly, hope to be able to show up something very soon once I finish removing all this week's work and replace it by a few more lines of code. At least this made me very happy this weekend so I can work more on the physics portion.
Monday, August 20, 2012
Summer is blazing hot this year and to make the heat even higher some updated pics
Just a few snaps of the editor, the Mystic Framework will power Elem3ntz! game animations, and so far it is working extremelly well, with bones, vertex animation, cloth simulator and other small tricks under the hood.
A snap of the work in progress 2D editor, not just simple bones can be added but way more things that I will show up later in a video once I finish the saving/loading code, which will take a few more days to finish. And after that, add the fluid livelike 2d animations into Elem3ntz! game.
This is the wireframe view, basically it works like a 3D tool but designed with specific tools for 2D and each parameter can be independently animated, something I couldn't find in any free solution which is a must for very complex animations. Also includes a 2d scene animator editor for very much complex animation clips.
![]() | ||||
| Mystic Editor |
This is the wireframe view, basically it works like a 3D tool but designed with specific tools for 2D and each parameter can be independently animated, something I couldn't find in any free solution which is a must for very complex animations. Also includes a 2d scene animator editor for very much complex animation clips.
Thursday, July 19, 2012
Animation Composer development
I am quite exited now, made a lot of progress in the past few weeks and seems that the skeleton of the framework is somehow working now, still many things to add but I can show small peek.
Somehow it is becoming easier and easier now to understand where is it going, at least I can do some minor facial animation now with complete control of the textures and deformations, still working in a better time line display since I couldn't find anything that could fit the editor. Will post a video later when I have a complete animation rigged and animated, still is quite difficult at this moment since the preview is not running in real time due to the WPF udates that makes it run slower than 60 FPS, but without it it runs smoothly.
Somehow it is becoming easier and easier now to understand where is it going, at least I can do some minor facial animation now with complete control of the textures and deformations, still working in a better time line display since I couldn't find anything that could fit the editor. Will post a video later when I have a complete animation rigged and animated, still is quite difficult at this moment since the preview is not running in real time due to the WPF udates that makes it run slower than 60 FPS, but without it it runs smoothly.
Sunday, July 1, 2012
Animation editor
I've been busy trying to improve the character's animations in Elem3ntz! game and became a not so easy task, maybe many of you have seen the UBI Art Framework in action with Rayman's Origins and UBI mentioned that will be open source, so far I waited around 2 years and still no news and no updates from their side, so I gave up waiting for them and I don't have the luxury of time to keep waiting forever, so I decided to make one myself.
So where am I am now? check this picture below
Still far from being a complete solution, and I couldn't see much in UBI framework video, so I make some assumptions and try to find the best way to do animations for games. So basically it will manage patches with UV texturing, probably same as UBI's, and bones. Something I haven't seen before is vertex animation so this framwork supports that, multiple textures per patch, and thinking to add soft body dynamic per vertex, this sounds strange since most of the softbody dynamic solutions do work on the whole solid, but again, this is mainly used to animate 2d patches to add small details, this is not a physics engine , but this can help animate deformations withouth actually having to move tons of bones or vertices to get the desired result, don't look yet at the section in soft body dynamics since is a WIP still.
Now thinking what is best to resolve a trival question, do a patch have bones or do the bones should have patches?, this is a very hard question to answer by myself yet, 3d packages define meshes and you attach bones to those meshes, in 2d animation it makes sense to have those meshes defined as patches and attach bones to deform the patch, on the other side, you can also have a bone that can deform multiple patches since in 2d as you can imagine it is very likely to have multiple patches not just a single mesh, and get all of them deformed by just a single bone. So probably I will enable a bi-directional relationship between bones and patch's vertices so it can work both ways. Still need to test this solution, wondering how UBI solved this, or maybe I am over-complicating things :) , any way, things are moving slowly lately but making great progress. Elemen3ntz! game is almost completed but I want to deliver better animations for the final product, I don't want it to look like cheap flash animations.
I will post a video of the editor once I complete the bones part, which will take around 2 weeks.
So where am I am now? check this picture below
Still far from being a complete solution, and I couldn't see much in UBI framework video, so I make some assumptions and try to find the best way to do animations for games. So basically it will manage patches with UV texturing, probably same as UBI's, and bones. Something I haven't seen before is vertex animation so this framwork supports that, multiple textures per patch, and thinking to add soft body dynamic per vertex, this sounds strange since most of the softbody dynamic solutions do work on the whole solid, but again, this is mainly used to animate 2d patches to add small details, this is not a physics engine , but this can help animate deformations withouth actually having to move tons of bones or vertices to get the desired result, don't look yet at the section in soft body dynamics since is a WIP still.
Now thinking what is best to resolve a trival question, do a patch have bones or do the bones should have patches?, this is a very hard question to answer by myself yet, 3d packages define meshes and you attach bones to those meshes, in 2d animation it makes sense to have those meshes defined as patches and attach bones to deform the patch, on the other side, you can also have a bone that can deform multiple patches since in 2d as you can imagine it is very likely to have multiple patches not just a single mesh, and get all of them deformed by just a single bone. So probably I will enable a bi-directional relationship between bones and patch's vertices so it can work both ways. Still need to test this solution, wondering how UBI solved this, or maybe I am over-complicating things :) , any way, things are moving slowly lately but making great progress. Elemen3ntz! game is almost completed but I want to deliver better animations for the final product, I don't want it to look like cheap flash animations.
I will post a video of the editor once I complete the bones part, which will take around 2 weeks.
Tuesday, June 12, 2012
DBP2012 entry
Just a quick update, this is the link to the DPB2012 game entry of Elemn3ntz!
Subscribe to:
Posts (Atom)




