Intialize and cleanup repo
This commit is contained in:
16
client/nodes/entities/crystal.tscn
Normal file
16
client/nodes/entities/crystal.tscn
Normal file
@ -0,0 +1,16 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://assets/images/entities/crystal.png" type="Texture" id=1]
|
||||
[ext_resource path="res://scripts/entities/LifeCrystal.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
radius = 16.0
|
||||
|
||||
[node name="LifeCrystal" type="Area2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 1 )
|
35
client/nodes/entities/player.tscn
Normal file
35
client/nodes/entities/player.tscn
Normal file
@ -0,0 +1,35 @@
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://assets/images/character/iron_player.png" type="Texture" id=1]
|
||||
[ext_resource path="res://scripts/entities/Player.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
|
||||
[sub_resource type="DynamicFontData" id=2]
|
||||
font_path = "res://assets/fonts/hf-free-complete/compass-pro-v1.1/CompassPro.ttf"
|
||||
|
||||
[sub_resource type="DynamicFont" id=3]
|
||||
font_data = SubResource( 2 )
|
||||
|
||||
[node name="Player" type="KinematicBody2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
margin_left = -32.0
|
||||
margin_top = -30.0
|
||||
margin_right = 32.0
|
||||
margin_bottom = -10.0
|
||||
custom_fonts/font = SubResource( 3 )
|
||||
custom_colors/font_color = Color( 1, 1, 1, 0.607843 )
|
||||
text = "Username"
|
||||
align = 1
|
||||
valign = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
Reference in New Issue
Block a user