mirror of
https://github.com/SEISYUNLie/Platform-Jump.git
synced 2026-10-27 03:11:10 +08:00
Initial commit
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
[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://scenes/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 = 5.0
|
||||
height = 17.0
|
||||
|
||||
[node name="Player" type="CharacterBody2D" unique_id=1749745791]
|
||||
collision_layer = 2
|
||||
script = ExtResource("1_g2els")
|
||||
double_press_interval = null
|
||||
move_speed = null
|
||||
acceleration = null
|
||||
deceleration = null
|
||||
jump_velocity = null
|
||||
invincibility_duration = null
|
||||
|
||||
[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, 2)
|
||||
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")
|
||||
Reference in New Issue
Block a user