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
Open for Commission, contact email > [email protected]



my personal website with news in my game developer adventure! |

adult ( 18) pixel art games
B
131
S
23
G
21
Posts: 510
Reputation: 24,759

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?

Open for Commission, contact email > [email protected]



my personal website with news in my game developer adventure! |

adult ( 18) pixel art games
B
131
S
23
G
21
Posts: 510
Reputation: 24,759

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
386
S
229
G
87
Posts: 24,204
Reputation: 191,546


Return to How do I....?

Who is online

Users browsing this forum: Hex27, punking, Yahoo [Bot] and 2 guests