From 5a0815a8d77823ac37cbf79abc3fb9d232f1d527 Mon Sep 17 00:00:00 2001 From: Jonas Bernard Date: Tue, 27 Apr 2021 02:37:14 +0200 Subject: Puzzle Hint --- .../paper.png-0962fae8de60241ddea17a976fc7af7d.md5 | 3 ++ ...paper.png-0962fae8de60241ddea17a976fc7af7d.stex | Bin 0 -> 48417 bytes scenes/levels/puzzle/puzzle.tscn | 8 ++++- textures/paper.png | Bin 0 -> 46699 bytes textures/paper.png.import | 34 +++++++++++++++++++++ textures/paper.xcf | Bin 0 -> 293133 bytes 6 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 .import/paper.png-0962fae8de60241ddea17a976fc7af7d.md5 create mode 100644 .import/paper.png-0962fae8de60241ddea17a976fc7af7d.stex create mode 100644 textures/paper.png create mode 100644 textures/paper.png.import create mode 100644 textures/paper.xcf diff --git a/.import/paper.png-0962fae8de60241ddea17a976fc7af7d.md5 b/.import/paper.png-0962fae8de60241ddea17a976fc7af7d.md5 new file mode 100644 index 0000000..fc61598 --- /dev/null +++ b/.import/paper.png-0962fae8de60241ddea17a976fc7af7d.md5 @@ -0,0 +1,3 @@ +source_md5="ae51f745d362234daaf655d18f213e94" +dest_md5="5a27bac66449e739b938305a225e9680" + diff --git a/.import/paper.png-0962fae8de60241ddea17a976fc7af7d.stex b/.import/paper.png-0962fae8de60241ddea17a976fc7af7d.stex new file mode 100644 index 0000000..49faa4d Binary files /dev/null and b/.import/paper.png-0962fae8de60241ddea17a976fc7af7d.stex differ diff --git a/scenes/levels/puzzle/puzzle.tscn b/scenes/levels/puzzle/puzzle.tscn index 4b061c8..8cfa891 100644 --- a/scenes/levels/puzzle/puzzle.tscn +++ b/scenes/levels/puzzle/puzzle.tscn @@ -1,9 +1,15 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=3 format=2] [ext_resource path="res://scenes/levels/puzzle/puzzle.gd" type="Script" id=1] +[ext_resource path="res://textures/paper.png" type="Texture" id=2] [node name="Node2D2" type="Node2D"] position = Vector2( 533.969, 239.439 ) script = ExtResource( 1 ) [node name="Pieces" type="Node2D" parent="."] + +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( -203.09, 8.55249 ) +scale = Vector2( 0.363041, 0.363041 ) +texture = ExtResource( 2 ) diff --git a/textures/paper.png b/textures/paper.png new file mode 100644 index 0000000..73eb0ba Binary files /dev/null and b/textures/paper.png differ diff --git a/textures/paper.png.import b/textures/paper.png.import new file mode 100644 index 0000000..7a46bc1 --- /dev/null +++ b/textures/paper.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/paper.png-0962fae8de60241ddea17a976fc7af7d.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/paper.png" +dest_files=[ "res://.import/paper.png-0962fae8de60241ddea17a976fc7af7d.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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/textures/paper.xcf b/textures/paper.xcf new file mode 100644 index 0000000..0169a4a Binary files /dev/null and b/textures/paper.xcf differ -- cgit