added the game

This commit is contained in:
JHDev2006
2025-09-13 16:30:32 +01:00
parent 5ef689109b
commit 3773bdaf64
3616 changed files with 263702 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
class_name MoonGravity
extends Node
@export var new_gravity := 5
const OLD_GRAVITY := 10
func _ready() -> void:
Global.entity_gravity = new_gravity
for i: Player in get_tree().get_nodes_in_group("Players"):
i.low_gravity = true
func _exit_tree() -> void:
Global.entity_gravity = OLD_GRAVITY