Dojo of Death style movement/dashing

Get help using Construct 2

Post » Thu Jan 16, 2014 4:18 pm

Hey guys, I've been wracking my brain for the past couple of days trying to find the best method to implement a movement/dash system very similar to Dojo of Death (I can't post the link because I just signed up, but you can find it on congregate.com). I would like to use this as a spring board to test out some other ideas I had and expand on this system.

That said, I know I need to have event telling the player to constantly move toward Mouse.X and Mouse.Y, but am not sure which movement type is best for this (8-Directions, Custom Movement, Physics, etc.) and am not code-savvy at all.

The other issue is implementing a dash system like DoD's, where the player decelerates instead of it being a constant speed, and also seems to come to a halt before continuing to follow the mouse.

I came close to what I wanted using physics based movement and applying force every tick toward the mouse, as well as applying a larger amount of force when clicking for the dash, but I feel like there's much better ways of doing this.

I would submit a capx file, but have barely gotten anywhere with this so there's not really anything to show. If anyone has any ideas of advice on how to do this, it would be greatly appreciated. Thank you in advance.
B
3
Posts: 7
Reputation: 239

Post » Thu Jan 16, 2014 11:24 pm

No ideas? lol
B
3
Posts: 7
Reputation: 239

Post » Fri Jan 17, 2014 4:02 am

Try bullet behavior, It should be pretty simple to implement.
B
10
S
4
Posts: 133
Reputation: 1,543

Post » Fri Jan 17, 2014 4:21 am

A lot of people come here thinking that making a game is really simple. And it is. But there is still a small hurdle of figuring out how the C2 tool system works.

I would suggest checking out this tutorial
https://www.scirra.com/tutorials/37/beginners-guide-to-construct-2
(you can still post URL strings even without a link) to understand the basics of how the tool works. It's not hard and it's a well worth lesson. In fact it's so well worth it that the tutorial will answer your question and teach you loads more :)
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,028

Post » Fri Jan 17, 2014 4:48 am

I was bored so I made an example for you.

https://copy.com/pLtwp0TpKrmx

I hope you are trying to learn and not to ripoff DOD creators idea :)
B
10
S
4
Posts: 133
Reputation: 1,543


Return to How do I....?

Who is online

Users browsing this forum: lahbach and 24 guests