flowers :)

This commit is contained in:
tess 2021-12-04 18:46:57 +01:00
parent cf3e10a880
commit d4ee6d9097
12 changed files with 83 additions and 2 deletions

View file

@ -0,0 +1,3 @@
source_md5="e56323172c35ab6fbd3e177f6e1c97af"
dest_md5="dca55ff091eaf824465103f8cc26a901"

View file

@ -0,0 +1,3 @@
source_md5="15cacb6c1e984195f0250bbdc0a80679"
dest_md5="60a12895367e63560a2ec4bcaa6b5a89"

Binary file not shown.

BIN
Aseprite/flower.ase Normal file

Binary file not shown.

BIN
Aseprite/flower.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/flower.png-e929cea0d46f4133150363a964ff9c1b.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Aseprite/flower.png"
dest_files=[ "res://.import/flower.png-e929cea0d46f4133150363a964ff9c1b.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

BIN
Aseprite/pot.ase Normal file

Binary file not shown.

BIN
Aseprite/pot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

35
Aseprite/pot.png.import Normal file
View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/pot.png-08258a075506c88cd3e6c030c63a2a97.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Aseprite/pot.png"
dest_files=[ "res://.import/pot.png-08258a075506c88cd3e6c030c63a2a97.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=11 format=2]
[gd_scene load_steps=12 format=2]
[ext_resource path="res://World/Plant.tscn" type="PackedScene" id=1]
[ext_resource path="res://World/FullscreenButton.gd" type="Script" id=2]
@ -8,6 +8,7 @@
[ext_resource path="res://Menu/Volume.gd" type="Script" id=6]
[ext_resource path="res://Aseprite/music.png" type="Texture" id=7]
[ext_resource path="res://Aseprite/music_hover.png" type="Texture" id=8]
[ext_resource path="res://Aseprite/pot.png" type="Texture" id=9]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.14902, 0.0431373, 0.129412, 1 )
@ -73,5 +74,9 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 64, 136 )
texture = ExtResource( 9 )
[connection signal="pressed" from="Panel/FullscreenButton" to="Panel/FullscreenButton" method="_on_FullscreenButton_pressed"]
[connection signal="value_changed" from="Panel/MusicVolume" to="Panel/MusicVolume" method="_on_MusicVolume_value_changed"]

View file

@ -37,7 +37,7 @@ func spawn_pixels():
pixels_x.append(pixels_y)
func plant_seed():
var plant_seed = pixels_x[size.x / 2][size.y - 8]
var plant_seed = pixels_x[size.x / 2][size.y - 10]
plant_seed.active = true
active.append(plant_seed)