From 47d6d16267965387465460c28078a378a5bfbc62 Mon Sep 17 00:00:00 2001 From: radiohotline Date: Thu, 22 Jan 2026 16:16:25 +0300 Subject: peace and love on planet earth (added preliminary icons and windows) --- Logseq/logseq/.recycle/journals_2026_01_05.md | 1 + Logseq/pages/Computer.md | 12 +++- Logseq/pages/Story.md | 1 + icon.svg.import | 43 ++++++++++++++ img/pc/bin.png | Bin 0 -> 11971 bytes img/pc/bin.png.import | 40 +++++++++++++ img/pc/browser.png | Bin 0 -> 14638 bytes img/pc/browser.png.import | 40 +++++++++++++ img/pc/cmd.png | Bin 0 -> 5971 bytes img/pc/cmd.png.import | 40 +++++++++++++ img/pc/computer.png | Bin 0 -> 15645 bytes img/pc/computer.png.import | 40 +++++++++++++ img/pc/documents.png | Bin 0 -> 14683 bytes img/pc/documents.png.import | 40 +++++++++++++ img/pc/explorer.png | Bin 0 -> 13671 bytes img/pc/explorer.png.import | 40 +++++++++++++ img/pc/folder.png | Bin 0 -> 9843 bytes img/pc/folder.png.import | 40 +++++++++++++ img/pc/image.png | Bin 0 -> 10099 bytes img/pc/image.png.import | 40 +++++++++++++ img/pc/minesweeper.png | Bin 0 -> 12319 bytes img/pc/minesweeper.png.import | 40 +++++++++++++ img/pc/msn.png | Bin 0 -> 11417 bytes img/pc/msn.png.import | 40 +++++++++++++ img/pc/notepad.png | Bin 0 -> 13482 bytes img/pc/notepad.png.import | 40 +++++++++++++ img/pc/paint.png | Bin 0 -> 11713 bytes img/pc/paint.png.import | 40 +++++++++++++ img/pc/pinball.png | Bin 0 -> 14454 bytes img/pc/pinball.png.import | 40 +++++++++++++ img/pc/solitaire.png | Bin 0 -> 10446 bytes img/pc/solitaire.png.import | 40 +++++++++++++ img/pc/wallpaper.jpg | Bin 0 -> 289478 bytes img/pc/wallpaper.jpg.import | 40 +++++++++++++ img/pc/win.png | Bin 0 -> 229 bytes img/pc/win.png.import | 40 +++++++++++++ project.godot | 11 +++- scripts/app.gd | 24 ++++++++ scripts/app.gd.uid | 1 + scripts/text_edit.gd | 1 + scripts/text_edit.gd.uid | 1 + scripts/window.gd | 22 +++++++ scripts/window.gd.uid | 1 + test.tscn | 80 ++++++++++++++++++++++++++ 44 files changed, 834 insertions(+), 4 deletions(-) create mode 100644 Logseq/logseq/.recycle/journals_2026_01_05.md create mode 100644 icon.svg.import create mode 100644 img/pc/bin.png create mode 100644 img/pc/bin.png.import create mode 100644 img/pc/browser.png create mode 100644 img/pc/browser.png.import create mode 100644 img/pc/cmd.png create mode 100644 img/pc/cmd.png.import create mode 100644 img/pc/computer.png create mode 100644 img/pc/computer.png.import create mode 100644 img/pc/documents.png create mode 100644 img/pc/documents.png.import create mode 100644 img/pc/explorer.png create mode 100644 img/pc/explorer.png.import create mode 100644 img/pc/folder.png create mode 100644 img/pc/folder.png.import create mode 100644 img/pc/image.png create mode 100644 img/pc/image.png.import create mode 100644 img/pc/minesweeper.png create mode 100644 img/pc/minesweeper.png.import create mode 100644 img/pc/msn.png create mode 100644 img/pc/msn.png.import create mode 100644 img/pc/notepad.png create mode 100644 img/pc/notepad.png.import create mode 100644 img/pc/paint.png create mode 100644 img/pc/paint.png.import create mode 100644 img/pc/pinball.png create mode 100644 img/pc/pinball.png.import create mode 100644 img/pc/solitaire.png create mode 100644 img/pc/solitaire.png.import create mode 100644 img/pc/wallpaper.jpg create mode 100644 img/pc/wallpaper.jpg.import create mode 100644 img/pc/win.png create mode 100644 img/pc/win.png.import create mode 100644 scripts/app.gd create mode 100644 scripts/app.gd.uid create mode 100644 scripts/text_edit.gd create mode 100644 scripts/text_edit.gd.uid create mode 100644 scripts/window.gd create mode 100644 scripts/window.gd.uid create mode 100644 test.tscn diff --git a/Logseq/logseq/.recycle/journals_2026_01_05.md b/Logseq/logseq/.recycle/journals_2026_01_05.md new file mode 100644 index 0000000..3cf20d5 --- /dev/null +++ b/Logseq/logseq/.recycle/journals_2026_01_05.md @@ -0,0 +1 @@ +- \ No newline at end of file diff --git a/Logseq/pages/Computer.md b/Logseq/pages/Computer.md index 4e54999..b844997 100644 --- a/Logseq/pages/Computer.md +++ b/Logseq/pages/Computer.md @@ -3,12 +3,22 @@ - ## Text editor - simple. for notes the player can take. - ## Games + - mostly for practice, not all will be in the game - Ambient racing game - Minesweeper - Conway's Game Of Life (My Redemption Arc) - - Hangman? + - Hangman - Maze game - FPS + - tic tac toe + - rock paper scissors + - pong + - snake + - memory + - space invaders + - virtual pet + - maze + - blackjack - ## DAW - extremely barebones. only purpose is to combine premade guitar tracks with programmable drums. - also used by the girl to record emo poetry \ No newline at end of file diff --git a/Logseq/pages/Story.md b/Logseq/pages/Story.md index 2e5f99a..4e666a3 100644 --- a/Logseq/pages/Story.md +++ b/Logseq/pages/Story.md @@ -5,6 +5,7 @@ - he visits the irc channel of some linuxy thing where someone asks for help, but he ends up in an argument with the girl about best practices - they take it to dms to discuss - conversation eventually turns to why they chose their ways, which reveals stuff about their hobbies, which itself reveals stuff about themselves + id:: 695bc7ce-436c-4426-99ae-82e9b1116f78 - now they know each other's names - # Chapter the second - Guy continues hacking away at the thing diff --git a/icon.svg.import b/icon.svg.import new file mode 100644 index 0000000..3105044 --- /dev/null +++ b/icon.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://fteyxd834he0" +path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.svg" +dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/img/pc/bin.png b/img/pc/bin.png new file mode 100644 index 0000000..7acf0f8 Binary files /dev/null and b/img/pc/bin.png differ diff --git a/img/pc/bin.png.import b/img/pc/bin.png.import new file mode 100644 index 0000000..6ff1ca1 --- /dev/null +++ b/img/pc/bin.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dh5a4tqfpqm8d" +path="res://.godot/imported/bin.png-c37f24990308baa7c843b67a8ef91f2f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/bin.png" +dest_files=["res://.godot/imported/bin.png-c37f24990308baa7c843b67a8ef91f2f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/img/pc/browser.png b/img/pc/browser.png new file mode 100644 index 0000000..48a1c29 Binary files /dev/null and b/img/pc/browser.png differ diff --git a/img/pc/browser.png.import b/img/pc/browser.png.import new file mode 100644 index 0000000..feb2cf9 --- /dev/null +++ b/img/pc/browser.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dkseo7n8t4lc3" +path="res://.godot/imported/browser.png-1b5f8ea87d0b1b121a57d705aa3bb58d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/browser.png" +dest_files=["res://.godot/imported/browser.png-1b5f8ea87d0b1b121a57d705aa3bb58d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/img/pc/cmd.png b/img/pc/cmd.png new file mode 100644 index 0000000..7c48231 Binary files /dev/null and b/img/pc/cmd.png differ diff --git a/img/pc/cmd.png.import b/img/pc/cmd.png.import new file mode 100644 index 0000000..ef042a8 --- /dev/null +++ b/img/pc/cmd.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://hnsk1jqvsy68" +path="res://.godot/imported/cmd.png-124893cd5f8ed4cdc805e72d25e69da5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/cmd.png" +dest_files=["res://.godot/imported/cmd.png-124893cd5f8ed4cdc805e72d25e69da5.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/img/pc/computer.png b/img/pc/computer.png new file mode 100644 index 0000000..335dc8b Binary files /dev/null and b/img/pc/computer.png differ diff --git a/img/pc/computer.png.import b/img/pc/computer.png.import new file mode 100644 index 0000000..7d7fd1d --- /dev/null +++ b/img/pc/computer.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://di17d7cf6r1dv" +path="res://.godot/imported/computer.png-ea9957bb782bac2f044bbe9021995488.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/computer.png" +dest_files=["res://.godot/imported/computer.png-ea9957bb782bac2f044bbe9021995488.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/img/pc/documents.png b/img/pc/documents.png new file mode 100644 index 0000000..b7d9181 Binary files /dev/null and b/img/pc/documents.png differ diff --git a/img/pc/documents.png.import b/img/pc/documents.png.import new file mode 100644 index 0000000..9dc9a22 --- /dev/null +++ b/img/pc/documents.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://428moj3me1m" +path="res://.godot/imported/documents.png-7cdfc0115ee77a1b1226d48360a09d6f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/documents.png" +dest_files=["res://.godot/imported/documents.png-7cdfc0115ee77a1b1226d48360a09d6f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/img/pc/explorer.png b/img/pc/explorer.png new file mode 100644 index 0000000..7bbd2f6 Binary files /dev/null and b/img/pc/explorer.png differ diff --git a/img/pc/explorer.png.import b/img/pc/explorer.png.import new file mode 100644 index 0000000..dc604de --- /dev/null +++ b/img/pc/explorer.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://df0qg6hqqcapr" +path="res://.godot/imported/explorer.png-b5339b4da43282633f1f989d45f1dfc5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/explorer.png" +dest_files=["res://.godot/imported/explorer.png-b5339b4da43282633f1f989d45f1dfc5.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/img/pc/folder.png b/img/pc/folder.png new file mode 100644 index 0000000..9511407 Binary files /dev/null and b/img/pc/folder.png differ diff --git a/img/pc/folder.png.import b/img/pc/folder.png.import new file mode 100644 index 0000000..593178d --- /dev/null +++ b/img/pc/folder.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ch74o71t4kjv" +path="res://.godot/imported/folder.png-4c09ef8fdfe80e9c60de721f7f020864.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/folder.png" +dest_files=["res://.godot/imported/folder.png-4c09ef8fdfe80e9c60de721f7f020864.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/img/pc/image.png b/img/pc/image.png new file mode 100644 index 0000000..e3925ad Binary files /dev/null and b/img/pc/image.png differ diff --git a/img/pc/image.png.import b/img/pc/image.png.import new file mode 100644 index 0000000..da78d26 --- /dev/null +++ b/img/pc/image.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://x1hcfher7qlm" +path="res://.godot/imported/image.png-2d6cf180f98b2b0a7822013fafa91f23.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/image.png" +dest_files=["res://.godot/imported/image.png-2d6cf180f98b2b0a7822013fafa91f23.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/img/pc/minesweeper.png b/img/pc/minesweeper.png new file mode 100644 index 0000000..2cc10d6 Binary files /dev/null and b/img/pc/minesweeper.png differ diff --git a/img/pc/minesweeper.png.import b/img/pc/minesweeper.png.import new file mode 100644 index 0000000..7a81a25 --- /dev/null +++ b/img/pc/minesweeper.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bc2mnph87fj8a" +path="res://.godot/imported/minesweeper.png-eab713aeeb0037495b18b2b6dc18a5ee.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/minesweeper.png" +dest_files=["res://.godot/imported/minesweeper.png-eab713aeeb0037495b18b2b6dc18a5ee.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/img/pc/msn.png b/img/pc/msn.png new file mode 100644 index 0000000..d16d378 Binary files /dev/null and b/img/pc/msn.png differ diff --git a/img/pc/msn.png.import b/img/pc/msn.png.import new file mode 100644 index 0000000..0a493de --- /dev/null +++ b/img/pc/msn.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ds5o32jdjik6y" +path="res://.godot/imported/msn.png-faae56bf9111cbf61be9341fd700928c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/msn.png" +dest_files=["res://.godot/imported/msn.png-faae56bf9111cbf61be9341fd700928c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/img/pc/notepad.png b/img/pc/notepad.png new file mode 100644 index 0000000..dde2eae Binary files /dev/null and b/img/pc/notepad.png differ diff --git a/img/pc/notepad.png.import b/img/pc/notepad.png.import new file mode 100644 index 0000000..4f2657e --- /dev/null +++ b/img/pc/notepad.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bkd1wowcckcp3" +path="res://.godot/imported/notepad.png-0101dc249f7efbb79d4be489e54139c4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/notepad.png" +dest_files=["res://.godot/imported/notepad.png-0101dc249f7efbb79d4be489e54139c4.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/img/pc/paint.png b/img/pc/paint.png new file mode 100644 index 0000000..39436a2 Binary files /dev/null and b/img/pc/paint.png differ diff --git a/img/pc/paint.png.import b/img/pc/paint.png.import new file mode 100644 index 0000000..5e79ff9 --- /dev/null +++ b/img/pc/paint.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://v643j0dbsbka" +path="res://.godot/imported/paint.png-58bd20ed66b37e7c99690670487ed27c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/paint.png" +dest_files=["res://.godot/imported/paint.png-58bd20ed66b37e7c99690670487ed27c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/img/pc/pinball.png b/img/pc/pinball.png new file mode 100644 index 0000000..47424fd Binary files /dev/null and b/img/pc/pinball.png differ diff --git a/img/pc/pinball.png.import b/img/pc/pinball.png.import new file mode 100644 index 0000000..1f412d8 --- /dev/null +++ b/img/pc/pinball.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://3ag1gqkitwl8" +path="res://.godot/imported/pinball.png-f64b43d628d64f2a5aff68c8842423f4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/pinball.png" +dest_files=["res://.godot/imported/pinball.png-f64b43d628d64f2a5aff68c8842423f4.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/img/pc/solitaire.png b/img/pc/solitaire.png new file mode 100644 index 0000000..440a72b Binary files /dev/null and b/img/pc/solitaire.png differ diff --git a/img/pc/solitaire.png.import b/img/pc/solitaire.png.import new file mode 100644 index 0000000..8c0ed50 --- /dev/null +++ b/img/pc/solitaire.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://5hhlbouio82x" +path="res://.godot/imported/solitaire.png-94206fe2dffc8a27b333dcfabeb4894f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/solitaire.png" +dest_files=["res://.godot/imported/solitaire.png-94206fe2dffc8a27b333dcfabeb4894f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/img/pc/wallpaper.jpg b/img/pc/wallpaper.jpg new file mode 100644 index 0000000..f73611d Binary files /dev/null and b/img/pc/wallpaper.jpg differ diff --git a/img/pc/wallpaper.jpg.import b/img/pc/wallpaper.jpg.import new file mode 100644 index 0000000..fdd9bcf --- /dev/null +++ b/img/pc/wallpaper.jpg.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dasy6m8kpf6ca" +path="res://.godot/imported/wallpaper.jpg-8120da1c15ec21a4a23975a30b17fcdd.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/wallpaper.jpg" +dest_files=["res://.godot/imported/wallpaper.jpg-8120da1c15ec21a4a23975a30b17fcdd.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/img/pc/win.png b/img/pc/win.png new file mode 100644 index 0000000..99d6b68 Binary files /dev/null and b/img/pc/win.png differ diff --git a/img/pc/win.png.import b/img/pc/win.png.import new file mode 100644 index 0000000..75ae570 --- /dev/null +++ b/img/pc/win.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://whn2knfhmikb" +path="res://.godot/imported/win.png-808e6a0c860c672bfd7233d141d61063.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://img/pc/win.png" +dest_files=["res://.godot/imported/win.png-808e6a0c860c672bfd7233d141d61063.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/project.godot b/project.godot index ac5109a..b9de75c 100644 --- a/project.godot +++ b/project.godot @@ -11,9 +11,14 @@ config_version=5 [application] config/name="Programmer game" -config/features=PackedStringArray("4.4", "Forward Plus") +run/main_scene="uid://ctyp7ogh4dg4m" +config/features=PackedStringArray("4.5", "Forward Plus") config/icon="res://icon.svg" -[rendering] +[input] -renderer/rendering_method="forward_plus" +mouse1={ +"deadzone": 0.2, +"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":1,"canceled":false,"pressed":false,"double_click":false,"script":null) +] +} diff --git a/scripts/app.gd b/scripts/app.gd new file mode 100644 index 0000000..18ad260 --- /dev/null +++ b/scripts/app.gd @@ -0,0 +1,24 @@ +extends Area2D + +signal open_app(app_name: String) + +enum Apps { NOTEPAD, FOLDER } + +@export var app_name: Apps + +var _mouse_in = false + +func _ready() -> void: + mouse_entered.connect(_on_mouse_entered) + mouse_exited.connect(_on_mouse_exited) + +func _process(_delta: float) -> void: + if Input.is_action_just_pressed("mouse1") and _mouse_in: + open_app.emit(app_name) + +func _on_mouse_entered(): + _mouse_in = true + +func _on_mouse_exited(): + _mouse_in = false + diff --git a/scripts/app.gd.uid b/scripts/app.gd.uid new file mode 100644 index 0000000..dc41de5 --- /dev/null +++ b/scripts/app.gd.uid @@ -0,0 +1 @@ +uid://d0f04tfkwu6d5 diff --git a/scripts/text_edit.gd b/scripts/text_edit.gd new file mode 100644 index 0000000..2ae2839 --- /dev/null +++ b/scripts/text_edit.gd @@ -0,0 +1 @@ +pass diff --git a/scripts/text_edit.gd.uid b/scripts/text_edit.gd.uid new file mode 100644 index 0000000..eadac18 --- /dev/null +++ b/scripts/text_edit.gd.uid @@ -0,0 +1 @@ +uid://btimg4864c7gg diff --git a/scripts/window.gd b/scripts/window.gd new file mode 100644 index 0000000..75f29a7 --- /dev/null +++ b/scripts/window.gd @@ -0,0 +1,22 @@ +extends Area2D + +var _mouse_in = false +@onready var window = $Window + +func _ready() -> void: + mouse_entered.connect(_on_mouse_entered) + mouse_exited.connect(_on_mouse_exited) + window.visible = false + +func _process(_delta: float) -> void: + if Input.is_action_just_pressed("mouse1") and _mouse_in: + pass + +func _on_mouse_entered(): + _mouse_in = true + +func _on_mouse_exited(): + _mouse_in = false + +func _on_notepad_icon_open_app(app_name: Variant) -> void: + window.visible = !window.visible diff --git a/scripts/window.gd.uid b/scripts/window.gd.uid new file mode 100644 index 0000000..e5a199f --- /dev/null +++ b/scripts/window.gd.uid @@ -0,0 +1 @@ +uid://d2k4wxk8xqctr diff --git a/test.tscn b/test.tscn new file mode 100644 index 0000000..7421bfe --- /dev/null +++ b/test.tscn @@ -0,0 +1,80 @@ +[gd_scene load_steps=9 format=3 uid="uid://ctyp7ogh4dg4m"] + +[ext_resource type="Texture2D" uid="uid://dasy6m8kpf6ca" path="res://img/pc/wallpaper.jpg" id="1_37kl0"] +[ext_resource type="Script" uid="uid://d0f04tfkwu6d5" path="res://scripts/app.gd" id="2_6uqi0"] +[ext_resource type="Texture2D" uid="uid://bkd1wowcckcp3" path="res://img/pc/notepad.png" id="2_8uh7m"] +[ext_resource type="Texture2D" uid="uid://ch74o71t4kjv" path="res://img/pc/folder.png" id="4_ppyta"] +[ext_resource type="Script" uid="uid://d2k4wxk8xqctr" path="res://scripts/window.gd" id="5_g14j6"] +[ext_resource type="Texture2D" uid="uid://whn2knfhmikb" path="res://img/pc/win.png" id="5_ykrsh"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_8uh7m"] +size = Vector2(110, 125) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_g14j6"] +size = Vector2(586, 367) + +[node name="Main" type="Node2D"] + +[node name="Wallpaper" type="Sprite2D" parent="."] +position = Vector2(576, 324.00003) +scale = Vector2(0.59999996, 0.54) +texture = ExtResource("1_37kl0") + +[node name="Notepad_Icon" type="Area2D" parent="."] +script = ExtResource("2_6uqi0") + +[node name="Notepad" type="Sprite2D" parent="Notepad_Icon"] +position = Vector2(104, 84) +texture = ExtResource("2_8uh7m") + +[node name="Label" type="Label" parent="Notepad_Icon"] +offset_left = 61.0 +offset_top = 133.0 +offset_right = 129.0 +offset_bottom = 156.0 +text = "Notepad" + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Notepad_Icon"] +position = Vector2(100, 95.5) +shape = SubResource("RectangleShape2D_8uh7m") + +[node name="Folder_Icon" type="Area2D" parent="."] +script = ExtResource("2_6uqi0") + +[node name="Folder" type="Sprite2D" parent="Folder_Icon"] +position = Vector2(105, 289) +texture = ExtResource("4_ppyta") + +[node name="Label" type="Label" parent="Folder_Icon"] +offset_left = 68.0 +offset_top = 328.0 +offset_right = 136.0 +offset_bottom = 351.0 +text = "Folder" + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Folder_Icon"] +position = Vector2(100, 294) +shape = SubResource("RectangleShape2D_8uh7m") + +[node name="Notepad" type="Area2D" parent="."] +script = ExtResource("5_g14j6") + +[node name="Window" type="Sprite2D" parent="Notepad"] +position = Vector2(767.00006, 357) +scale = Vector2(12.219999, 8) +texture = ExtResource("5_ykrsh") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Notepad"] +position = Vector2(767, 356) +shape = SubResource("RectangleShape2D_g14j6") + +[node name="TextEdit" type="TextEdit" parent="Notepad"] +offset_left = 475.0 +offset_top = 173.0 +offset_right = 1060.0 +offset_bottom = 544.0 +backspace_deletes_composite_character_enabled = true +wrap_mode = 1 +caret_blink = true + +[connection signal="open_app" from="Notepad_Icon" to="Notepad" method="_on_notepad_icon_open_app"] -- cgit v1.3