"Center view on me"

For questions about using Classic.

Post » Wed Sep 29, 2010 4:55 pm

How do you change the "center view on me" sprite attribute with an event?
B
1
G
2
Posts: 8
Reputation: 641

Post » Wed Sep 29, 2010 5:27 pm

You don't. Instead, create an invisible 'camera' object and set the attribute on that. Then, under Always, set the position of that to that of whatever you want to follow.
B
2
S
2
G
3
Posts: 193
Reputation: 1,636

Post » Wed Sep 29, 2010 5:39 pm

Or better yet, don't use that attribute at all. Simply use the scroll to x and scroll to y actions. A complex camera can be designed with an expression and/or some events. Things like slow tracking, screen shake, and whatever else you fancy can be implemented.
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Thu Sep 30, 2010 3:41 pm

Many thanks. I will get going on experimenting with suggestions.
B
1
G
2
Posts: 8
Reputation: 641

Post » Fri Oct 01, 2010 10:41 pm

And if you need complex movement, look for the Advanced Camera plugin
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests