mirror of
https://github.com/SEISYUNLie/Platform-Jump.git
synced 2026-10-23 17:31:11 +08:00
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
[gd_scene format=3 uid="uid://c1u8k6ny02t4y"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cgkn1cd8uhunb" path="res://assets/game/characters/player_green_idle.png" id="1_character"]
|
|
[ext_resource type="Script" uid="uid://b0gltif7vthau" path="res://scripts/player_controller.gd" id="1_g2els"]
|
|
[ext_resource type="Script" uid="uid://3pm2vt1do0dd" path="res://scripts/camera_2d.gd" id="3_dqkch"]
|
|
[ext_resource type="Texture2D" uid="uid://dyiiy25t1v6a1" path="res://assets/kenney/characters/tile_0001.png" id="3_qhqgy"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_player"]
|
|
radius = 7.0
|
|
height = 17.0
|
|
|
|
[node name="Player" type="CharacterBody2D" unique_id=1749745791]
|
|
collision_layer = 2
|
|
script = ExtResource("1_g2els")
|
|
|
|
[node name="jump" type="Sprite2D" parent="." unique_id=1345864522]
|
|
texture_filter = 1
|
|
texture = ExtResource("1_character")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1631249303]
|
|
position = Vector2(0, 1)
|
|
shape = SubResource("CapsuleShape2D_player")
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="." unique_id=1136280684]
|
|
zoom = Vector2(2, 2)
|
|
limit_left = 0
|
|
limit_top = 0
|
|
limit_right = 468
|
|
limit_bottom = 270
|
|
position_smoothing_enabled = true
|
|
position_smoothing_speed = 6.0
|
|
script = ExtResource("3_dqkch")
|
|
|
|
[node name="idel" type="Sprite2D" parent="." unique_id=1841773488]
|
|
texture = ExtResource("3_qhqgy")
|