I want to add a camera follow to the character because i would like to have a bigger map, here is the code,
also my website is http://raptrstudios.weebly.com
If you need more info, just askCamera follow for character, HELP!
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 39
- Joined: Thu Jan 22, 2015 5:46 am
Camera follow for character, HELP!
Raptr Studios
http://raptrstudios.weebly.com/
Please consider donating to us!
New Game I'm Working On - Cerradon
http://raptrstudios.weebly.com/
Please consider donating to us!
New Game I'm Working On - Cerradon
Re: Camera follow for character, HELP!
What did you try to do and what problems did you run into when doing it?
It's easy in principle, just change the camera's position to the player's position in each love.update() call.
It's easy in principle, just change the camera's position to the player's position in each love.update() call.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Camera follow for character, HELP!
You could use my library, gamera: viewtopic.php?f=5&t=12033
When I write def I mean function.
-
- Prole
- Posts: 39
- Joined: Thu Jan 22, 2015 5:46 am
Re: Camera follow for character, HELP!
I have been having problems with camera positioning, it would teleport off the screen and i dont know why.
And is there any videos on it?
Ill also give that library Gamera a try
Thanks
And is there any videos on it?
Ill also give that library Gamera a try
Thanks
Raptr Studios
http://raptrstudios.weebly.com/
Please consider donating to us!
New Game I'm Working On - Cerradon
http://raptrstudios.weebly.com/
Please consider donating to us!
New Game I'm Working On - Cerradon
Re: Camera follow for character, HELP!
These helped me a lot:
https://love2d.org/wiki/Tutorial:Cameras
Btw. you should also consider updating to a newer LOVE version.
https://love2d.org/wiki/Tutorial:Cameras
Btw. you should also consider updating to a newer LOVE version.
Who is online
Users browsing this forum: Google [Bot] and 3 guests