pandemonium_demo_projects/misc/2.5d/assets/player/player_25d.tscn

42 lines
1.2 KiB
Plaintext

[gd_scene load_steps=7 format=2]
[ext_resource path="res://addons/node25d/node_25d.gd" type="Script" id=1]
[ext_resource path="res://addons/node25d/icons/node_25d_icon.png" type="Texture" id=2]
[ext_resource path="res://assets/player/player_math_25d.gd" type="Script" id=3]
[ext_resource path="res://assets/player/textures/jump.png" type="Texture" id=4]
[ext_resource path="res://assets/player/player_sprite.gd" type="Script" id=5]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.5, 1, 0.5 )
[node name="Player25D" type="Node2D"]
position = Vector2( 0, -226.274 )
z_index = 100
script = ExtResource( 1 )
__meta__ = {
"_editor_icon": ExtResource( 2 )
}
spatial_position = Vector3( 0, 10, 0 )
[node name="PlayerMath25D" type="KinematicBody" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, 0 )
script = ExtResource( 3 )
[node name="CollisionShape" type="CollisionShape" parent="PlayerMath25D"]
shape = SubResource( 1 )
__meta__ = {
"_edit_lock_": true
}
[node name="PlayerSprite" type="Sprite" parent="."]
scale = Vector2( 1, 0.75 )
z_index = 1
texture = ExtResource( 4 )
offset = Vector2( 0, 4 )
hframes = 2
vframes = 5
script = ExtResource( 5 )
[node name="PlayerCamera" type="Camera2D" parent="PlayerSprite"]
current = true