mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 04:54:05 +09:00
clouds parallax and can drift in 3D
This commit is contained in:
@@ -70,6 +70,9 @@ object WorldCamera {
|
||||
var worldHeight = 0
|
||||
private set
|
||||
|
||||
inline val camVector: com.badlogic.gdx.math.Vector2
|
||||
get() = com.badlogic.gdx.math.Vector2(gdxCamX, gdxCamY)
|
||||
|
||||
fun update(world: GameWorld, player: ActorWithBody?) {
|
||||
if (player == null) return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user