(wip) settings menu almost works, just need to attach it to the button...
This commit is contained in:
@@ -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