How do I make an "on-rails" camera?

Just started using Construct 2? Post your questions here

Post » Fri Jun 19, 2015 12:39 am

Hi, I'm making a platformer and unfortunately, the "scroll to" behaviour doesn't quite suffice. So, is there anything that can help me with this issue?
B
3
Posts: 2
Reputation: 179

Post » Fri Jun 19, 2015 6:21 am

Hello.

I didn't understand exactly whats going wrong in your game. Maybe uploading your .capx and giving more details might help.

But anyway, every time I try to use the "Scroll to" behavior and it doesn't work usually it's because I forget that the size of the layout must be bigger than the size of the window, or the layout's Unbounded scrolling property must be set to Yes.
B
17
S
7
Posts: 277
Reputation: 2,514

Post » Fri Jun 19, 2015 12:41 pm

Nothing is going wrong, it's just that the Scroll To behaviour isn't quite what I want, but I can still live with it. Thanks either way.
B
3
Posts: 2
Reputation: 179

Post » Fri Jun 19, 2015 4:55 pm

Isn't quite exactly what I want?
Could you be more vague?

Explaining what you would like, might even make it possible for people to explain what you could/should do to get that effect..

"My car isn't quite exactly the colour I want, could someone help me?
What colour is your car?
What's wrong with the colour?
Have you tried painting it another colour or is that a problem?"
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Jun 19, 2015 7:21 pm

I believe the OP is looking for a way to animate the camera/object along a predefined path. "On a rail".
Win7 64- i7 [email protected], p6t Deluxe v1, 48gb, ATI 7970 3gb, EVGA 590 3GB, Revodrive X2 240gb, e-mu 1820. Screens: 2 x Samsung s27a850ds 2560x1440, HP 1920x1200 in portrait mode
B
30
S
10
G
8
Posts: 170
Reputation: 7,074

Post » Fri Jun 19, 2015 10:15 pm

While this isn't a specific solution to your issue, it's a pretty invaluable tool for doing advanced camera control:

viewtopic.php?f=153&t=74513&p=938598&hilit=magicam&sid=d3c00980dffda0b1ef72774204c969fe#p938598
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest