protoype world gen based on input image

This commit is contained in:
Antti Hakkarainen 2023-02-08 13:45:34 +02:00
parent acf1ed5423
commit 30ec55066b
11 changed files with 188 additions and 32 deletions

View file

@ -20,8 +20,11 @@ const TYPE_POWERPLANT = "powerplant"
const TYPE_ROADS = "roads"
const TYPE_DEMOLISH = "demolish"
const CAMERA_MIN_ZOOM_LEVEL: float = 0.5
# camera movement settings
var CAMERA_ZOOM_LEVEL : float = 1.0
const CAMERA_MIN_ZOOM_LEVEL: float = 0.1
const CAMERA_MAX_ZOOM_LEVEL: float = 2.0
const CAMERA_ZOOM_FACTOR: float = 0.1
const CAMERA_ZOOM_DURATION: float = 0.1
const CAMERA_DRAG_MULTI:float = 2.0
const CAMERA_PAN_MULTI:float = 2.0