Directional Movement Forwards and Backwards

Get help using Construct 2

Post » Tue Sep 17, 2013 7:25 am

So this has ben driving me nuts. Essentially, I want movement with these properties:

W - Moves player in direction player is facing using steps of acceleration until key release
S - Moves player in opposite direction player is facing using steps of acceleration until key release
A - Changes both direction of motion and angle of player identically counter-clockwise
D - Changes both direction of motion and angle of player identically clockwise

What has driven me crazy is that when I attempt to implement all of these features, they do not work.

For instance, I can easily make the custom asteroids movement to go in reverse as well of forwards, but once I change the angle of motion so that direction of the speed is changed to be equal to the player direction, I suddenly cannot make it go in reverse.

I've tried custom movement, platform movement without gravity, car movement, and 8 direction movement.

8 direction would work nicely if the direction of movement could be edited, which, for some reason unbeknownst to me, cannot be.

Custom movement would work but for the example above it simply refuses to work cooperatively using angle of motion.

Car movement for whatever reason does not allow turns with 0 speed. This needs to be changed.

Are there any other ways to make this work or should I just start working on a gritty version without bothering with movement plugins?
DatapawWolf2013-09-17 07:26:47
ImageImageImageImage
B
62
S
19
G
51
Posts: 633
Reputation: 30,826

Post » Tue Sep 17, 2013 12:29 pm

Deleted for duplicationColludium2013-09-17 12:33:37
A big fan of JavaScript.
B
74
S
20
G
69
Posts: 2,207
Reputation: 43,836

Post » Tue Sep 17, 2013 12:30 pm

@DatapawWolf

Is this the sort of thing you're after?

https://dl.dropboxusercontent.com/u/184657779/custom%20movement%20by%20ed.capx
A big fan of JavaScript.
B
74
S
20
G
69
Posts: 2,207
Reputation: 43,836

Post » Tue Sep 17, 2013 8:40 pm

Exactly! Thank you!

How come these simple movements can't be added by default plugins? I've seen other questions on the forum which had the same question(s) as me.
ImageImageImageImage
B
62
S
19
G
51
Posts: 633
Reputation: 30,826


Return to How do I....?

Who is online

Users browsing this forum: evillair, marcinkowski, unicornspitfire and 12 guests