Role icons that don't work yet, also fixed godot-cpp import stuff

This commit is contained in:
Zergling_man 2025-07-16 01:14:56 +10:00
parent 463cbf59cd
commit 11355db87a
11 changed files with 250 additions and 4 deletions

2
README
View File

@ -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 .)
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)

View File

@ -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++

26
design/combat.svg Executable file
View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<!-- Fixed by Zergling_man -->
<!-- This has not a single shred of inkscape left in it tbh-->
<svg
width="25mm"
height="25mm"
viewBox="0 0 25 25"
version="1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<text
xml:space="preserve"
style="font-size:25px;fill:#aaaaaa"
x="12.5"
y="21"
text-anchor="middle">🗡</text>
<text
xml:space="preserve"
style="font-size:25px;fill:#aaaaaa"
x="12.5"
y="21"
text-anchor="middle">🛡</text>
</svg>

After

Width:  |  Height:  |  Size: 652 B

37
design/combat.svg.import Executable file
View File

@ -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

20
design/health.svg Executable file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<!-- Fixed by Zergling_man -->
<!-- This has not a single shred of inkscape left in it tbh-->
<svg
width="25mm"
height="25mm"
viewBox="0 0 25 25"
version="1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<text
xml:space="preserve"
style="font-size:25px;fill:#aaaaaa"
x="12.5"
y="21"
text-anchor="middle">❤</text>
</svg>

After

Width:  |  Height:  |  Size: 528 B

37
design/health.svg.import Executable file
View File

@ -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

20
design/light.svg Executable file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<!-- Fixed by Zergling_man -->
<!-- This has not a single shred of inkscape left in it tbh-->
<svg
width="25mm"
height="25mm"
viewBox="0 0 25 25"
version="1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<text
xml:space="preserve"
style="font-size:25px;fill:#aaaaaa"
x="12.5"
y="21"
text-anchor="middle">👁</text>
</svg>

After

Width:  |  Height:  |  Size: 529 B

37
design/light.svg.import Executable file
View File

@ -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

20
design/movement.svg Executable file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<!-- Fixed by Zergling_man -->
<!-- This has not a single shred of inkscape left in it tbh-->
<svg
width="25mm"
height="25mm"
viewBox="0 0 25 25"
version="1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<text
xml:space="preserve"
style="font-size:25px;fill:#aaaaaa"
x="12.5"
y="21"
text-anchor="middle">羽</text>
</svg>

After

Width:  |  Height:  |  Size: 528 B

37
design/movement.svg.import Executable file
View File

@ -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

View File

@ -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="."]