Frozen Animations

For questions about using Classic.

Post » Sun Dec 06, 2009 4:20 am

Hi there, I've only posted once before about an issue that I was having with one of my games involving some trouble I had with the program crashing every few minutes. And now I am back again with questions about animations.

I have made three different games now (well... tried to, most of them are fairly incomplete for several reasons) and in each one I haven't been able to get the character animations to work properly. The only success I had was with the Jump animation for one of my games (it doesn't work so well for the other one that has a jump feature) and the walk animation for my enemies in one of my games (the others don't have fully-working enemies yet). What I care about the most is that the player himself does not obey the rules I set down for animation.

Anyway... I have a few different problems.
First the walk animations- they don't tend to play when I move, the closest I can get is in my first game the character goes to take his first step and then freezes when he starts moving, only to return to his ready stance afterwards.
Second the grenade animation- It would just look like he was throwing his grenade at LIGHTNING speeds. But frankly that's not what I was going for... I can't seem to make it finish out the animation before SNAPPING back to the ready stance or walk animations.

I don't know whether I am just screwing up the commands or whether its just broken. Either way I would like an answer. If you could shed some light on my issues I would be grateful.

Thanks for your time,
AJ
B
6
G
3
Posts: 10
Reputation: 1,121

Post » Sun Dec 06, 2009 6:14 am

The best way to find out what's going on is if someone takes a look at your cap.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Sun Dec 06, 2009 2:14 pm

[quote="deadeye":e214312j]The best way to find out what's going on is if someone takes a look at your cap.[/quote:e214312j]
This. Post it up so someone can take a look at it... but more likely than not it's going to be issues with setting animations.

You may have not looped frames where they should be looped, or need to adjust animation speeds? Who knows. Post up the cap and someone will take a look for you, fix the problem, and tell you where you went wrong.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Mon Dec 07, 2009 4:23 am

You're all very kind, I really appreciate your time. I wish I could return the favor somehow. Thank you.

I posted all 3 of my game attempts on Box.net
I haven't credited the Sprites or anything yet so please: don't think they're mine. All three of these are mainly to satisfy my own strange sense of fun than anything else. :P
Halo Game: http://www.box.net/shared/p4f85jbx6a
Zelda Game: http://www.box.net/shared/35a57ttg0l
40k Game: http://www.box.net/shared/zp8auefbqb

It seems likely that they are all the same issue, I would really like to know what I managed to mess up (It always seems so simple until it doesn't work...)

Thanks again,
AJ
B
6
G
3
Posts: 10
Reputation: 1,121

Post » Mon Dec 07, 2009 5:23 pm

I was having the same problems. I just made an event sheet to manage the animations. Doing that gives you a lot more control over them anyhow.
B
2
G
3
Posts: 16
Reputation: 882

Post » Tue Dec 08, 2009 2:04 am

I had a look at your Halo and Zelda files. The reason your grenade animation doesn't play in your Halo game is because your tagged animations are interfering with it. You change to the grenade animation, and the Platform behavior automatically switches it back to something else that's tagged in the next frame. Solution: Don't use tagged animations for Platform behavior. Set the Standing, Running, and Jumping animations using events.

Another thing I noticed in both of those games is that you aren't using a separate hitbox for your player sprite. If you don't then you will run into weird problems. Notice how Link sort of flops up and down on the ground when he runs? And how Master Chief crouches in mid-air and then falls to the ground? Those are the kinds of things that you will run into, along with getting stuck on platforms by your extremities and teleporting through objects. You need to have an invisible rectangular hitbox that doesn't ever change size to use as your Platform Behavior, and then place your player sprite on top of it in order to get solid results.

Take a look at my Platform School tutorials:
viewtopic.php?f=8&t=2154

They will give you the basics that you need in order to make a platform game. They don't work with the latest version of Construct, though. You will need version 0.98.9, which you can find here:

http://sourceforge.net/projects/constru ... e/download

There is some old info in those tutorials but you will at least have a basic understanding of what to do after going through them.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest