8movement behavior - how to make faster side movements

Get help using Construct 2

Post » Mon Sep 08, 2014 8:37 am

Hi there,

i have a flying character where i applyed 8movement behavior. He is constantly flying forward ( simulating pressing right). The player is only controling up and down and i want to make the response to these movements faster as it is now. Without the character going faster forward, i want to make it faster up and down (without changing the max speed). Any ideas please? Sorry for the english, hope its clear :) Thanks!
B
8
S
4
G
1
Posts: 191
Reputation: 1,873

Post » Mon Sep 08, 2014 9:08 am

You need to move the character other way. Maybe move at angle, or with another behavior.
B
22
S
9
G
7
Posts: 421
Reputation: 6,543

Post » Mon Sep 08, 2014 11:23 am

Sisyphus can you be please a little more specific? Thanks :)
B
8
S
4
G
1
Posts: 191
Reputation: 1,873

Post » Mon Sep 08, 2014 7:39 pm

marcel1980 wrote:Sisyphus can you be please a little more specific? Thanks :)

Well i try. You can make the movements manually, without behavior, only events, something like: on key pressed, player - move at angle. Or maybe, if you need only up and down become faster you can still use behavior but add a condition like on button(that moves player up or down) pressed then set 8 direction speed to 900(or how much you need). Then add event that if that key is not pressed then set player speed to default.Or maybe you can just speed up the player if he goes up and down, just add event that if button(that moves player up or down) pressed, player move at angle(angle that you need) with 2 pixels distance lets say, this will make up and down movements a bit faster.
B
22
S
9
G
7
Posts: 421
Reputation: 6,543

Post » Mon Sep 08, 2014 7:58 pm

Perhaps you want the background to move backwards instead of the player moving forwards. That way you will have a smaller layout. Either way, you can use events and actions to drive the forward (or backward) movement and the 8direction behavior to move up/down (or more events and actions). It's pretty easy in fact. See the attached file.
You do not have the required permissions to view the files attached to this post.
composer - multimedia artist
www.eli0s.com/en/
B
68
S
26
G
4
Posts: 1,146
Reputation: 9,649

Post » Mon Sep 08, 2014 10:09 pm

Thanks guys :) im now able to move on with it...!
B
8
S
4
G
1
Posts: 191
Reputation: 1,873


Return to How do I....?

Who is online

Users browsing this forum: MadSpy, Yahoo [Bot] and 3 guests