Embed html with iframe / Problem

Get help using Construct 2

Post » Sun Nov 04, 2012 4:19 pm

I have a small problem, check it out this link: http://extintogamer.com.br/wp/jogos/the-gipiciu/

I can not make the page scroll stop moving when I'm controlling the game. :(gillenew2012-11-04 16:19:37
B
138
S
26
G
21
Posts: 520
Reputation: 25,267

Post » Sun Nov 04, 2012 4:32 pm

You could always change the duck control with another button.Try using a different control scheme ie wasd movement instead off the arrow keys.
B
23
S
3
G
6
Posts: 1,356
Reputation: 7,176

Post » Sun Nov 04, 2012 4:50 pm

uhm, this really can avoid the problems, but is there any alternative to these keys?

B
138
S
26
G
21
Posts: 520
Reputation: 25,267

Post » Sun Nov 04, 2012 5:02 pm

If you are using platform movement then it can be changed at the events and setting the default control to no.Then at events you will do something like this.player D key down/set animation to duck or whatever it has to be.There's also a simulate left,right and jump option for the platform movement behavior.Would look something like this.Player s key down/Simulate pressed Right.Same goes for left and jump.

I can make a demo capx for you if you want.
B
23
S
3
G
6
Posts: 1,356
Reputation: 7,176

Post » Sun Nov 04, 2012 6:36 pm

Do you have empty 'on key pressed' events for each of those keys? That's necessary to stop the browser performing its default action (scrolling) when pressing a key.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,351


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 13 guests