Hi Love community!
First time posting, still pretty new to LUA and LOVE, but I've been working on some small projects to better expand my understanding of a lot of core concepts (both of LOVE and of game design), one thing I really don't quite get is camera motion, ie having the screen follow the player character.
In my attached project (pretty simplistic and please ignore the bad code structure) I want the screen view to follow the player, but then stop once the edge of the map lines up with the edge of visible screen. I didnt find anything that jumped out as obviously dealing with this in the wiki, so I figured I'd hope over hear and ask.
Any help would be excellent
LOVE2D-trouble with cameras (follow player until end of map)
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
LOVE2D-trouble with cameras (follow player until end of map)
- Attachments
-
- TestSpace.love
- (15.09 KiB) Downloaded 109 times
Who is online
Users browsing this forum: Google [Bot], Semrush [Bot] and 2 guests