animation in 2D fighting game

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
ikk
Posts: 8
Joined: Sat Jun 03, 2006 6:13 pm
Contact:

animation in 2D fighting game

Post by ikk »

Im creating a 2D fighting game.
Which objects i could use to represent sprites?

Can anyone could give me advise which scene node to use
and how to store animations.

for example do i nedd to use single mesh and then set texture for each frame, or to use separate mesh for each frame with texture already set?

previously i was using draw2dImage methods but i think i need do this using flat meshes.
Legion
Posts: 15
Joined: Sun Oct 29, 2006 5:03 pm

Post by Legion »

In my game i wrote a new scenenode for animated sprites. (based on the standard billboard scenenode)
Which can do frame animation, translations(x,y) since sprites have virtual depth, scaling etc.
Hm maybe i should separate it from my game and write up a tutorial.
Since it might be useful for more peeps than me.

Depending on your needs you could use the defacto billboard scenenode.
As long as you write an animator that can flip textures (and maybe resize the node, if all textures aren't of the same size).
Nodtveidt
Posts: 67
Joined: Fri Dec 15, 2006 4:41 am
Location: Isabela, PR
Contact:

Post by Nodtveidt »

Legion, I think that would be a good addition to the tutorial collection, go for it! :D
We all live in a yellow subroutine.

(\__/)
(='.'=) Copy bunny into your signature to
(")_(") help him gain world domination.
trnrez
Posts: 28
Joined: Wed Dec 27, 2006 5:56 pm
Location: Murfreesboro, TN
Contact:

Post by trnrez »

I think writing up that tut would be awesome...seeing as i'm about to do just that it would help out immensly.
Post Reply