Been trying to use this concept of a scrolling screen in a little project of mine, however I am having trouble getting started, I want the camera to move exactly as the main character does but I'm finding it difficult to get my head around the "addCameraFollower" operation as I would assume this would be the operation to make it follow the main character. Any help on how to structure the operation would be greatly appreciated, as I have a main character as "Wombat" as a sub class of ScrollActor but have no idea what to put in the place of "ScrollActor" or "cameraFollower" in this operation (For reference here is the documentation of the operation itself - addCameraFollower(ScrollActor cameraFollower, int x, int y))
Recent Comments
2017/11/23
Scrolling world