(wip) settings menu almost works, just need to attach it to the button...

This commit is contained in:
Martin committed 2026-03-07 14:34:24 +01:00
1 parent 3c7e1a612d
commit a59255d9d6
3 files changed
+32 -12

No files matched your search

+7
View File
@@ -16,6 +16,7 @@ var eps: float = 1e-4
var foodManager: FoodManager2D
# A world "current"
# TODO: This should be moved to a different "game manager" specific to the molecular stage
# polar
var flow_dir: float # [0, 2pi)
var flow_mag: float # [0, 1]
@@ -111,3 +112,9 @@ func calc_distance(one, two) -> float:
onedup.x += screen_size.x
candidate = min(candidate, onedup.distance_to(two))
return candidate
func change_window_size(width: int, height: int) -> void:
# Do NOT remove this Godot, ffs!!!
var newSize = Vector2i(width, height)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.