diff --git a/README b/README index 62dad51..5f7ccba 100755 --- a/README +++ b/README @@ -1,4 +1,4 @@ You must `scons` to create ./bin/whatever before running this Deps: Godot >=4.0 (probably) -Makedeps: sconstruct, godot-cpp (which should be symlinked from .) \ No newline at end of file +Makedeps: sconstruct, godot-cpp (which should be symlinked from ., or put its location in a file called "godot-cpp-path" - I moved this dir to my fat32 flashdrive which cannot handle symlinks) \ No newline at end of file diff --git a/SConstruct b/SConstruct index 8ba5823..387b688 100755 --- a/SConstruct +++ b/SConstruct @@ -1,8 +1,9 @@ #!/usr/bin/env python import os import sys - -env = SConscript("/home/wisknort/tinker/godot-cpp/SConstruct") +try: perth=open("godot-cpp-path").read() +except FileNotFoundError: perth="godot-cpp" +env = SConscript(os.path.join(perth,"SConstruct")) # For reference: # - CCFLAGS are compilation flags shared between C and C++ diff --git a/design/combat.svg b/design/combat.svg new file mode 100755 index 0000000..477f6fb --- /dev/null +++ b/design/combat.svg @@ -0,0 +1,26 @@ + + + + + + + 🗡 + 🛡 + diff --git a/design/combat.svg.import b/design/combat.svg.import new file mode 100755 index 0000000..37c7715 --- /dev/null +++ b/design/combat.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c3ne4aeu2p0ac" +path="res://.godot/imported/combat.svg-7122ba96f8cd29ab1795c6161b11ac5d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://design/combat.svg" +dest_files=["res://.godot/imported/combat.svg-7122ba96f8cd29ab1795c6161b11ac5d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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=0.5 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/design/health.svg b/design/health.svg new file mode 100755 index 0000000..c8f643b --- /dev/null +++ b/design/health.svg @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/design/health.svg.import b/design/health.svg.import new file mode 100755 index 0000000..b79cdd8 --- /dev/null +++ b/design/health.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d1r6x3d1cu61d" +path="res://.godot/imported/health.svg-cff8ca7b90656cad5ec98fd5f409685c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://design/health.svg" +dest_files=["res://.godot/imported/health.svg-cff8ca7b90656cad5ec98fd5f409685c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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=0.5 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/design/light.svg b/design/light.svg new file mode 100755 index 0000000..01b1bbf --- /dev/null +++ b/design/light.svg @@ -0,0 +1,20 @@ + + + + + + + 👁 + diff --git a/design/light.svg.import b/design/light.svg.import new file mode 100755 index 0000000..726f6f8 --- /dev/null +++ b/design/light.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dddg5cy8d16e3" +path="res://.godot/imported/light.svg-85108770abfec2eb357ffcebe3e62642.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://design/light.svg" +dest_files=["res://.godot/imported/light.svg-85108770abfec2eb357ffcebe3e62642.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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=0.5 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/design/movement.svg b/design/movement.svg new file mode 100755 index 0000000..3c0931e --- /dev/null +++ b/design/movement.svg @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/design/movement.svg.import b/design/movement.svg.import new file mode 100755 index 0000000..fb5e4ee --- /dev/null +++ b/design/movement.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://jh1ukfckc2dv" +path="res://.godot/imported/movement.svg-49f1534795c04617908337685771c181.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://design/movement.svg" +dest_files=["res://.godot/imported/movement.svg-49f1534795c04617908337685771c181.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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=0.5 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/player.tscn b/player.tscn index e4ff561..72f1cd6 100755 --- a/player.tscn +++ b/player.tscn @@ -1,4 +1,9 @@ -[gd_scene load_steps=2 format=3 uid="uid://b25q27admm4le"] +[gd_scene load_steps=6 format=3 uid="uid://b25q27admm4le"] + +[ext_resource type="Texture2D" uid="uid://c3ne4aeu2p0ac" path="res://design/combat.svg" id="1_hqtel"] +[ext_resource type="Texture2D" uid="uid://dddg5cy8d16e3" path="res://design/light.svg" id="2_sweqy"] +[ext_resource type="Texture2D" uid="uid://jh1ukfckc2dv" path="res://design/movement.svg" id="3_2hs0m"] +[ext_resource type="Texture2D" uid="uid://d1r6x3d1cu61d" path="res://design/health.svg" id="4_1jxqw"] [sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_sh265"] properties/0/path = NodePath("PName:text") @@ -23,16 +28,22 @@ layout_mode = 2 layout_mode = 2 item_count = 6 popup/item_0/text = "Pyromancer" +popup/item_0/icon = ExtResource("1_hqtel") popup/item_0/id = 0 popup/item_1/text = "Rogue" +popup/item_1/icon = ExtResource("1_hqtel") popup/item_1/id = 1 popup/item_2/text = "Spelunker" +popup/item_2/icon = ExtResource("2_sweqy") popup/item_2/id = 2 popup/item_3/text = "Acrobat" +popup/item_3/icon = ExtResource("3_2hs0m") popup/item_3/id = 3 popup/item_4/text = "Paladin" +popup/item_4/icon = ExtResource("4_1jxqw") popup/item_4/id = 4 popup/item_5/text = "Medic" +popup/item_5/icon = ExtResource("4_1jxqw") popup/item_5/id = 5 [node name="sonq" type="MultiplayerSynchronizer" parent="."]