My first 2D game in Godot 4.4
This commit is contained in:
21
monster.tscn
Normal file
21
monster.tscn
Normal file
@@ -0,0 +1,21 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://5dgdagljfax1"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://btk7g8n7jstwp" path="res://monster.gd" id="1_mrqeg"]
|
||||
[ext_resource type="PackedScene" uid="uid://ogik4s70pgwl" path="res://characters/slime/slime.tscn" id="2_ga5te"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_vr0w3"]
|
||||
radius = 45.815
|
||||
height = 114.012
|
||||
|
||||
[node name="Monster" type="CharacterBody2D"]
|
||||
collision_layer = 2
|
||||
collision_mask = 3
|
||||
script = ExtResource("1_mrqeg")
|
||||
|
||||
[node name="Slime" parent="." instance=ExtResource("2_ga5te")]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, -32)
|
||||
rotation = -1.57878
|
||||
shape = SubResource("CapsuleShape2D_vr0w3")
|
||||
Reference in New Issue
Block a user