Implemented player controller in client
This commit is contained in:
21
client/nodes/entities/Player.tscn
Normal file
21
client/nodes/entities/Player.tscn
Normal file
@ -0,0 +1,21 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://art/entities/player/dev_player.png" type="Texture" id=1]
|
||||
[ext_resource path="res://scripts/entities/Player.gd" type="Script" id=2]
|
||||
|
||||
[node name="Player" type="KinematicBody2D"]
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_group_": true
|
||||
}
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
current = true
|
||||
zoom = Vector2( 0.5, 0.5 )
|
||||
|
||||
[node name="Line2D" type="Line2D" parent="."]
|
||||
width = 4.0
|
||||
default_color = Color( 1, 0, 0, 1 )
|
6
client/nodes/entities/PlayerPuppet.tscn
Normal file
6
client/nodes/entities/PlayerPuppet.tscn
Normal file
@ -0,0 +1,6 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://art/entities/player/dev_player.png" type="Texture" id=1]
|
||||
|
||||
[node name="PlayerPuppet" type="Sprite"]
|
||||
texture = ExtResource( 1 )
|
Reference in New Issue
Block a user