shape update
This commit is contained in:
parent
11a54f2b94
commit
2046fbff71
18 changed files with 467 additions and 46 deletions
14
main.gd
Normal file
14
main.gd
Normal file
|
@ -0,0 +1,14 @@
|
|||
extends Node2D
|
||||
var config = ConfigFile.new()
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
if config.load("user://settings.cfg") == OK:
|
||||
var player = load(config.get_value("gameplay", "class", "res://player-row.tscn")).instantiate()
|
||||
player.position = Vector2(1920/2, 1080/2)
|
||||
add_child(player)
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue