Modellus new animated characters
April 24, 2010
Thanks to Feel Fine who has given us all their assets from their funny game Sweet Dreams (available on the IPhone) for free, we were able to add a bit more fun for kids learning science subjects through the use of Modellus.
On a technical aspect I don’t think there is much to say because I found things rather easy, the hardest part was retouching the images to fit nicely on Modellus format.
For every animation i use something like this Timeline :
var animationX:Timeline = Timeline {
repeatCount: Timeline.INDEFINITE
keyFrames: [
KeyFrame {
time: 0s
},
KeyFrame {
time: 1s / fpsPerSecond
action: function()
{
currentFrameIndex = (currentFrameIndex + 1) mod (sizeof frames); // change frame index
currentImage = frames[currentFrameIndex]; // change currentImage which is bound to an ImageView image property
if (currentSelectedFramesIndex == (sizeof selectedFrames) - 1)
{
// This is the final frame. I'm just going to stop the animation
animationX.stop();
}
}
}
]
};
You can see the new characters in action on the following video – the animations are actually much smoother than in the video (don’t know why):
If you’re a designer and would like to contribute some of your work: icons, animations, etc to Modellus please contact me (we don’t have the necessary time to create them) – mail is on the about page. Modellus is a free tool, used all around the globe, which aims to aid teaching of science subjects. Please help us shape the future of teaching making it more fun and less abstract. Your work will be credited and will obviously still remain your property.
April 24, 2010 at 10:48 pm
Cool!!!!
Your app is amazing!!!
April 25, 2010 at 4:26 am
Thanks William!
April 25, 2010 at 8:51 pm
[...] Duque Vieira has blogged about adding animated characters to the Modellus project he is working. Of additional interest is that this application is a merging of Swing and JavaFX. [...]
April 26, 2010 at 6:28 am
Excellent work keep it up
April 28, 2010 at 3:15 pm
Hey Pedro,
This is awesome! Amazing work! You app rocks
Cheers!
-Alex
P.S. I’d love to see more posts about how you accomplished Swing + JavaFX integration!
April 28, 2010 at 3:35 pm
@Alex @Farrukh
Thanks a lot! Very glad you enjoyed it
@Alex
Sure, I’ll start writing about it. Right now I don’t have much time but as soon as I can I will.
I also love what your doing with javafx testing.
Cheers.
May 28, 2010 at 3:55 am
If only more than 36 people could hear this..