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
123
S
19
G
16
Posts: 487
Reputation: 21,498

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
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Sun Nov 04, 2012 4:50 pm

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

B
123
S
19
G
16
Posts: 487
Reputation: 21,498

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
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

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
359
S
214
G
72
Posts: 22,952
Reputation: 178,600


Return to How do I....?

Who is online

Users browsing this forum: Nifl and 23 guests