Platformer troubles
scurvy135
Member Posts: 13
Hello,
I am new to game creation and I need to create a decent platformer for the Iphone, but I just cant seem to figure out how to get the camera (screen) to follow the character's movements. Kinda like keeping the character center screen, but with platformer attributes. You know, like the ones you play online.
I have the character moving left and right, and jumping with gravity. But I am restricted to the tiny screen, that is the initial screen size. Does anyone know how to increase the size of the frame so that I may actually walk somewhere with my character?
-scurvy
I am new to game creation and I need to create a decent platformer for the Iphone, but I just cant seem to figure out how to get the camera (screen) to follow the character's movements. Kinda like keeping the character center screen, but with platformer attributes. You know, like the ones you play online.
I have the character moving left and right, and jumping with gravity. But I am restricted to the tiny screen, that is the initial screen size. Does anyone know how to increase the size of the frame so that I may actually walk somewhere with my character?
-scurvy
Comments
1.First of, make your scene wider than the screen
Whilst editing a sceen, click the "scene button" and then click attributes. In there you will see size.. Set the width
2. Set your player actpor to control the camera.
This is a behaviour, just drag it into the actor's rules
3. Change the camera size.
In the editor, top left you will see 2 icons. Click the one that looks like a camera to get to the camera editing. Drag the points (left-right-up-down) to be as big as you want the camera to track. (Keep it as small as poss to keep it nice and tight on your player actor.
Hope that made sense.
Sparks.
However, even with the Control camera behavior, the camera still is fixed at the beginning of the level.
Thanks for you help Sparky