Locking the camera on the player's character

Started by Marienus, Fri 26/09/2014 16:40:20

Previous topic - Next topic

Marienus

So I've been making a game where you can simply walk around in one single room, but the thing I could not get, is getting the camera fixed on the player character's position. Like in the game Caesar, I know that is not character based but it is the only example I could think of. I read something about modules, but I could not find one that I could use for this. :-\ If anyone knows a solution for this or point me to the module I could use I will be really thankful. If you don't really understand this you can ask for more details.

Thanks in advance.

Cassiebsg

There are those who believe that life here began out there...

Khris

AGS centers the camera on the player character by default; the room will only scroll until its edges hit the screen edges though.
I'm not sure how to interpret your question other than asking for the camera always being centered on the player, even near room edges. To do that, you have to add black borders to your background images.

If that's not what you mean, please be more specific.

SMF spam blocked by CleanTalk