fullscreen, add dop script

This commit is contained in:
mightypanders 2021-06-30 20:27:40 +02:00
parent 1371fc73a1
commit 443a04f857
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,4 @@
class_name DropOffPoint
extends Node2D
export var entity_name = "DROPOFF"
@ -26,9 +27,9 @@ func _ready():
func modulate_color():
rng.randomize()
var n = rng.randi_range(0,colorList.size()-1)
print(n)
#print(n)
destinationColor = colorList[n]
print(destinationColor)
#print(destinationColor)
sprite.modulate = destinationColor

View File

@ -8,6 +8,16 @@
config_version=4
_global_script_classes=[ {
"base": "Node2D",
"class": "DropOffPoint",
"language": "GDScript",
"path": "res://DropOffPoint.gd"
} ]
_global_script_class_icons={
"DropOffPoint": ""
}
[application]
config/name="City Bound"
@ -18,6 +28,7 @@ config/icon="res://icon.png"
window/size/width=1280
window/size/height=720
window/size/fullscreen=true
window/stretch/mode="2d"
[physics]