Skip to content

cr1m31/Love2d-Smooth-camera-Scrolling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Love2d-Smooth-camera-Scrolling

Camera following player with interpolation.

This was made for a tutorial. First part here: https://youtu.be/9QWoIp6VtUM

Install: download the folder and load the main.lua file with some Lua interpreter (i use zerobrane). Also install love2d.

It is basically a world with a player on it and a camera following the player smoothly. The trick is to use interpolation between the camera and the player to achieve this effect.

Ps: you can zoom on the player with the mouse wheel.

About

Camera following player with interpolation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages