my game screen cant scroll

Get help using Construct 2

Post » Fri Jan 11, 2013 11:31 am

hello i am new in construct 2 :D

i just follow all code from the template code from construct 2 about infinite jumping platfrom
i cant understand what the meaning of this

global number miniscroll=999
global number nextplatform=0

and my screen size is different with the example :/
how to fix that? :(

heres my capx

https://dl.dropbox.com/s/01082319sneq4go/sky%20reacher.capx?dl=1

sry for bad english :(
thx you >.<
B
4
Posts: 2
Reputation: 735

Post » Sat Jan 12, 2013 8:48 am

You have to set unbounded scrolling to yes. You also have to give your player the behaviour scroll to.

If your not sure how to do this, well here's the steps:
-on the right of your construct 2 screen you'll see a toolbar that says projects. click on it
-click on layout 2 on that toolbar
-on the left of your screen you'll see a Layout properties menu
-on that Layout properties menu you'll see something that says unbounded scrolling. set that to yes

-Final step click on your sprite and add the behaviour "scroll-to"

and it should work

[QUOTE=kitamurazyide] hello i am new in construct 2 :D

i just follow all code from the template code from construct 2 about infinite jumping platfrom
i cant understand what the meaning of this

global number miniscroll=999
global number nextplatform=0

and my screen size is different with the example :/
how to fix that? :(

heres my capx

https://dl.dropbox.com/s/01082319sneq4go/sky%20reacher.capx?dl=1

sry for bad english :(
thx you >.<[/QUOTE] retrodude2013-01-12 08:52:37
B
18
S
4
G
3
Posts: 436
Reputation: 4,801

Post » Sat Jan 12, 2013 8:49 am

I would have reposted your capx but its a small fix so theres no point, also you could learn something from doing these little steps if you get a problem like this later.

Also If your still confused about my steps then tell me and I'll see if I can helpretrodude2013-01-12 08:54:30
B
18
S
4
G
3
Posts: 436
Reputation: 4,801

Post » Sun Jan 27, 2013 5:21 am

ahaha...thx for the answer XD
fix ! :D
B
4
Posts: 2
Reputation: 735


Return to How do I....?

Who is online

Users browsing this forum: Callan S, gamecorpstudio, getplay, Kagubro and 27 guests