mirror of
https://github.com/mightypanders/GMTKJam2021.git
synced 2025-01-30 21:59:55 +01:00
fullscreen, add dop script
This commit is contained in:
parent
1371fc73a1
commit
443a04f857
@ -1,3 +1,4 @@
|
|||||||
|
class_name DropOffPoint
|
||||||
extends Node2D
|
extends Node2D
|
||||||
|
|
||||||
export var entity_name = "DROPOFF"
|
export var entity_name = "DROPOFF"
|
||||||
@ -26,9 +27,9 @@ func _ready():
|
|||||||
func modulate_color():
|
func modulate_color():
|
||||||
rng.randomize()
|
rng.randomize()
|
||||||
var n = rng.randi_range(0,colorList.size()-1)
|
var n = rng.randi_range(0,colorList.size()-1)
|
||||||
print(n)
|
#print(n)
|
||||||
destinationColor = colorList[n]
|
destinationColor = colorList[n]
|
||||||
print(destinationColor)
|
#print(destinationColor)
|
||||||
sprite.modulate = destinationColor
|
sprite.modulate = destinationColor
|
||||||
|
|
||||||
|
|
||||||
|
@ -8,6 +8,16 @@
|
|||||||
|
|
||||||
config_version=4
|
config_version=4
|
||||||
|
|
||||||
|
_global_script_classes=[ {
|
||||||
|
"base": "Node2D",
|
||||||
|
"class": "DropOffPoint",
|
||||||
|
"language": "GDScript",
|
||||||
|
"path": "res://DropOffPoint.gd"
|
||||||
|
} ]
|
||||||
|
_global_script_class_icons={
|
||||||
|
"DropOffPoint": ""
|
||||||
|
}
|
||||||
|
|
||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="City Bound"
|
config/name="City Bound"
|
||||||
@ -18,6 +28,7 @@ config/icon="res://icon.png"
|
|||||||
|
|
||||||
window/size/width=1280
|
window/size/width=1280
|
||||||
window/size/height=720
|
window/size/height=720
|
||||||
|
window/size/fullscreen=true
|
||||||
window/stretch/mode="2d"
|
window/stretch/mode="2d"
|
||||||
|
|
||||||
[physics]
|
[physics]
|
||||||
|
Loading…
Reference in New Issue
Block a user