Add hero runtime
This commit is contained in:
17
godot/scenes/hero/Hero.tscn
Normal file
17
godot/scenes/hero/Hero.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://b1dwy8sg78kxp"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/hero/HeroActor.cs" id="1_hero_actor"]
|
||||
|
||||
[node name="Hero" type="Node2D"]
|
||||
script = ExtResource("1_hero_actor")
|
||||
|
||||
[node name="Body" type="Polygon2D" parent="."]
|
||||
color = Color(0.2, 0.85, 1, 1)
|
||||
polygon = PackedVector2Array(-22, -14, 24, 0, -22, 14, -10, 0)
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
offset_left = -22.0
|
||||
offset_top = 18.0
|
||||
offset_right = 30.0
|
||||
offset_bottom = 41.0
|
||||
text = "Hero"
|
||||
Reference in New Issue
Block a user