How do I create character controllers like "Final Fight"

Get help using Construct 2

Post » Wed Oct 15, 2014 11:21 am

Hi everyone I am new to construct 2 but here is the thing I would like to do and would appreciate any help.

I would like my character to move in 8 directions like in the game Final Fight or other fighting games but at the same time have the ability to jump and land on the floor.

I tried it with 8 directions and platform tool but the character falls down. So created a solid underneath which he can land on (which will be invisible) but I can't seem to have the solid underneath follow the character.

Also I would like my character not to go out of the playable area. Let's say he can move up and down the screen in certain places or solids.

I really would appreciate the help. :D :D :D

Kind Regards

Volkan Kutlubay
B
19
S
6
Posts: 179
Reputation: 2,202

Post » Wed Oct 15, 2014 6:49 pm

Depending on your gameplay, you may not even need to have the character actually jump, but you can fake it with sprite trickery. If you create a jumping animation, increasing the height of the sprite to accommodate the character's new height, it should work for you. That way the character sprite never actually leaves the ground, it just looks like it. You can even add a shadow underneath using the same sprite to seal the illusion.
The only drawback of using this technique is it might be a pain to get your character to jump onto a platform that is raised up.
Be sure to check out my Metroidvania game, A Hole in the Earth
B
59
S
24
G
3
Posts: 359
Reputation: 5,683

Post » Wed Oct 15, 2014 6:54 pm

make a shadow object, or an invisible box that acts like a "plate" for your character to stand on. Give that the 8-dir movement.

Then pin the player sprite to that shadow, and as the other person said, make the "jump" an animation moving away from the ground origin point. So it looks like he's jumping, but he actually isnt.

He will be able to collide with objects that define the area of gameplay by giving them each a solid behavior.
B
83
S
40
G
15
Posts: 993
Reputation: 16,909

Post » Wed Oct 15, 2014 7:46 pm

WOW! Thank You All So Much For The Useful and Quick Replies! I am sure all the information above will be very useful!

Kind Regards
B
19
S
6
Posts: 179
Reputation: 2,202


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound, RobertMKD, Syazanie Amirin and 10 guests