Problem with Gamma And Bound To Layout.

Get help using Construct 2

Post » Sun Sep 08, 2013 8:04 pm

I'm developing this game, i'm using gamma to move left and right plus i've added a behavior bound to layout but when i tilt my device, my object does work but doesn't stop at the end of layout.....it goes off the screen. Here is what i'm doing with gamma
Touch->Gamma orientation < 0 = player Move 300 * dt pixel at angle angle(Self.X,Self.Y,Self.Y-10,Self.Y)
Touch->Gamma orientation > 0 = player Move 300 * dt pixel at angle angle(Self.X,Self.Y,Self.Y+10,Self.Y)
B
4
S
1
Posts: 21
Reputation: 776

Post » Mon Sep 09, 2013 1:25 pm

Are you sure your object as a "Scroll to" behavior and that it is well going out of the layout (not just only the view because the layout happens to be bigger than the project size) ?

Post your capx so we can have a deeper look.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,328
Reputation: 71,298

Post » Tue Sep 10, 2013 4:06 am

Problem solved I forgot to add the property bound to layout and I thought i've added it already...silly mistakes...
B
4
S
1
Posts: 21
Reputation: 776


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests

cron