From bb0b44bc910b86e8dfa3f0ae708890934421c20c Mon Sep 17 00:00:00 2001 From: Jonas Bernard Date: Sat, 24 Apr 2021 19:39:03 +0200 Subject: heart pixel art --- .../heart.png-7624e148278eed12edb42012983cd6b6.md5 | 3 ++ ...heart.png-7624e148278eed12edb42012983cd6b6.stex | Bin 0 -> 202 bytes hackingscene.tscn | 7 ++++- textures/icons/heart.png | Bin 0 -> 637 bytes textures/icons/heart.png.import | 34 +++++++++++++++++++++ textures/icons/heart.xcf | Bin 0 -> 1050 bytes textures/icons/heart_fill.png | Bin 0 -> 641 bytes textures/icons/heart_fill.xcf | Bin 0 -> 899 bytes 8 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 .import/heart.png-7624e148278eed12edb42012983cd6b6.md5 create mode 100644 .import/heart.png-7624e148278eed12edb42012983cd6b6.stex create mode 100644 textures/icons/heart.png create mode 100644 textures/icons/heart.png.import create mode 100644 textures/icons/heart.xcf create mode 100644 textures/icons/heart_fill.png create mode 100644 textures/icons/heart_fill.xcf diff --git a/.import/heart.png-7624e148278eed12edb42012983cd6b6.md5 b/.import/heart.png-7624e148278eed12edb42012983cd6b6.md5 new file mode 100644 index 0000000..77ca65e --- /dev/null +++ b/.import/heart.png-7624e148278eed12edb42012983cd6b6.md5 @@ -0,0 +1,3 @@ +source_md5="fdf9dd427c5dce1e61a2bd81f84ce10d" +dest_md5="92e788cd81f2b4677c2b1a7100215988" + diff --git a/.import/heart.png-7624e148278eed12edb42012983cd6b6.stex b/.import/heart.png-7624e148278eed12edb42012983cd6b6.stex new file mode 100644 index 0000000..46e57fc Binary files /dev/null and b/.import/heart.png-7624e148278eed12edb42012983cd6b6.stex differ diff --git a/hackingscene.tscn b/hackingscene.tscn index 9803476..2131e5f 100644 --- a/hackingscene.tscn +++ b/hackingscene.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=8 format=2] +[gd_scene load_steps=9 format=2] [ext_resource path="res://textures/background.png" type="Texture" id=1] [ext_resource path="res://textures/rooot.png" type="Texture" id=2] @@ -6,6 +6,7 @@ [ext_resource path="res://default_env.tres" type="Environment" id=4] [ext_resource path="res://components/HackButton.tscn" type="PackedScene" id=5] [ext_resource path="res://hackingscene.gd" type="Script" id=6] +[ext_resource path="res://textures/icons/heart.png" type="Texture" id=7] [sub_resource type="Curve2D" id=1] _data = { @@ -39,4 +40,8 @@ texture = ExtResource( 2 ) environment = ExtResource( 4 ) [node name="HackButton" parent="." instance=ExtResource( 5 )] + +[node name="heart" type="Sprite" parent="."] +position = Vector2( 467.501, -263.722 ) +texture = ExtResource( 7 ) [connection signal="on_click" from="HackButton" to="." method="_on_HackButton_on_click"] diff --git a/textures/icons/heart.png b/textures/icons/heart.png new file mode 100644 index 0000000..00fd382 Binary files /dev/null and b/textures/icons/heart.png differ diff --git a/textures/icons/heart.png.import b/textures/icons/heart.png.import new file mode 100644 index 0000000..a98d461 --- /dev/null +++ b/textures/icons/heart.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/heart.png-7624e148278eed12edb42012983cd6b6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/icons/heart.png" +dest_files=[ "res://.import/heart.png-7624e148278eed12edb42012983cd6b6.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/textures/icons/heart.xcf b/textures/icons/heart.xcf new file mode 100644 index 0000000..3ff39a3 Binary files /dev/null and b/textures/icons/heart.xcf differ diff --git a/textures/icons/heart_fill.png b/textures/icons/heart_fill.png new file mode 100644 index 0000000..8749855 Binary files /dev/null and b/textures/icons/heart_fill.png differ diff --git a/textures/icons/heart_fill.xcf b/textures/icons/heart_fill.xcf new file mode 100644 index 0000000..1e2d32c Binary files /dev/null and b/textures/icons/heart_fill.xcf differ -- cgit