Animations.....Help needed?

For questions about using Classic.

Post » Sat Dec 11, 2010 11:51 pm

I'm working on a platform 1st person shooter, and need to asign 16 different animation to the player.
The best example i can find is [u:1ecvn0rs]Deadeye's Platform School tutorial[/u:1ecvn0rs], but it doesn't have as many as sixteen.
Does anybody know how to do this?

This is a list of the animations for the player ( if possible a SWIMMING animation as well)

B
19
S
6
G
7
Posts: 1,204
Reputation: 7,296

Post » Sun Dec 12, 2010 12:19 am

You have to set them up manually with events, and it all depends on the design of your game. It could get complicated depending on what you want. Something like "fence hop", for example, would require a variable which increments, for a sort of timeline. First, it would freeze the player movement, then it would detach the animation sprite, play the animation and possibly move it over the fence (timed with the animation), then snap the hitbox back to the animation sprite. Like I said, it's really specific and depends on the design of the game. Something like I just described would give a prince of persia (not the 3d one, the old one) type of feel. Maybe you just want the animation to play when the player actually just walks over the fence. In that case you would just set the animation when the hitbox is over the fence. Think about what you want, and try to implement it.
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Sun Dec 12, 2010 11:02 am

[quote="Davioware":r9phgoa3]You have to set them up manually with events, and it all depends on the design of your game. It could get complicated depending on what you want. Something like "fence hop", for example, would require a variable which increments, for a sort of timeline. First, it would freeze the player movement, then it would detach the animation sprite, play the animation and possibly move it over the fence (timed with the animation), then snap the hitbox back to the animation sprite. Like I said, it's really specific and depends on the design of the game. Something like I just described would give a prince of persia (not the 3d one, the old one) type of feel. Maybe you just want the animation to play when the player actually just walks over the fence. In that case you would just set the animation when the hitbox is over the fence. Think about what you want, and try to implement it.[/quote:r9phgoa3]


Thanks for your help Davioware. I might look at having the gun as a seperate object because its got to fire 'UP - STRAIGHT-DOWN'
B
19
S
6
G
7
Posts: 1,204
Reputation: 7,296


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest