This commit is contained in:
2025-02-27 20:28:24 -08:00
parent 9f3101b866
commit f41c0ec025
19 changed files with 16 additions and 423 deletions

View File

@@ -1,44 +0,0 @@
using Godot;
namespace GameJamDungeon;
public partial class CharacterBody3d : CharacterBody3D
{
public const float Speed = 5.0f;
public const float JumpVelocity = 4.5f;
public override void _PhysicsProcess(double delta)
{
Vector3 velocity = Velocity;
// Add the gravity.
if (!IsOnFloor())
{
velocity += GetGravity() * (float)delta;
}
// Handle Jump.
if (Input.IsActionJustPressed("ui_accept") && IsOnFloor())
{
velocity.Y = JumpVelocity;
}
// Get the input direction and handle the movement/deceleration.
// As good practice, you should replace UI actions with custom gameplay actions.
Vector2 inputDir = Input.GetVector("ui_left", "ui_right", "ui_up", "ui_down");
Vector3 direction = (Transform.Basis * new Vector3(inputDir.X, 0, inputDir.Y)).Normalized();
if (direction != Vector3.Zero)
{
velocity.X = direction.X * Speed;
velocity.Z = direction.Z * Speed;
}
else
{
velocity.X = Mathf.MoveToward(Velocity.X, 0, Speed);
velocity.Z = Mathf.MoveToward(Velocity.Z, 0, Speed);
}
Velocity = velocity;
MoveAndSlide();
}
}

View File

@@ -1 +0,0 @@
uid://364ees35b0ou

View File

@@ -1,25 +0,0 @@
# Dialogue Engine
<img src="icon.svg" width="128" height="128">
A minimalistic dialogue engine for the Godot Game Engine.
## ✨ Features
- 🌲 Create dialogue trees with multiple choices and conditions
- 📚 Simple to use -- just write the dialogue in GDScript
- 🎨 Easy to customize -- bring your own GUI nodes
- 🛠️ Automated dialogue graphing for easy debugging
## ⚡️ Requirements
- Godot 4.2.1+
## 🚀 Getting Started
- Clone/[download](https://github.com/Rubonnek/godot-dialogue-engine/archive/refs/heads/master.zip) the repository and check out the demos!
## 📦 Installation
[Download](https://github.com/Rubonnek/godot-dialogue-engine/archive/refs/heads/master.zip) or clone this repository and copy the contents of the
`addons` folder to your own project's `addons` folder, and enable the `Dialogue Engine Viewer` plugin in the Project Settings.

View File

@@ -1,56 +0,0 @@
[gd_scene load_steps=7 format=3 uid="uid://b2ajdl2vgn3vp"]
[ext_resource type="Script" path="res://src/items/throwable/ThrowableItem.cs" id="1_ranve"]
[ext_resource type="Texture2D" uid="uid://mi70lolgtf3n" path="res://src/items/throwable/textures/GEOMANCER-DICE.png" id="2_q51af"]
[ext_resource type="Script" path="res://src/items/throwable/ThrowableItemStats.cs" id="3_dyytt"]
[sub_resource type="Resource" id="Resource_rt4sj"]
script = ExtResource("3_dyytt")
Damage = 0
ThrowableItemTags = []
Name = "Test"
Description = ""
Texture = ExtResource("2_q51af")
SpawnRate = 0.5
[sub_resource type="BoxShape3D" id="BoxShape3D_qihtb"]
size = Vector3(0.371643, 0.289612, 0.286743)
[sub_resource type="BoxShape3D" id="BoxShape3D_03cqg"]
size = Vector3(0.778381, 0.929947, 0.731567)
[node name="Node3D" type="Node3D"]
[node name="ThrowableItem" type="Node3D" parent="."]
script = ExtResource("1_ranve")
ThrowableItemInfo = SubResource("Resource_rt4sj")
[node name="Hitbox" type="RigidBody3D" parent="ThrowableItem"]
unique_name_in_owner = true
collision_mask = 17
[node name="Sprite" type="Sprite3D" parent="ThrowableItem/Hitbox"]
unique_name_in_owner = true
pixel_size = 0.0005
billboard = 2
shaded = true
texture_filter = 0
render_priority = 100
texture = ExtResource("2_q51af")
[node name="CollisionShape3D" type="CollisionShape3D" parent="ThrowableItem/Hitbox"]
shape = SubResource("BoxShape3D_qihtb")
[node name="Pickup" type="Area3D" parent="ThrowableItem/Hitbox"]
unique_name_in_owner = true
collision_layer = 0
collision_mask = 4
[node name="CollisionShape3D" type="CollisionShape3D" parent="ThrowableItem/Hitbox/Pickup"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0600509, 0.26725, 0.180481)
shape = SubResource("BoxShape3D_03cqg")
[node name="CSGBox3D" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.10045, 0)
use_collision = true
size = Vector3(1, 1.28931, 1)

View File

@@ -1,38 +0,0 @@
[gd_scene load_steps=6 format=3 uid="uid://xneiqls2cte6"]
[ext_resource type="Script" path="res://addons/SimpleDungeons/DungeonGenerator3D.gd" id="1_2rl20"]
[ext_resource type="PackedScene" uid="uid://bs25ojrv57lvf" path="res://dungeon_test/dungeon_room.tscn" id="2_gw3xb"]
[ext_resource type="PackedScene" uid="uid://cf3eviiwpqb5r" path="res://dungeon_test/node_3d.tscn" id="3_08u4w"]
[ext_resource type="Script" path="res://CharacterBody3d.cs" id="4_02x0n"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_1hq3o"]
height = 1.5
[node name="DungeonGenerator3D" type="Node3D"]
script = ExtResource("1_2rl20")
room_scenes = Array[PackedScene]([ExtResource("2_gw3xb")])
corridor_room_scene = ExtResource("3_08u4w")
dungeon_size = Vector3i(10, 1, 10)
voxel_scale = Vector3(2, 2, 4)
generate_on_ready = false
[node name="CharacterBody3D" type="CharacterBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.710277, -0.335599, 2.8987)
axis_lock_linear_x = true
axis_lock_linear_y = true
axis_lock_linear_z = true
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
motion_mode = 1
platform_on_leave = 2
script = ExtResource("4_02x0n")
[node name="CollisionShape3D" type="CollisionShape3D" parent="CharacterBody3D"]
shape = SubResource("CapsuleShape3D_1hq3o")
[node name="OmniLight3D" type="OmniLight3D" parent="CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.43104, 0, 0.890184)
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.710277, -0.0942499, 2.5558)

View File

@@ -1,26 +0,0 @@
[gd_scene load_steps=2 format=3 uid="uid://bs25ojrv57lvf"]
[ext_resource type="Script" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_el8eh"]
[node name="DungeonRoom3D" type="Node3D"]
script = ExtResource("1_el8eh")
size_in_voxels = Vector3i(4, 1, 4)
voxel_scale = Vector3(2, 2, 4)
[node name="CSGBox3D" type="CSGBox3D" parent="."]
use_collision = true
size = Vector3(8, 2, 16)
[node name="DOOR" type="CSGBox3D" parent="CSGBox3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.05512, -0.38466, 7.81272)
operation = 2
size = Vector3(0.938965, 1.02429, 1.09424)
[node name="DOOR2" type="CSGBox3D" parent="CSGBox3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.05512, -0.487854, -8.40126)
operation = 2
size = Vector3(0.938965, 1.02429, 1.09424)
[node name="CSGBox3D" type="CSGBox3D" parent="CSGBox3D"]
operation = 2
size = Vector3(7, 1.8, 15)

View File

@@ -1,39 +0,0 @@
[gd_scene load_steps=3 format=3 uid="uid://cf3eviiwpqb5r"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_xrnk3"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="2_w6qw3"]
[node name="Node3D" type="Node3D"]
script = ExtResource("1_xrnk3")
voxel_scale = Vector3(2, 2, 4)
[node name="CSGBox3D" type="CSGBox3D" parent="."]
use_collision = true
size = Vector3(2, 2, 4)
[node name="CSGBox3D" type="CSGBox3D" parent="CSGBox3D"]
operation = 2
size = Vector3(1.8, 1.8, 3)
[node name="DOOR?1" type="CSGBox3D" parent="CSGBox3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.777139, -0.424666, -0.00854689)
operation = 2
size = Vector3(1.41699, 0.9375, 0.851501)
[node name="DOOR?2" type="CSGBox3D" parent="CSGBox3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.13129, -0.424666, -0.00854689)
operation = 2
size = Vector3(1.41699, 0.9375, 0.851501)
[node name="DOOR?3" type="CSGBox3D" parent="CSGBox3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -0.0484848, -0.424666, 2.16393)
operation = 2
size = Vector3(1.41699, 0.9375, 0.851501)
[node name="DOOR?4" type="CSGBox3D" parent="CSGBox3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0.1513, -0.424666, -1.79225)
operation = 2
size = Vector3(1.41699, 0.9375, 0.851501)
[node name="RemoveUnusedDoors" type="Node" parent="."]
script = ExtResource("2_w6qw3")

View File

@@ -1,75 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
height="128"
width="128"
version="1.1"
id="svg7"
sodipodi:docname="icon.svg"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
xml:space="preserve"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs7" /><sodipodi:namedview
id="namedview7"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="2.8284271"
inkscape:cx="44.724504"
inkscape:cy="62.57895"
inkscape:window-width="1916"
inkscape:window-height="1036"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g6"
showguides="true"><sodipodi:guide
position="61.256544,128"
orientation="0,1"
id="guide3"
inkscape:locked="false"
inkscape:label=""
inkscape:color="rgb(0,134,229)" /></sodipodi:namedview><g
id="g6"
inkscape:label="icon"><g
id="g3"
inkscape:label="outer_layer"
transform="matrix(1.0053778,0,0,1.0385199,-0.53737203,-2.8705664)"><path
style="display:inline;fill:#363d52;fill-opacity:1;stroke:none;stroke-width:0.185;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
d="m 26.396484,2.7644245 h 75.593746 c 14.2594,0 25.85938,11.5999855 25.85938,25.8593745 v 53.25586 c 0,14.259395 -11.59998,25.861321 -25.85938,25.861321 H 83.460938 l -17.580079,17.48243 c -0.530958,0.52808 -1.226437,0.79296 -1.921875,0.79296 -0.694717,0 -1.38897,-0.26488 -1.919922,-0.79296 L 44.458984,107.74098 h -18.0625 c -14.260115,0 -25.86132775,-11.601926 -25.86132775,-25.861321 V 28.623799 C 0.53515625,14.36441 12.136369,2.7644245 26.396484,2.7644245 Z"
id="path10"
inkscape:label="outer_fill" /><path
fill-rule="nonzero"
fill="#000000"
fill-opacity="1"
d="m 26.395635,8.2121833 c -11.25617,0 -20.4130474,9.1568777 -20.4130474,20.4123287 v 53.255276 c 0,11.255456 9.1568774,20.412322 20.4130474,20.412322 H 45.58228 c 0.719972,0 1.411078,0.28496 1.921121,0.79283 l 16.456106,16.36521 16.456826,-16.36521 c 0.510036,-0.50787 1.20115,-0.79283 1.921114,-0.79283 H 101.9894 c 11.25546,0 20.41233,-9.156866 20.41233,-20.412322 V 28.624512 c 0,-11.255451 -9.15687,-20.4123287 -20.41233,-20.4123287 z M 63.959507,126.01643 c -0.694718,0 -1.389443,-0.26475 -1.920395,-0.79283 L 44.458323,107.74021 H 26.395635 c -14.26013,0 -25.8611374,-11.601012 -25.8611374,-25.860422 V 28.624512 c 0,-14.259404 11.6010074,-25.8604182 25.8611374,-25.8604182 H 101.9894 c 14.25941,0 25.86042,11.6010142 25.86042,25.8604182 v 53.255276 c 0,14.25941 -11.60101,25.860422 -25.86042,25.860422 H 83.461412 l -17.58079,17.48339 c -0.530959,0.52808 -1.225677,0.79283 -1.921115,0.79283"
id="path3-7"
style="display:inline;fill:#212532;fill-opacity:1;stroke-width:0.185;stroke-dasharray:none"
inkscape:label="outer_border" /></g><g
id="g1"
inkscape:label="cog"><path
style="display:inline;fill:#498fbf;fill-opacity:1;stroke:#fdfdfd;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 59.554688,18.698018 h 8.675781 c 2.340253,0 4.311747,1.828353 4.486328,4.162109 l 0.367187,4.941407 c 1.376447,0.45521 2.720483,1.014677 4.017578,1.671875 l 3.75586,-3.234375 c 1.773222,-1.527221 4.460323,-1.42907 6.115234,0.226562 l 6.134766,6.134766 c 1.655631,1.655631 1.753784,4.341292 0.226562,6.115234 l -3.248046,3.771485 c 0.649267,1.289879 1.201978,2.628897 1.654296,4.003906 l 4.962891,0.36914 c 2.334485,0.174581 4.164065,2.145362 4.164065,4.486328 v 8.673829 c 0,2.340966 -1.82958,4.312467 -4.164065,4.486328 l -4.964844,0.371093 c -0.452318,1.371397 -1.007997,2.706002 -1.660156,3.998047 l 3.248047,3.771485 c 1.527219,1.773942 1.427124,4.460323 -0.228516,6.115234 l -6.132812,6.134766 c -1.655633,1.654911 -4.341284,1.755016 -6.115235,0.228515 l -3.767578,-3.24414 c -1.292044,0.652152 -2.630639,1.207619 -4.007812,1.662109 l -0.371094,4.949219 c -0.174581,2.334476 -2.14412,4.164062 -4.484375,4.164062 h -8.675781 c -2.340975,0 -4.309787,-1.829586 -4.484375,-4.164062 l -0.369141,-4.931641 c -1.382215,-0.45377 -2.727877,-1.011484 -4.029297,-1.667968 l -3.74414,3.222656 c -1.773943,1.527219 -4.459594,1.427108 -6.115235,-0.228516 L 34.667969,78.754659 C 33.013056,77.099026 32.912228,74.413365 34.439453,72.639424 L 37.65625,68.905049 C 36.995443,67.59858 36.43322,66.247403 35.976562,64.860127 l -4.90625,-0.365234 c -2.333756,-0.174581 -4.162109,-2.145355 -4.162109,-4.486328 v -8.673828 c 0,-2.340974 1.828353,-4.312469 4.162109,-4.486328 l 4.91211,-0.365235 c 0.457375,-1.390151 1.016405,-2.743296 1.675781,-4.046875 l -3.210937,-3.728515 c -1.527221,-1.773944 -1.426397,-4.460321 0.228515,-6.115235 l 6.134766,-6.134765 c 1.654912,-1.65564 4.340565,-1.755743 6.115234,-0.228516 l 3.740235,3.220703 c 1.303584,-0.657203 2.652718,-1.215437 4.037109,-1.669922 l 0.367187,-4.919922 c 0.174581,-2.333756 2.144121,-4.162109 4.484376,-4.162109 z"
id="path38"
inkscape:label="cog_fill" /><path
id="path2-6"
style="display:inline;stroke-width:0.185;stroke-dasharray:none;fill:#212532;fill-opacity:1;stroke:none"
d="m 59.554688,18.698018 c -2.340257,0 -4.309795,1.82835 -4.484376,4.162109 l -0.367187,4.919922 c -1.384392,0.454485 -2.733523,1.012718 -4.037109,1.669922 l -3.740235,-3.220703 c -1.774671,-1.527229 -4.46032,-1.427125 -6.115234,0.228516 l -6.134766,6.134765 c -1.654914,1.654915 -1.755737,4.34129 -0.228515,6.115235 l 3.210937,3.728515 c -0.659377,1.30358 -1.218405,2.656722 -1.675781,4.046875 l -4.91211,0.365235 c -2.333759,0.17386 -4.162109,2.145352 -4.162109,4.486328 v 8.673828 c 0,2.340975 1.82835,4.311747 4.162109,4.486328 l 4.90625,0.365234 c 0.456658,1.387277 1.01888,2.738451 1.679688,4.044922 l -3.216797,3.734375 c -1.527227,1.773943 -1.426398,4.459601 0.228516,6.115235 l 6.132812,6.132812 c 1.655642,1.655626 4.341291,1.755737 6.115235,0.228516 l 3.74414,-3.222656 c 1.301421,0.656485 2.64708,1.214197 4.029297,1.667968 l 0.369141,4.931641 c 0.174588,2.334478 2.143398,4.164062 4.484375,4.164062 h 8.675781 c 2.340257,0 4.309794,-1.829584 4.484375,-4.164062 l 0.371094,-4.949219 c 1.377175,-0.454491 2.715766,-1.009956 4.007812,-1.662109 l 3.767578,3.24414 c 1.773952,1.526502 4.459601,1.426398 6.115235,-0.228515 l 6.132812,-6.134766 c 1.655641,-1.654913 1.755737,-4.34129 0.228516,-6.115234 l -3.248047,-3.771485 c 0.65216,-1.292047 1.207837,-2.626649 1.660156,-3.998047 l 4.964844,-0.371093 c 2.334487,-0.173861 4.164065,-2.145359 4.164065,-4.486328 v -8.673829 c 0,-2.340969 -1.829578,-4.311747 -4.164065,-4.486328 l -4.962891,-0.36914 c -0.452319,-1.37501 -1.005028,-2.714025 -1.654296,-4.003906 l 3.248046,-3.771485 c 1.527223,-1.773944 1.429071,-4.459601 -0.226562,-6.115234 l -6.134766,-6.134766 c -1.654913,-1.655634 -4.34201,-1.753784 -6.115234,-0.226562 l -3.75586,3.234375 c -1.297097,-0.657198 -2.64113,-1.216664 -4.017578,-1.671875 l -0.367187,-4.941407 c -0.174581,-2.333759 -2.146072,-4.162109 -4.486328,-4.162109 z m 0.882812,5.447266 h 6.912109 l 0.44336,5.939453 c 0.08657,1.165074 0.905936,2.144822 2.037109,2.435547 2.181548,0.560535 4.276803,1.433932 6.22461,2.591797 1.00709,0.598049 2.282585,0.486629 3.169921,-0.277344 l 4.519532,-3.892578 4.886718,4.886718 -3.902343,4.53125 c -0.762527,0.885889 -0.873739,2.158417 -0.279297,3.164063 1.145598,1.936264 2.009263,4.02804 2.568359,6.216797 0.290006,1.132612 1.270973,1.953725 2.4375,2.041015 l 5.962891,0.445313 v 6.912109 l -5.964844,0.445313 c -1.165801,0.08657 -2.146767,0.906443 -2.4375,2.039062 -0.55765,2.177936 -1.424084,4.269417 -2.576172,6.212891 -0.595161,1.005646 -0.483236,2.278166 0.279297,3.164062 l 3.904297,4.533203 -4.886719,4.886719 -4.529297,-3.898437 c -0.886615,-0.763247 -2.162323,-0.874673 -3.167969,-0.277344 -1.936264,1.149202 -4.027827,2.015424 -6.21875,2.578125 -1.131171,0.290726 -1.951772,1.270465 -2.039062,2.435547 l -0.445312,5.951172 H 60.425781 L 59.982422,81.27419 c -0.08729,-1.16724 -0.908919,-2.14894 -2.042969,-2.4375 -2.189484,-0.558377 -4.290264,-1.427052 -6.240234,-2.582031 -1.005653,-0.595165 -2.278167,-0.483959 -3.164063,0.279296 l -4.503906,3.878907 -4.886719,-4.886719 3.871094,-4.498047 c 0.763975,-0.887335 0.875393,-2.161604 0.277344,-3.167969 -1.16075,-1.954302 -2.033214,-4.057631 -2.59375,-6.25 -0.290006,-1.133337 -1.269027,-1.955678 -2.435547,-2.042968 l -5.908203,-0.441407 v -6.910156 l 5.912109,-0.441406 c 1.165801,-0.08729 2.147487,-0.908397 2.4375,-2.041016 0.563415,-2.202463 1.434651,-4.305587 2.591797,-6.251953 0.598049,-1.006365 0.48663,-2.282593 -0.277344,-3.169922 l -3.867187,-4.490234 4.886718,-4.886719 4.5,3.875 c 0.88589,0.762534 2.160371,0.874461 3.166016,0.279297 1.954302,-1.156425 4.053938,-2.025101 6.244141,-2.582031 1.134777,-0.288568 1.959585,-1.269533 2.046875,-2.4375 z"
inkscape:label="cog_border" /><path
style="display:inline;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.215865;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
d="m 63.859212,43.81493 c -6.538852,0 -11.857534,5.318681 -11.857534,11.857534 0,6.538861 5.318682,11.859814 11.857534,11.859814 6.538861,0 11.859812,-5.320953 11.859814,-11.859814 0,-6.538853 -5.320953,-11.857534 -11.859814,-11.857534 z"
id="path35"
inkscape:label="inner_circle_fill" /><path
fill-rule="nonzero"
fill="#000000"
fill-opacity="1"
d="m 63.859946,45.509857 c -5.603914,0 -10.163236,4.559322 -10.163236,10.163237 0,5.603921 4.559322,10.163243 10.163236,10.163243 5.603922,0 10.163244,-4.559322 10.163244,-10.163243 0,-5.603915 -4.559322,-10.163237 -10.163244,-10.163237 m 0,25.774571 c -8.607874,0 -15.611326,-7.00346 -15.611326,-15.611334 0,-8.607875 7.003452,-15.611334 15.611326,-15.611334 8.607882,0 15.611342,7.003459 15.611342,15.611334 0,8.607874 -7.00346,15.611334 -15.611342,15.611334"
id="path1-3"
style="display:inline;stroke-width:0.184681;fill:#212532;fill-opacity:1"
inkscape:label="inner_circle_border" /></g></g></svg>

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -1,37 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cr0rdb3ab8xwg"
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/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=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View File

@@ -1,22 +0,0 @@
@tool
extends EditorScript
var files: Array[String]
func _run() -> void:
files = []
add_files("res://")
for file in files:
print(file)
var res = load(file)
ResourceSaver.save(res)
func add_files(dir: String):
for file in DirAccess.get_files_at(dir):
if file.get_extension() == "tscn" or file.get_extension() == "tres":
files.append(dir.path_join(file))
for dr in DirAccess.get_directories_at(dir):
add_files(dir.path_join(dr))

View File

@@ -1 +0,0 @@
uid://dwpjl4sng8ney

View File

@@ -11,7 +11,7 @@ config_version=5
[application]
config/name="GameJamDungeon"
run/main_scene="uid://bc1sp6xwe0j65"
run/main_scene="uid://d1gjaijijd5ot"
config/features=PackedStringArray("4.4", "C#", "GL Compatibility")
boot_splash/show_image=false

View File

@@ -1,8 +1,8 @@
@startuml AppLogic
state "AppLogic State" as GameJamDungeon_AppLogic_State {
state "SetupGameScene" as GameJamDungeon_AppLogic_State_SetupGameScene
state "InGame" as GameJamDungeon_AppLogic_State_InGame
state "LoadingScreen" as GameJamDungeon_AppLogic_State_LoadingScreen
state "InGame" as GameJamDungeon_AppLogic_State_InGame
state "MainMenu" as GameJamDungeon_AppLogic_State_MainMenu
}

View File

@@ -102,6 +102,7 @@ disabled = true
[node name="MeshInstance3D" type="MeshInstance3D" parent="PrimaryHitbox"]
transform = Transform3D(0.998663, 0.0516911, -2.25949e-09, 0, -4.37114e-08, -1, -0.0516911, 0.998663, -4.3653e-08, 0.176435, 0, -12.0372)
visible = false
mesh = SubResource("CylinderMesh_xqm7x")
[node name="SecondaryHitbox" type="Area3D" parent="."]
@@ -118,6 +119,7 @@ disabled = true
[node name="MeshInstance3D" type="MeshInstance3D" parent="SecondaryHitbox"]
transform = Transform3D(0.991132, -0.132879, 5.80834e-09, 0, -4.37114e-08, -1, 0.132879, 0.991132, -4.33238e-08, -6.30106, 0, -0.622331)
visible = false
mesh = SubResource("CylinderMesh_nveg0")
[node name="TertiaryHitbox" type="Area3D" parent="."]
@@ -134,13 +136,8 @@ disabled = true
[node name="MeshInstance3D" type="MeshInstance3D" parent="TertiaryHitbox"]
transform = Transform3D(0.995479, 0.0949771, -4.15158e-09, 0, -4.37114e-08, -1, -0.0949771, 0.995479, -4.35138e-08, 6.95263, 0, -1.22368)
visible = false
mesh = SubResource("CylinderMesh_nc31c")
[node name="RayCast3D2" type="RayCast3D" parent="."]
target_position = Vector3(3, 1, -1.85)
[node name="RayCast3D" type="RayCast3D" parent="."]
target_position = Vector3(-3, 1, -1.85)
[node name="Rotation" type="Node3D" parent="."]
unique_name_in_owner = true

View File

@@ -23,10 +23,6 @@ public partial class EdenPillar : Enemy, IHasPrimaryAttack, IHasSecondaryAttack,
[Export] public double TertiaryAttackElementalDamageBonus { get; set; } = 1.15f;
[Node] private IHitbox _primaryHitbox { get; set; } = default!;
[Node] private IHitbox _secondaryHitbox { get; set; } = default!;
[Node] private IHitbox _tertiaryHitbox { get; set; } = default!;
[Node] private Node3D _rotation { get; set; } = default!;
private float _primaryAngle = 0;

View File

@@ -1,12 +1,12 @@
@startuml EnemyLogic
state "EnemyLogic State" as GameJamDungeon_EnemyLogic_State {
state "Alive" as GameJamDungeon_EnemyLogic_State_Alive {
state "Idle" as GameJamDungeon_EnemyLogic_State_Idle
state "Activated" as GameJamDungeon_EnemyLogic_State_Activated {
state "Attacking" as GameJamDungeon_EnemyLogic_State_Attacking
state "FollowPlayer" as GameJamDungeon_EnemyLogic_State_FollowPlayer
state "Patrolling" as GameJamDungeon_EnemyLogic_State_Patrolling
state "Attacking" as GameJamDungeon_EnemyLogic_State_Attacking
}
state "Idle" as GameJamDungeon_EnemyLogic_State_Idle
}
state "Defeated" as GameJamDungeon_EnemyLogic_State_Defeated
}

View File

@@ -1,14 +1,14 @@
@startuml GameLogic
state "GameLogic State" as GameJamDungeon_GameLogic_State {
state "GameStarted" as GameJamDungeon_GameLogic_State_GameStarted
state "Playing" as GameJamDungeon_GameLogic_State_Playing {
state "AskForTeleport" as GameJamDungeon_GameLogic_State_AskForTeleport
state "FloorClearedDecisionState" as GameJamDungeon_GameLogic_State_FloorClearedDecisionState
state "InventoryOpened" as GameJamDungeon_GameLogic_State_InventoryOpened
state "MinimapOpen" as GameJamDungeon_GameLogic_State_MinimapOpen
state "Paused" as GameJamDungeon_GameLogic_State_Paused
state "FloorClearedDecisionState" as GameJamDungeon_GameLogic_State_FloorClearedDecisionState
state "Resuming" as GameJamDungeon_GameLogic_State_Resuming
state "Paused" as GameJamDungeon_GameLogic_State_Paused
state "InventoryOpened" as GameJamDungeon_GameLogic_State_InventoryOpened
}
state "GameStarted" as GameJamDungeon_GameLogic_State_GameStarted
state "Quit" as GameJamDungeon_GameLogic_State_Quit
}

View File

@@ -1,11 +1,11 @@
@startuml PlayerLogic
state "PlayerLogic State" as GameJamDungeon_PlayerLogic_State {
state "Alive" as GameJamDungeon_PlayerLogic_State_Alive {
state "Attacking" as GameJamDungeon_PlayerLogic_State_Attacking
state "Idle" as GameJamDungeon_PlayerLogic_State_Idle
}
state "Dead" as GameJamDungeon_PlayerLogic_State_Dead
state "Disabled" as GameJamDungeon_PlayerLogic_State_Disabled
state "Dead" as GameJamDungeon_PlayerLogic_State_Dead
state "Alive" as GameJamDungeon_PlayerLogic_State_Alive {
state "Idle" as GameJamDungeon_PlayerLogic_State_Idle
state "Attacking" as GameJamDungeon_PlayerLogic_State_Attacking
}
}
GameJamDungeon_PlayerLogic_State_Alive --> GameJamDungeon_PlayerLogic_State_Alive : PhysicsTick

View File

@@ -1,36 +0,0 @@
[gd_scene load_steps=5 format=3 uid="uid://010r1fbkbooa"]
[ext_resource type="PackedScene" uid="uid://cfecvvav8kkp6" path="res://src/player/Player.tscn" id="1_7xhku"]
[ext_resource type="PackedScene" uid="uid://bksq62muhk3h5" path="res://src/enemy/enemy_types/01. sproingy/Sproingy.tscn" id="2_3keei"]
[sub_resource type="NavigationMesh" id="NavigationMesh_3keei"]
vertices = PackedVector3Array(-2.96237, 1.33137, -10.8745, -1.71237, 1.33137, -10.8745, -1.71237, 1.33137, -22.6245, -5.46237, 1.33137, -9.12453, -21.7124, 1.33137, -6.12453, -6.46237, 1.33137, -6.12453, -21.7124, 1.33137, -22.6245, 3.03763, 1.33137, -7.62453, 3.28763, 1.33137, -6.12453, 10.0376, 1.33137, -6.12453, 1.53763, 1.33137, -9.87453, -0.462372, 1.33137, -10.8745, 10.0376, 1.33137, -22.6245, -1.71237, 1.33137, 9.37547, -1.71237, 1.33137, -1.37453, -2.71237, 1.33137, -1.37453, -5.46237, 1.33137, -3.12453, -21.7124, 1.33137, 9.37547, 1.53763, 1.33137, -2.37453, -0.462372, 1.33137, -1.37453, 10.0376, 1.33137, 9.37547)
polygons = [PackedInt32Array(2, 1, 0), PackedInt32Array(2, 0, 3), PackedInt32Array(3, 5, 2), PackedInt32Array(2, 5, 4), PackedInt32Array(2, 4, 6), PackedInt32Array(9, 8, 7), PackedInt32Array(9, 7, 10), PackedInt32Array(10, 11, 9), PackedInt32Array(9, 11, 2), PackedInt32Array(9, 2, 12), PackedInt32Array(11, 1, 2), PackedInt32Array(15, 14, 13), PackedInt32Array(16, 15, 13), PackedInt32Array(16, 13, 5), PackedInt32Array(5, 13, 4), PackedInt32Array(4, 13, 17), PackedInt32Array(18, 8, 9), PackedInt32Array(13, 14, 19), PackedInt32Array(18, 9, 19), PackedInt32Array(19, 9, 13), PackedInt32Array(13, 9, 20)]
cell_height = 0.5
agent_radius = 3.0
[sub_resource type="CylinderShape3D" id="CylinderShape3D_3keei"]
height = 4.74658
radius = 1.71777
[node name="Node3D" type="Node3D"]
[node name="Player" parent="." instance=ExtResource("1_7xhku")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.791832, 0)
[node name="Sproingy" parent="." instance=ExtResource("2_3keei")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.64783, -11.9575)
motion_mode = 1
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."]
navigation_mesh = SubResource("NavigationMesh_3keei")
[node name="CSGBox3D" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.79317, 0, -6.66189)
size = Vector3(37.8384, 1, 37.9253)
[node name="StaticBody3D" type="StaticBody3D" parent="NavigationRegion3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.61432, 1.20466, -6.13947)
shape = SubResource("CylinderShape3D_3keei")