This repository has been archived on 2022-01-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2020-12-11 23:14:56 +01:00
|
|
|
extends Control
|
|
|
|
|
2020-12-11 23:57:11 +01:00
|
|
|
func set_character(packed_character):
|
|
|
|
var character = packed_character.instance()
|
|
|
|
character.show_healthbar = false
|
|
|
|
|
|
|
|
$Viewport.add_child(character)
|
2020-12-11 23:14:56 +01:00
|
|
|
|
|
|
|
func _process(delta):
|
|
|
|
$Viewport.size = rect_size
|
2020-12-11 23:57:11 +01:00
|
|
|
|