clouds parallax and can drift in 3D

This commit is contained in:
minjaesong
2023-08-22 09:48:38 +09:00
parent da8d620766
commit 0a8b5f33f4
5 changed files with 42 additions and 7 deletions

View File

@@ -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