[SOLVED] Scroll to, shake and unbounded layout.

Get help using Construct 2

Post » Tue Feb 23, 2016 12:31 pm

I'm having an issue(?) with shake action. This is an example:

https:*//www.dropbox.com/s/9t37unvhaa4snog/collisions.capx?dl=0

(my reputation is under 500 :oops: , so i can't post links, to try the capx, remove *)

It 's a basic racing game, with only one event: when the car collides with a barrier, I want the screen to shake. The problem is that the collision with some barrier doesn't cause the screen to shake. Try it yourself smashing the car in to top screen barriers.
The barriers are multiple instances of the same object. Why some collisions invoke the shake behavior and some others not? :shock: I've tried to change the barrier sprite dimensions, but doesn't seem to work anyway.
I'dont know where the error is.
I'll appreciate any help. :D

Thank you!!
Last edited by pontolix on Tue Feb 23, 2016 2:04 pm, edited 1 time in total.
B
7
S
1
Posts: 13
Reputation: 351

Post » Tue Feb 23, 2016 12:44 pm

Have you set unbounded scrolling to "Yes" under the layout properties? I haven't tried your capx but that usually is the problem :)
B
54
S
23
G
12
Posts: 747
Reputation: 11,910

Post » Tue Feb 23, 2016 2:03 pm

:oops: Thank you! it works like a charm.... :oops:
I'll change the title...maybe it can help other newbies like me...
Thanks again!!
B
7
S
1
Posts: 13
Reputation: 351

Post » Tue Feb 23, 2016 2:12 pm

Glad it worked for you. Good luck with your project :)
B
54
S
23
G
12
Posts: 747
Reputation: 11,910


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests