ajout mod poulpe
This commit is contained in:
parent
4bab72b7d4
commit
2ae314b374
16 changed files with 296 additions and 7 deletions
33
scenes/enemies/poulpe.tscn
Normal file
33
scenes/enemies/poulpe.tscn
Normal file
|
@ -0,0 +1,33 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://voiqrkjd02om"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/enemies/poulpe.gd" id="1_hu6wh"]
|
||||
[ext_resource type="Texture2D" uid="uid://2spn60rmdyy5" path="res://ressources/images/poulpe-1.png" id="1_lgwa7"]
|
||||
[ext_resource type="Texture2D" uid="uid://b4ukmsspx16f" path="res://ressources/images/poulpe-2.png" id="2_5x4i5"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_2hq77"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1_lgwa7")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_5x4i5")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"Generic",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_s7foh"]
|
||||
radius = 38.2753
|
||||
|
||||
[node name="Poulpe" type="CharacterBody2D"]
|
||||
script = ExtResource("1_hu6wh")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
scale = Vector2(0.4, 0.4)
|
||||
sprite_frames = SubResource("SpriteFrames_2hq77")
|
||||
animation = &"Generic"
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_s7foh")
|
Loading…
Add table
Add a link
Reference in a new issue