Make the camera follow sprite left and right...?

Get help using Construct 2

Post » Sat Jan 26, 2013 10:30 am

Okay, So I know to use the "ScrollTo" behavior, but I would only like it to follow the Sprite / Character, Left , Right and Up, not down.. how do I change this? (I am not using any background for this game, just white)

Thanks to anyone who helps!coltonrawrr2013-01-26 10:31:09
B
6
Posts: 10
Reputation: 503

Post » Sat Jan 26, 2013 11:29 am

-Put an invisible sprite in the same position of your character.
-Make him follow the character in all situations that you need (left, right and up).
-Bind the scroll to the invisible sprite.
B
31
S
7
G
2
Posts: 157
Reputation: 3,735

Post » Sat Jan 26, 2013 12:02 pm

This should work:
B
13
S
3
G
4
Posts: 35
Reputation: 3,358

Post » Sat Jan 26, 2013 10:36 pm

Thank you so much!

EDIT: Although what is the Sprite y < scrolly thing? mine looks like this



[It work's exactly how I would like it though]coltonrawrr2013-01-26 22:39:42
B
6
Posts: 10
Reputation: 503

Post » Sat Jan 26, 2013 11:04 pm

If you only want it to scroll left and right you only have to set scroll X. (scrolling in the x direction)

By the way, the "Player: Set Y to Player.Y" event you have there does nothing, except setting the Y of the Player object to it's own position.
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Sat Jan 26, 2013 11:27 pm

Thanks (:
B
6
Posts: 10
Reputation: 503


Return to How do I....?

Who is online

Users browsing this forum: Artpunk, Tombas, Yahoo [Bot] and 17 guests