How do I stop layer scrolling?

Get help using Construct 2

Post » Mon Nov 23, 2015 5:11 pm

Hi imothep85, you reached your goals?!
B
4
Posts: 3
Reputation: 213

Post » Mon Nov 23, 2015 7:19 pm

yeah but im STUCK with Facebook plugin problems... i can't submit score....
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865

Post » Wed Jan 04, 2017 4:27 am

Message: Lidro can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
imothep85 wrote:I just try to understand the logic, what i need is just to create platforms at random heights, and horizontals, but i cant find a solution for making the paltforms not too far one from another

i have this:

system create object "platform" on layer "game" X random(20, LayoutWidth - 400), Y ViewportTop("Game")
system set nextplatform to ViewportTop("Game") - random(20, 400)

this is what i have

http://s10.postimg.org/kjbqfua09/spawn.jpg



You could change your settings to this:

system create object "platform" on layer "game" X random(20, LayoutWidth - 40), Y ViewportTop("Game")
system set nextplatform to ViewportTop("Game") - random(20, 100)

And you're good to go.
B
7
S
1
Posts: 6
Reputation: 431

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 22 guests