How do I snap camera to specific place on touch

Get help using Construct 2

Post » Mon Apr 18, 2016 8:36 am

I've had this idea for a simple adventure game with a twist of combat.
It's in first person and uses 2D images of course.
With construct I have to make sacrifises, though. For an example, construct 2 doesn't have seamless wrap like that ice level in sonic 3.
When the player, or in this case, 'Camera' goes to the end of the screen, it snaps to the other side instead of wrapping seamlessly. Old jrpgs do this too in their over worlds. So, to make up for this, I was thinking of having the 'player' or 'camera' snap or teleport to a certain amount of pixels to the left or right to simulate looking straight, left, right, and back. That ammount of pixels should perfectly snap to each direction and basically simulates the same effect that happens when wrapped only with every 'touch' of the on screen left and right arrows.

If there are any tips to how I could do this, I would really appreciate the advice. I am playing around with set vector x on touch, but it doesn't seem to go the full length of pixels I put in.
If there is no advice and no hope, then I will just destroy the 4th or "south" wall and work with the three directions as opposed to 4. Thank you guys so much.
B
6
S
1
Posts: 29
Reputation: 408

Post » Mon Apr 18, 2016 8:44 am

I was thinking of having the backgrounds wrap, but it contradicts something else I want to do, so I'd rather quick snapping 4 direction sight.
B
6
S
1
Posts: 29
Reputation: 408

Post » Mon Apr 18, 2016 9:29 am

Set to x worked slightly, but didn't wrap and snap to the other side of the layout.
B
6
S
1
Posts: 29
Reputation: 408

Post » Mon Apr 18, 2016 9:38 am

Do not really understand.
You want to move the camera smoothly to a place?
B
29
S
12
G
20
Posts: 756
Reputation: 13,855


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests