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 --- hackingscene.tscn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'hackingscene.tscn') 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"] -- cgit