Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
2f1a3d2
fix: Hopfully this is the best way to revert my changes that were
curtisr May 31, 2026
ad087fb
feat: added context menu (incomplete), weapon, armor, health bar,
curtisr Jun 3, 2026
a91537e
fix: pickaxe fix, still problems with picking up items on server vs
curtisr Jun 3, 2026
77b1395
fix: loot/mobs have to be spawned only on the server to stop desync i…
curtisr Jun 3, 2026
203a384
fix: delete the node on the server fixes warnings/errors
curtisr Jun 3, 2026
e7cfc17
fix: dropping items fixed? this looks much better
curtisr Jun 3, 2026
601538a
fix: remove unused code/lines
curtisr Jun 3, 2026
edfecca
fix: change collision shape to capsule. It was falling through the
curtisr Jun 3, 2026
3c37b9c
feat: compress data connection
curtisr Jun 3, 2026
3e192b6
fix: tooltip in front of weapon/armor slots
curtisr Jun 3, 2026
510b48d
feat: unequip weapons and armor, just changes the visibility of the item
curtisr Jun 3, 2026
6b9eb69
fix: unequip weapon or armor before equiping something new. No swapping
curtisr Jun 3, 2026
7fcb97f
fix: attacking animation no longer freezes movement and gravity
curtisr Jun 3, 2026
02b2859
fix: change size of helmet in world to match when worn on character
curtisr Jun 4, 2026
0821955
fix: made code easier to read/debug finding skin color bug
curtisr Jun 4, 2026
1a758e4
fix: for some reason the surface material override was missing and that
curtisr Jun 4, 2026
8aec5d4
fix: fix character color problems. I don't know how this bug got
curtisr Jun 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Follow these simple steps to get the template up and running:

1. **Clone or Download:** Obtain the repository by cloning it via Git or downloading the ZIP file.
2. **Open in Godot Engine:** Load the project in your [Godot Engine](https://godotengine.org) installation.
3. **Execute:** Press <kbd>F5</kbd> or click `Run Project` in the Godot editor.
3. **Execute:** Press `<kbd>`F5`</kbd>` or click `Run Project` in the Godot editor.

<br>

Expand All @@ -41,14 +41,14 @@ Ensure the script has execution permissions (`chmod +x run_headless_server.sh`)

## Controls

* <kbd>W</kbd> <kbd>A</kbd> <kbd>S</kbd> <kbd>D</kbd> to move.
* <kbd>Shift</kbd> to run.
* <kbd>Space</kbd> to jump.
* <kbd>Esc</kbd> to quit.
* <kbd>Ctrl</kbd> to hide/show chat.
* <kbd>B</kbd> to toggle inventory.
* <kbd>F1</kbd> to add random test item (debug).
* <kbd>F2</kbd> to print inventory contents (debug).
* `<kbd>`W`</kbd>` `<kbd>`A`</kbd>` `<kbd>`S`</kbd>` `<kbd>`D`</kbd>` to move.
* `<kbd>`Shift`</kbd>` to run.
* `<kbd>`Space`</kbd>` to jump.
* `<kbd>`Esc`</kbd>` to quit.
* `<kbd>`Ctrl`</kbd>` to hide/show chat.
* `<kbd>`B`</kbd>` to toggle inventory.
* `<kbd>`F1`</kbd>` to add random test item (debug).
* `<kbd>`F2`</kbd>` to print inventory contents (debug).

<!-- ## Screenshots

Expand Down
Binary file added assets/items/apple.glb
Binary file not shown.
42 changes: 42 additions & 0 deletions assets/items/apple.glb.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[remap]

importer="scene"
importer_version=1
type="PackedScene"
uid="uid://c301hnjd5h6fd"
path="res://.godot/imported/apple.glb-ddeca32fef3307f2afed80011782d1f1.scn"

[deps]

source_file="res://assets/items/apple.glb"
dest_files=["res://.godot/imported/apple.glb-ddeca32fef3307f2afed80011782d1f1.scn"]

[params]

nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={}
gltf/naming_version=2
gltf/embedded_image_handling=1
Binary file added assets/items/apple_Image_0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions assets/items/apple_Image_0.jpg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://d3ytgoc37wjcd"
path.s3tc="res://.godot/imported/apple_Image_0.jpg-31b3bf29bc2232eddb9ff62670152019.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
generator_parameters={
"md5": "ebd1b9f94136f8afaf82907a96411e6d"
}

[deps]

source_file="res://assets/items/apple_Image_0.jpg"
dest_files=["res://.godot/imported/apple_Image_0.jpg-31b3bf29bc2232eddb9ff62670152019.s3tc.ctex"]

[params]

compress/mode=2
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=true
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=0
Binary file added assets/items/ground_block.glb
Binary file not shown.
42 changes: 42 additions & 0 deletions assets/items/ground_block.glb.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[remap]

importer="scene"
importer_version=1
type="PackedScene"
uid="uid://c7jnofqqofd6k"
path="res://.godot/imported/ground_block.glb-c98b1f5321fc86ae329a9fe75c83cbc9.scn"

[deps]

source_file="res://assets/items/ground_block.glb"
dest_files=["res://.godot/imported/ground_block.glb-c98b1f5321fc86ae329a9fe75c83cbc9.scn"]

[params]

nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={}
gltf/naming_version=2
gltf/embedded_image_handling=1
Binary file added assets/items/ground_block_Untitled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions assets/items/ground_block_Untitled.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://1o2dena3nxp8"
path.s3tc="res://.godot/imported/ground_block_Untitled.png-d3ef1dcb324cd1bdefa140aa5f189f8b.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
generator_parameters={
"md5": "aed108fdb1a9e45299162eed294e5d4f"
}

[deps]

source_file="res://assets/items/ground_block_Untitled.png"
dest_files=["res://.godot/imported/ground_block_Untitled.png-d3ef1dcb324cd1bdefa140aa5f189f8b.s3tc.ctex"]

[params]

compress/mode=2
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=true
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=0
Binary file added assets/items/leather_armor.glb
Binary file not shown.
42 changes: 42 additions & 0 deletions assets/items/leather_armor.glb.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[remap]

importer="scene"
importer_version=1
type="PackedScene"
uid="uid://c7sph6fkgquvn"
path="res://.godot/imported/leather_armor.glb-5591f95bd0e2f8bda98b4b452937209e.scn"

[deps]

source_file="res://assets/items/leather_armor.glb"
dest_files=["res://.godot/imported/leather_armor.glb-5591f95bd0e2f8bda98b4b452937209e.scn"]

[params]

nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={}
gltf/naming_version=2
gltf/embedded_image_handling=1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions assets/items/leather_armor_5k_studded_elf_basecolor.jpg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://cmljivicjf4nc"
path.s3tc="res://.godot/imported/leather_armor_5k_studded_elf_basecolor.jpg-9fc7edd6754f7525137151e196c8e2b2.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
generator_parameters={
"md5": "5e59b6ad3cd15e36fb0f3a2d353f1fed"
}

[deps]

source_file="res://assets/items/leather_armor_5k_studded_elf_basecolor.jpg"
dest_files=["res://.godot/imported/leather_armor_5k_studded_elf_basecolor.jpg-9fc7edd6754f7525137151e196c8e2b2.s3tc.ctex"]

[params]

compress/mode=2
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=true
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=0
Binary file added assets/items/pickaxe.glb
Binary file not shown.
42 changes: 42 additions & 0 deletions assets/items/pickaxe.glb.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[remap]

importer="scene"
importer_version=1
type="PackedScene"
uid="uid://c1inmb8iw7x5s"
path="res://.godot/imported/pickaxe.glb-fa249c12ff969e4031e08b073ddd255a.scn"

[deps]

source_file="res://assets/items/pickaxe.glb"
dest_files=["res://.godot/imported/pickaxe.glb-fa249c12ff969e4031e08b073ddd255a.scn"]

[params]

nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={}
gltf/naming_version=2
gltf/embedded_image_handling=1
Binary file added assets/items/pickaxe_pickaxe_basecolor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions assets/items/pickaxe_pickaxe_basecolor.jpg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://oh1fqbgni5so"
path.s3tc="res://.godot/imported/pickaxe_pickaxe_basecolor.jpg-b354c701c28c33059dfa3f42c664e1af.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
generator_parameters={
"md5": "8fd7af1cc33c4558106b4e4689f3ee88"
}

[deps]

source_file="res://assets/items/pickaxe_pickaxe_basecolor.jpg"
dest_files=["res://.godot/imported/pickaxe_pickaxe_basecolor.jpg-b354c701c28c33059dfa3f42c664e1af.s3tc.ctex"]

[params]

compress/mode=2
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=true
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=0
Binary file added assets/items/purple_gem.glb
Binary file not shown.
Loading