How do I make animated rpg movement

Get help using Construct 2

Post » Thu Jan 17, 2013 9:12 pm

I wanted to share my method for accomplishing 4 way rpg top down style movement in which each direction has its own animation (no rotation). The problem I was running into was while default controls for 8 direction movement were enabled it would cause the animations to get out of sync with the movement when more than one direction key was pressed, which does not scream quality to me.

For this to work "Default Controls" must be set to "No" on the sprites 8Direction properties.

Here is the capx file, simply use the arrow keys to move the sprite.
https://docs.google.com/file/d/0B4hvjRyB7pvBUDhYdDQ3TmlHZGM/edit

Here are the events:
B
6
S
3
G
1
Posts: 102
Reputation: 1,379

Post » Mon Mar 25, 2013 7:00 pm

Thanks for this. very much needed.
B
52
S
11
G
2
Posts: 42
Reputation: 5,265

Post » Tue Mar 26, 2013 6:00 pm

Your welcome, glad I could help!
B
6
S
3
G
1
Posts: 102
Reputation: 1,379

Post » Tue Mar 26, 2013 7:50 pm

You could drastically simplify your capx , I can say there's too much repetition out there ...
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Tue Mar 26, 2013 8:15 pm

I tried to simplify it, I really did, but it seems without the redundancy in place I was experiencing bothersom bugs. This I suppose is a full checks and balance system. I am sure there is a more simplistic way but I could not get one to work for what I needed.
B
6
S
3
G
1
Posts: 102
Reputation: 1,379

Post » Tue Mar 26, 2013 8:22 pm

[QUOTE=Whiteclaws] You could drastically simplify your capx , I can say there's too much repetition out there ...[/QUOTE]

Is there? This is more concise that my methodology for the exact same situation by about 5 events!

If there's a way to simplify this "drastically" I'd love to see it!

Great work Alexixiv
B
49
S
14
G
3
Posts: 540
Reputation: 5,611


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 18 guests