1
0
Fork 0
mirror of https://github.com/tonytins/dressupzack synced 2025-06-25 16:14:43 -04:00

Mouth is now properly animanted

- Increased the canvas size of the mouth sprite so they can now animate properly.
- Restored the original background, but I might replace it with an redrawn version in the future with an option to return to the old one.
This commit is contained in:
Anthony Wilcox 2019-01-02 00:51:05 -05:00
parent c91d91c14f
commit 05b137616c
11 changed files with 27 additions and 5 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=11 format=2] [gd_scene load_steps=22 format=2]
[ext_resource path="res://assets/zack_base.png" type="Texture" id=1] [ext_resource path="res://assets/zack_base.png" type="Texture" id=1]
[ext_resource path="res://assets/eyes/eyes1.png" type="Texture" id=2] [ext_resource path="res://assets/eyes/eyes1.png" type="Texture" id=2]
@ -9,16 +9,35 @@
[ext_resource path="res://assets/eyes/eyes6.png" type="Texture" id=7] [ext_resource path="res://assets/eyes/eyes6.png" type="Texture" id=7]
[ext_resource path="res://assets/eyes/eyes7.png" type="Texture" id=8] [ext_resource path="res://assets/eyes/eyes7.png" type="Texture" id=8]
[ext_resource path="res://assets/mouth/mouth.png" type="Texture" id=9] [ext_resource path="res://assets/mouth/mouth.png" type="Texture" id=9]
[ext_resource path="res://assets/mouth/mouth2.png" type="Texture" id=10]
[ext_resource path="res://assets/mouth/mouth3.png" type="Texture" id=11]
[ext_resource path="res://assets/mouth/mouth4.png" type="Texture" id=12]
[ext_resource path="res://assets/mouth/mouth5.png" type="Texture" id=13]
[ext_resource path="res://assets/mouth/mouth6.png" type="Texture" id=14]
[ext_resource path="res://assets/mouth/mouth7.png" type="Texture" id=15]
[ext_resource path="res://assets/mouth/mouth8.png" type="Texture" id=16]
[ext_resource path="res://assets/mouth/mouth9.png" type="Texture" id=17]
[ext_resource path="res://assets/mouth/mouth10.png" type="Texture" id=18]
[ext_resource path="res://assets/mouth/mouth12.png" type="Texture" id=19]
[sub_resource type="SpriteFrames" id=1] [sub_resource type="SpriteFrames" id=1]
animations = [ { animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 2 ), ExtResource( 2 ), ExtResource( 2 ), ExtResource( 3 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 8 ) ], "frames": [ ExtResource( 2 ), ExtResource( 2 ), ExtResource( 2 ), ExtResource( 2 ), ExtResource( 3 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 8 ) ],
"loop": true, "loop": true,
"name": "default", "name": "default",
"speed": 5.0 "speed": 5.0
} ] } ]
[sub_resource type="SpriteFrames" id=2]
animations = [ {
"frames": [ ExtResource( 9 ), ExtResource( 9 ), ExtResource( 10 ), ExtResource( 10 ), ExtResource( 11 ), ExtResource( 11 ), ExtResource( 12 ), ExtResource( 12 ), ExtResource( 13 ), ExtResource( 13 ), ExtResource( 14 ), ExtResource( 14 ), ExtResource( 15 ), ExtResource( 15 ), ExtResource( 15 ), ExtResource( 16 ), ExtResource( 16 ), ExtResource( 16 ), ExtResource( 16 ), ExtResource( 17 ), ExtResource( 17 ), ExtResource( 17 ), ExtResource( 17 ), ExtResource( 18 ), ExtResource( 18 ), ExtResource( 19 ), ExtResource( 19 ) ],
"loop": true,
"name": "default",
"speed": 4.0
} ]
[node name="Zack" type="Node2D" index="0"] [node name="Zack" type="Node2D" index="0"]
[node name="Base" type="Sprite" parent="." index="0"] [node name="Base" type="Sprite" parent="." index="0"]
@ -37,9 +56,12 @@ animation = "default"
frame = 3 frame = 3
playing = true playing = true
[node name="Mouth" type="Sprite" parent="." index="2"] [node name="Mouth" type="AnimatedSprite" parent="." index="2"]
position = Vector2( 98.4389, 276.779 ) position = Vector2( 126.316, 257.474 )
texture = ExtResource( 9 ) frames = SubResource( 2 )
animation = "default"
frame = 22
playing = true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 B

After

Width:  |  Height:  |  Size: 1,000 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B

After

Width:  |  Height:  |  Size: 1.6 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B

After

Width:  |  Height:  |  Size: 1.5 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 193 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 611 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 595 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Before After
Before After