add camera script to player camer
This commit is contained in:
parent
96a64077bf
commit
160f86f35a
@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=30 format=2]
|
[gd_scene load_steps=31 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://assets/player/idle.png" type="Texture" id=1]
|
[ext_resource path="res://assets/player/idle.png" type="Texture" id=1]
|
||||||
[ext_resource path="res://assets/player/death.png" type="Texture" id=2]
|
[ext_resource path="res://assets/player/death.png" type="Texture" id=2]
|
||||||
@ -10,6 +10,7 @@
|
|||||||
[ext_resource path="res://assets/player/surface_rising.png" type="Texture" id=8]
|
[ext_resource path="res://assets/player/surface_rising.png" type="Texture" id=8]
|
||||||
[ext_resource path="res://assets/player/climbing.png" type="Texture" id=9]
|
[ext_resource path="res://assets/player/climbing.png" type="Texture" id=9]
|
||||||
[ext_resource path="res://scenes/player/Player.cs" type="Script" id=10]
|
[ext_resource path="res://scenes/player/Player.cs" type="Script" id=10]
|
||||||
|
[ext_resource path="res://scenes/player/Camera.cs" type="Script" id=11]
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=18]
|
[sub_resource type="AtlasTexture" id=18]
|
||||||
atlas = ExtResource( 9 )
|
atlas = ExtResource( 9 )
|
||||||
@ -146,6 +147,7 @@ shape = SubResource( 4 )
|
|||||||
|
|
||||||
[node name="Camera2D" type="Camera2D" parent="."]
|
[node name="Camera2D" type="Camera2D" parent="."]
|
||||||
current = true
|
current = true
|
||||||
|
script = ExtResource( 11 )
|
||||||
|
|
||||||
[node name="CayoteTimer" type="Timer" parent="."]
|
[node name="CayoteTimer" type="Timer" parent="."]
|
||||||
wait_time = 0.2
|
wait_time = 0.2
|
||||||
|
Loading…
Reference in New Issue
Block a user