initial commit
This commit is contained in:
59
scenes/enemies/turtle/blue/BlueTurtle.tscn
Normal file
59
scenes/enemies/turtle/blue/BlueTurtle.tscn
Normal file
@@ -0,0 +1,59 @@
|
||||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://assets/turtle/blue_walking.png" type="Texture" id=1]
|
||||
[ext_resource path="res://assets/turtle/blue_shell.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="AtlasTexture" id=6]
|
||||
atlas = ExtResource( 2 )
|
||||
region = Rect2( 0, 0, 16, 16 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=1]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 0, 0, 32, 16 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=2]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 32, 0, 32, 16 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=3]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 64, 0, 32, 16 )
|
||||
|
||||
[sub_resource type="SpriteFrames" id=4]
|
||||
animations = [ {
|
||||
"frames": [ SubResource( 6 ) ],
|
||||
"loop": true,
|
||||
"name": "shell",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ) ],
|
||||
"loop": true,
|
||||
"name": "walk",
|
||||
"speed": 6.0
|
||||
} ]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=5]
|
||||
extents = Vector2( 9.5, 8 )
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=7]
|
||||
extents = Vector2( 5.5, 6 )
|
||||
|
||||
[node name="BlueTurtle" type="KinematicBody2D"]
|
||||
collision_layer = 4
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
frames = SubResource( 4 )
|
||||
animation = "walk"
|
||||
frame = 1
|
||||
playing = true
|
||||
|
||||
[node name="NormalCollision" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2( -0.5, 0 )
|
||||
shape = SubResource( 5 )
|
||||
|
||||
[node name="ShellCollision" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2( -0.5, 2 )
|
||||
shape = SubResource( 7 )
|
||||
disabled = true
|
78
scenes/enemies/turtle/grey/GreyTurtle.tscn
Normal file
78
scenes/enemies/turtle/grey/GreyTurtle.tscn
Normal file
@@ -0,0 +1,78 @@
|
||||
[gd_scene load_steps=14 format=2]
|
||||
|
||||
[ext_resource path="res://assets/turtle/grey_walking.png" type="Texture" id=1]
|
||||
[ext_resource path="res://assets/turtle/grey_breaking.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="AtlasTexture" id=8]
|
||||
atlas = ExtResource( 2 )
|
||||
region = Rect2( 0, 0, 32, 16 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=9]
|
||||
atlas = ExtResource( 2 )
|
||||
region = Rect2( 32, 0, 32, 16 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=10]
|
||||
atlas = ExtResource( 2 )
|
||||
region = Rect2( 64, 0, 32, 16 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=11]
|
||||
atlas = ExtResource( 2 )
|
||||
region = Rect2( 96, 0, 32, 16 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=12]
|
||||
atlas = ExtResource( 2 )
|
||||
region = Rect2( 128, 0, 32, 16 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=13]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 0, 0, 32, 16 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=14]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 32, 0, 32, 16 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=15]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 64, 0, 32, 16 )
|
||||
|
||||
[sub_resource type="SpriteFrames" id=4]
|
||||
animations = [ {
|
||||
"frames": [ SubResource( 8 ), SubResource( 9 ), SubResource( 10 ) ],
|
||||
"loop": true,
|
||||
"name": "break",
|
||||
"speed": 3.0
|
||||
}, {
|
||||
"frames": [ SubResource( 11 ), SubResource( 12 ) ],
|
||||
"loop": true,
|
||||
"name": "revive",
|
||||
"speed": 2.0
|
||||
}, {
|
||||
"frames": [ SubResource( 13 ), SubResource( 14 ), SubResource( 15 ) ],
|
||||
"loop": true,
|
||||
"name": "walk",
|
||||
"speed": 6.0
|
||||
} ]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=5]
|
||||
extents = Vector2( 9.5, 8 )
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=7]
|
||||
extents = Vector2( 5.5, 6 )
|
||||
|
||||
[node name="GreyTurtle" type="KinematicBody2D"]
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
frames = SubResource( 4 )
|
||||
animation = "walk"
|
||||
playing = true
|
||||
|
||||
[node name="NormalCollision" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2( -0.5, 0 )
|
||||
shape = SubResource( 5 )
|
||||
|
||||
[node name="ShellCollision" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2( -0.5, 2 )
|
||||
shape = SubResource( 7 )
|
||||
disabled = true
|
57
scenes/enemies/turtle/red/RedTurtle.tscn
Normal file
57
scenes/enemies/turtle/red/RedTurtle.tscn
Normal file
@@ -0,0 +1,57 @@
|
||||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://assets/turtle/red_walking.png" type="Texture" id=1]
|
||||
[ext_resource path="res://assets/turtle/red_shell.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="AtlasTexture" id=8]
|
||||
atlas = ExtResource( 2 )
|
||||
region = Rect2( 0, 0, 16, 16 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=9]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 0, 0, 32, 16 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=10]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 32, 0, 32, 16 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=11]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 64, 0, 32, 16 )
|
||||
|
||||
[sub_resource type="SpriteFrames" id=4]
|
||||
animations = [ {
|
||||
"frames": [ SubResource( 8 ) ],
|
||||
"loop": true,
|
||||
"name": "shell",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 9 ), SubResource( 10 ), SubResource( 11 ) ],
|
||||
"loop": true,
|
||||
"name": "walk",
|
||||
"speed": 6.0
|
||||
} ]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=5]
|
||||
extents = Vector2( 9.5, 8 )
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=7]
|
||||
extents = Vector2( 5.5, 6 )
|
||||
|
||||
[node name="RedTurtle" type="KinematicBody2D"]
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
frames = SubResource( 4 )
|
||||
animation = "walk"
|
||||
playing = true
|
||||
|
||||
[node name="NormalCollision" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2( -0.5, 0 )
|
||||
shape = SubResource( 5 )
|
||||
|
||||
[node name="ShellCollision" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2( -0.5, 2 )
|
||||
shape = SubResource( 7 )
|
||||
disabled = true
|
Reference in New Issue
Block a user