Looking for a camera example(platformer)

Get help using Construct 2

Post » Tue Nov 13, 2012 4:17 am

Hey guys, i was wondering if any of you have a camera example file for a platformer game. I need the camera to be behind the main character, like 1 or 2 pixels behind.

Thanks guys.
B
10
S
4
G
3
Posts: 46
Reputation: 3,036

Post » Tue Nov 13, 2012 5:37 pm

Check this thread out

http://www.scirra.com/forum/topic59409.html
B
50
S
21
G
8
Posts: 844
Reputation: 10,299

Post » Mon Nov 19, 2012 12:54 am

[QUOTE=justifun] Check this thread out

http://www.scirra.com/forum/topic59409.html[/QUOTE]

This is a good code for horizontal movement, however i need the code for vertical movement.

The camera only follows the player once he lands, i would like the camera to slowly follow the player while he jumps and while he falls.

It would basically be like the original code but instead of horizontal movement it would be a vertical movement.

http://www.flickr.com/photos/90218432@N04/8198520210/in/photostream/Iplaygames2012-11-19 01:01:31
B
10
S
4
G
3
Posts: 46
Reputation: 3,036

Post » Mon Nov 19, 2012 10:28 am

Just off the top if my head can't you pin a invisable arm on the player sprite with another invisible sprite on the end to lock the camera on?
B
20
S
4
G
2
Posts: 124
Reputation: 2,482


Return to How do I....?

Who is online

Users browsing this forum: RickUSBstick, Yura G and 16 guests