Initial commit
This commit is contained in:
14
nodes/Enemies/Orc.tscn
Normal file
14
nodes/Enemies/Orc.tscn
Normal file
@ -0,0 +1,14 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://art/kenney_microroguelike_1.2/Tiles/Colored/tile_0011.png" type="Texture" id=1]
|
||||
[ext_resource path="res://art/ScalingMaterial.tres" type="Material" id=2]
|
||||
[ext_resource path="res://scripts/Enemy.cs" type="Script" id=3]
|
||||
|
||||
[node name="Orc" type="KinematicBody2D"]
|
||||
script = ExtResource( 3 )
|
||||
creatureName = "Orc"
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
material = ExtResource( 2 )
|
||||
texture = ExtResource( 1 )
|
||||
offset = Vector2( 4, 4 )
|
17
nodes/Player.tscn
Normal file
17
nodes/Player.tscn
Normal file
@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://art/kenney_microroguelike_1.2/Tiles/Colored/tile_0005.png" type="Texture" id=1]
|
||||
[ext_resource path="res://art/ScalingMaterial.tres" type="Material" id=2]
|
||||
[ext_resource path="res://scripts/Player.cs" type="Script" id=3]
|
||||
|
||||
[node name="Player" type="KinematicBody2D"]
|
||||
script = ExtResource( 3 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
material = ExtResource( 2 )
|
||||
position = Vector2( 4, 4 )
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
current = true
|
||||
zoom = Vector2( 0.25, 0.25 )
|
22
nodes/PlayerGui.tscn
Normal file
22
nodes/PlayerGui.tscn
Normal file
@ -0,0 +1,22 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/PlayerGui.cs" type="Script" id=1]
|
||||
|
||||
[node name="PlayerGui" type="CanvasLayer"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="HealthBar" type="ProgressBar" parent="Control"]
|
||||
margin_left = 10.1083
|
||||
margin_top = 8.91905
|
||||
margin_right = 252.108
|
||||
margin_bottom = 22.9191
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
Reference in New Issue
Block a user