How do I get the screen to move with the character

Get help using Construct 2

Post » Fri Jan 10, 2014 1:43 pm

Pretty self-explanatory. I keep testing out my game but can never see anything past the initial block the sprite started on.
B
2
Posts: 9
Reputation: 168

Post » Fri Jan 10, 2014 1:50 pm

Nevermind, figured it out, but is there a way to scroll?
B
2
Posts: 9
Reputation: 168

Post » Fri Jan 10, 2014 3:21 pm

yep, in the system actions, you can set scroll in a few ways

a simple but effective horizontal smooth scrolling would be

var speed
every tick -> set scrollx to scrollx+((player.x-scrollx)*dt*speed)
B
28
S
8
G
1
Posts: 469
Reputation: 4,683

Post » Fri Jan 10, 2014 9:49 pm

And... this would be set how? >.<
#Nooooooob
B
2
Posts: 9
Reputation: 168

Post » Sat Jan 11, 2014 12:10 am

You can just add a behavior to the character called "Scroll-To", much easier than "Tick-Scrolling"
B
5
S
1
Posts: 15
Reputation: 460

Post » Sat Jan 11, 2014 12:21 am

I recommend you read the fabulous manual. It covers all of this :)

Also, there are now brilliant tutorials in place to cover the very very basics.
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
79
S
12
G
7
Posts: 961
Reputation: 10,717

Post » Sat Jan 11, 2014 1:23 am

Thanks so much MathandScience
B
2
Posts: 9
Reputation: 168


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests