1
0
Files
godotminiprojects/Physics/Physics.tscn
FoxSpellCaster 00a1e92556 Lesson 10
2025-01-10 20:20:30 -05:00

25 lines
822 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://ynpyx1a6qtoq"]
[ext_resource type="Texture2D" uid="uid://fxeb0j820f47" path="res://Physics/PhysicsCharacter.png" id="1_8qjul"]
[ext_resource type="Script" uid="uid://c5pwbg75g5n8q" path="res://Physics/PhysicsPlayer.gd" id="1_ry666"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8qjul"]
size = Vector2(18, 18)
[node name="Main" type="Node2D"]
[node name="Player" type="RigidBody2D" parent="."]
mass = 5.0
gravity_scale = 0.0
linear_damp = 1.0
script = ExtResource("1_ry666")
[node name="PhysicsCharacter" type="Sprite2D" parent="Player"]
texture = ExtResource("1_8qjul")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player"]
shape = SubResource("RectangleShape2D_8qjul")
[node name="Camera2D" type="Camera2D" parent="."]
zoom = Vector2(4, 4)