More Animation problems

Get help using Construct 2

Post » Wed Jun 20, 2012 6:57 am

My animations i don't believe are being pinned correctly. They are often below the player. I am unsure how to fix these kind of errors. Can someone give me a guide or a tutorial?

1,2,3,4 to change the character btw.

https://dl.dropbox.com/u/14897963/MlpGame.capx
B
6
Posts: 28
Reputation: 408

Post » Wed Jun 20, 2012 9:00 am

I have no idea how to do the pin thing or the orgin to make it work with the animations i have.
B
6
Posts: 28
Reputation: 408

Post » Wed Jun 20, 2012 9:05 am

sorry but i didn't understand anything ^^ can you do some pictures?
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Wed Jun 20, 2012 9:08 am

zsangerous, If you have a look at the cap i provided, you can see that the animation aren't on top of the blocks. They are appearing in it and under the block.
B
6
Posts: 28
Reputation: 408

Post » Wed Jun 20, 2012 9:21 am

Ok ... for each animation try this ...

edit first image ...
tool (assign origin point ... -[|]- )
on the origin point -> quick assign center (middle sorry)
and after "apply to whole animation"

naelian2012-06-20 09:24:44
B
16
S
5
G
3
Posts: 298
Reputation: 5,240

Post » Wed Jun 20, 2012 9:26 am

It sorts of fixs them but they still appear in/on the block. They dont go under it anymore.
B
6
Posts: 28
Reputation: 408

Post » Wed Jun 20, 2012 10:28 am

No other solution?
B
6
Posts: 28
Reputation: 408

Post » Wed Jun 20, 2012 10:55 am

If they don't go any more under the solid block it's a good news so it fix some problems ... perhaps there was a size problem with your animations frames not using the same ... unfortunatly i never use solid platform like system so i have no magic answer to give you ... when changing horse always increase Y value to make fall a little from the "sky".

I think solid system use also collision points and you have probably some of them not good at all because the guess C2 polygons function is poor ... so try first to override this doing a simple square using 4 collision points around the first image of each animation and then apply this square to whole animation using the same system as for origin points ... i'm pretty sure the result will be better.

B
16
S
5
G
3
Posts: 298
Reputation: 5,240

Post » Wed Jun 20, 2012 11:16 am

I couldn't understand what you said. Most of them are around the same size. Maybe Nimtrix might be able to help me out here.
B
6
Posts: 28
Reputation: 408

Post » Wed Jun 20, 2012 11:26 am

Instead of setting the origin of the sprites (fluttershy), instead assign it to the bottom for the 'Player' as well as fluttershy. This way, all animation's contact point is consistent.

One bug I noticed with your game right now is in the Flying state, your player will randomly teleport, so sometimes it causes problems later when the player runs out of stamina and lands back.
B
27
S
9
G
5
Posts: 108
Reputation: 5,744

Next

Return to How do I....?

Who is online

Users browsing this forum: Ethan, makkancs, Marxally and 21 guests