Moved collision/physics information into manifest, made real mouse cursor always invisible and use 'virtual' cursor when needed.

This commit is contained in:
2019-09-28 13:29:21 -05:00
parent e038dcbe24
commit 40d1105fb8
13 changed files with 32 additions and 30 deletions

View File

@@ -31,7 +31,7 @@ class IMICFPS
if on_ground
entity.velocity.y = 0
else
entity.velocity.y -= @collision_manager.map.gravity * entity.delta_time if entity.physics
entity.velocity.y -= @collision_manager.map.gravity * entity.delta_time if entity.manifest.physics
end
end
end