第一次提交作业
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
[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"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_player"]
|
||||
radius = 5.0
|
||||
height = 17.0
|
||||
|
||||
[node name="Player" type="CharacterBody2D" unique_id=2098904787]
|
||||
collision_layer = 2
|
||||
collision_mask = 4
|
||||
script = ExtResource("1_g2els")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=921388463]
|
||||
texture_filter = 1
|
||||
texture = ExtResource("1_character")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=151099089]
|
||||
position = Vector2(0, 2)
|
||||
shape = SubResource("CapsuleShape2D_player")
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="." unique_id=580107698]
|
||||
zoom = Vector2(2, 2)
|
||||
limit_left = 0
|
||||
limit_top = 0
|
||||
limit_right = 2107
|
||||
limit_bottom = 635
|
||||
position_smoothing_enabled = true
|
||||
position_smoothing_speed = 6.0
|
||||
Reference in New Issue
Block a user