Demo reel build
This commit is contained in:
+1
-4
@@ -107,28 +107,24 @@ MoveUp={
|
||||
"deadzone": 0.5,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":11,"pressure":0.0,"pressed":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":-1.0,"script":null)
|
||||
]
|
||||
}
|
||||
MoveLeft={
|
||||
"deadzone": 0.5,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null)
|
||||
]
|
||||
}
|
||||
MoveRight={
|
||||
"deadzone": 0.5,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":1.0,"script":null)
|
||||
]
|
||||
}
|
||||
MoveDown={
|
||||
"deadzone": 0.5,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":1.0,"script":null)
|
||||
]
|
||||
}
|
||||
Attack={
|
||||
@@ -201,6 +197,7 @@ locale/translations_pot_files=PackedStringArray("res://src/dialog/Dialogue.dialo
|
||||
3d_physics/layer_7="PlayerHitbox"
|
||||
3d_physics/layer_8="Dialogue"
|
||||
3d_physics/layer_9="Teleport"
|
||||
3d_physics/layer_10="Minimap"
|
||||
|
||||
[physics]
|
||||
|
||||
|
||||
+13
-13
@@ -15,15 +15,15 @@ uniform sampler2D to_gradient: hint_default_black;
|
||||
|
||||
int dithering_pattern(ivec2 fragcoord) {
|
||||
const int pattern[] = {
|
||||
-4, +0, -3, +1,
|
||||
+2, -2, +3, -1,
|
||||
-3, +1, -4, +0,
|
||||
-4, +0, -3, +1,
|
||||
+2, -2, +3, -1,
|
||||
-3, +1, -4, +0,
|
||||
+3, -1, +2, -2
|
||||
};
|
||||
|
||||
|
||||
int x = fragcoord.x % 4;
|
||||
int y = fragcoord.y % 4;
|
||||
|
||||
|
||||
return pattern[y * 4 + x];
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ vec3 rgb2hsv(vec3 rgb) { //Converts RGB values to HSV
|
||||
s = delta / cmax;
|
||||
}
|
||||
|
||||
return vec3(h,s,cmax); // Keep original alpha value
|
||||
return vec3(h,s,cmax); // Keep original alpha value
|
||||
|
||||
}
|
||||
|
||||
@@ -91,13 +91,13 @@ vec3 hsv2rgb(vec3 hsv) { //Converts HSV values to RGB
|
||||
rgb[1] = rgb[1] + m;
|
||||
rgb[2] = rgb[2] + m;
|
||||
|
||||
return rgb;
|
||||
return rgb;
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
ivec2 uv;
|
||||
vec3 color;
|
||||
|
||||
|
||||
if(scale_resolution){
|
||||
uv = ivec2(FRAGCOORD.xy / float(target_resolution_scale));
|
||||
color = texelFetch(TEXTURE, uv * target_resolution_scale, 0).rgb;
|
||||
@@ -105,7 +105,7 @@ void fragment() {
|
||||
uv = ivec2(FRAGCOORD.xy);
|
||||
color = texelFetch(TEXTURE, uv, 0).rgb;
|
||||
}
|
||||
|
||||
|
||||
if(enable_recolor){
|
||||
vec3 hsv = rgb2hsv(color);
|
||||
float color_pos = (hsv.x / 360.0);
|
||||
@@ -117,15 +117,15 @@ void fragment() {
|
||||
color.rgb = final_rgb;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Convert from [0.0, 1.0] range to [0, 255] range
|
||||
ivec3 c = ivec3(round(color * 255.0));
|
||||
|
||||
|
||||
// Apply the dithering pattern
|
||||
if (dithering) {
|
||||
c += ivec3(dithering_pattern(uv));
|
||||
}
|
||||
|
||||
|
||||
vec3 final_color;
|
||||
if(change_color_depth){
|
||||
// Truncate from 8 bits to color_depth bits
|
||||
@@ -134,7 +134,7 @@ void fragment() {
|
||||
} else {
|
||||
final_color = vec3(c) / float(1 << 8);
|
||||
}
|
||||
|
||||
|
||||
// Convert back to [0.0, 1.0] range
|
||||
COLOR.rgb = final_color;
|
||||
}
|
||||
@@ -22,6 +22,7 @@ public partial class InGameAudioLogic
|
||||
gameEventDepot.EquippedItem += OnEquippedItem;
|
||||
gameEventDepot.InventorySorted += OnInventorySorted;
|
||||
gameEventDepot.HealingItemConsumed += OnHealingItemConsumed;
|
||||
gameEventDepot.RestorativePickedUp += OnRestorativePickedUp;
|
||||
gameEventDepot.TeleportEntered += OnTeleportEntered;
|
||||
});
|
||||
OnDetach(() =>
|
||||
@@ -37,6 +38,8 @@ public partial class InGameAudioLogic
|
||||
});
|
||||
}
|
||||
|
||||
private void OnRestorativePickedUp(Restorative restorative) => Output(new Output.PlayHealingItemSound());
|
||||
|
||||
private void OnMenuBackedOut() => Output(new Output.PlayMenuBackSound());
|
||||
|
||||
private void OnHealingItemConsumed(ConsumableItemStats stats) => Output(new Output.PlayHealingItemSound());
|
||||
|
||||
+2
-1
@@ -148,6 +148,7 @@ public partial class Enemy : CharacterBody3D, IEnemy, IProvide<IEnemyLogic>
|
||||
LoadShader("res://src/vfx/shaders/PixelMelt.gdshader");
|
||||
var tweener = GetTree().CreateTween();
|
||||
tweener.TweenMethod(Callable.From((float x) => SetShaderValue(x)), 0.0f, 1.0f, 0.8f);
|
||||
GameEventDepot.OnEnemyDefeated(GlobalPosition, EnemyStatResource);
|
||||
tweener.TweenCallback(Callable.From(QueueFree));
|
||||
});
|
||||
|
||||
@@ -221,7 +222,7 @@ public partial class Enemy : CharacterBody3D, IEnemy, IProvide<IEnemyLogic>
|
||||
rng.Randomize();
|
||||
EnemyLogic.Input(new EnemyLogic.Input.AttackTimer());
|
||||
AttackTimer.Stop();
|
||||
AttackTimer.WaitTime = rng.RandfRange(3f, 7.0f);
|
||||
AttackTimer.WaitTime = rng.RandfRange(2f, 5.0f);
|
||||
AttackTimer.Start();
|
||||
}
|
||||
|
||||
|
||||
@@ -77,9 +77,9 @@
|
||||
script = ExtResource("2_x4pjh")
|
||||
CurrentHP = 45.0
|
||||
MaximumHP = 45.0
|
||||
CurrentAttack = 15
|
||||
CurrentAttack = 20
|
||||
CurrentDefense = 11
|
||||
MaxAttack = 15
|
||||
MaxAttack = 20
|
||||
MaxDefense = 11
|
||||
Luck = 0.05
|
||||
TelluricResistance = 0.0
|
||||
@@ -630,11 +630,12 @@ shape = SubResource("CapsuleShape3D_0h5s2")
|
||||
[node name="NavAgent" type="NavigationAgent3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
avoidance_enabled = true
|
||||
debug_enabled = true
|
||||
debug_path_custom_color = Color(1, 0, 0, 1)
|
||||
|
||||
[node name="Sprite" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.209741, 0)
|
||||
billboard = 2
|
||||
shaded = true
|
||||
double_sided = false
|
||||
texture_filter = 0
|
||||
render_priority = 100
|
||||
@@ -643,6 +644,7 @@ texture = SubResource("ViewportTexture_57rcc")
|
||||
[node name="SubViewport" type="SubViewport" parent="Sprite"]
|
||||
disable_3d = true
|
||||
transparent_bg = true
|
||||
handle_input_locally = false
|
||||
size = Vector2i(200, 200)
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite2D" parent="Sprite/SubViewport"]
|
||||
|
||||
@@ -540,7 +540,6 @@ shape = SubResource("CapsuleShape3D_cwfph")
|
||||
[node name="NavAgent" type="NavigationAgent3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
avoidance_enabled = true
|
||||
debug_enabled = true
|
||||
debug_path_custom_color = Color(1, 0, 0, 1)
|
||||
|
||||
[node name="LineOfSight" type="Area3D" parent="."]
|
||||
@@ -581,8 +580,9 @@ target_position = Vector3(0, 0, -5)
|
||||
collision_mask = 3
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0)
|
||||
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0.0862446, 0)
|
||||
billboard = 2
|
||||
shaded = true
|
||||
texture_filter = 0
|
||||
render_priority = 100
|
||||
texture = SubResource("ViewportTexture_h1kaf")
|
||||
@@ -591,13 +591,13 @@ texture = SubResource("ViewportTexture_h1kaf")
|
||||
disable_3d = true
|
||||
transparent_bg = true
|
||||
handle_input_locally = false
|
||||
size = Vector2i(95, 95)
|
||||
size = Vector2i(200, 200)
|
||||
render_target_update_mode = 4
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite2D" parent="Sprite3D/SubViewport"]
|
||||
unique_name_in_owner = true
|
||||
texture_filter = 1
|
||||
position = Vector2(45, 45)
|
||||
position = Vector2(100, 100)
|
||||
sprite_frames = SubResource("SpriteFrames_6drt6")
|
||||
animation = &"idle_left_walk"
|
||||
|
||||
|
||||
+8
-1
@@ -133,11 +133,15 @@ public partial class Game : Node3D, IGame
|
||||
GameRepo.PlayerData.Inventory.EquippedItem += Inventory_EquippedItem;
|
||||
|
||||
GameEventDepot.EnemyDefeated += OnEnemyDefeated;
|
||||
GameEventDepot.RestorativePickedUp += GameEventDepot_RestorativePickedUp;
|
||||
}
|
||||
|
||||
private void OnEnemyDefeated(Vector3 vector, EnemyStatResource resource)
|
||||
{
|
||||
|
||||
var restorativeScene = GD.Load<PackedScene>("res://src/items/restorative/Restorative.tscn");
|
||||
var restorative = restorativeScene.Instantiate<Restorative>();
|
||||
AddChild(restorative);
|
||||
restorative.GlobalPosition = vector;
|
||||
}
|
||||
|
||||
private void Inventory_EquippedItem()
|
||||
@@ -184,6 +188,8 @@ public partial class Game : Node3D, IGame
|
||||
private void FloorClearMenu_TransitionCompleted()
|
||||
{
|
||||
GameRepo.Resume();
|
||||
if (GameRepo.PlayerData.Inventory.EquippedWeapon.Value.WeaponStats.WeaponTags.Contains(WeaponTag.BreaksOnChange))
|
||||
GameRepo.PlayerData.Inventory.Unequip(GameRepo.PlayerData.Inventory.EquippedWeapon.Value);
|
||||
}
|
||||
|
||||
private void FloorClearMenu_GoToNextFloor()
|
||||
@@ -199,6 +205,7 @@ public partial class Game : Node3D, IGame
|
||||
GameLogic.Input(new GameLogic.Input.HideFloorClearMenu());
|
||||
}
|
||||
|
||||
private void GameEventDepot_RestorativePickedUp(Restorative obj) => GameRepo.PlayerData.SetCurrentVT(GameRepo.PlayerData.CurrentVT.Value + obj.VTRestoreAmount);
|
||||
|
||||
private void Inventory_RaiseStatRequest(ConsumableItemStats consumableItemStats)
|
||||
{
|
||||
|
||||
@@ -40,6 +40,9 @@ namespace GameJamDungeon
|
||||
|
||||
event Action<Vector3, EnemyStatResource>? EnemyDefeated;
|
||||
public void OnEnemyDefeated(Vector3 position, EnemyStatResource enemyStatResource);
|
||||
|
||||
event Action<Restorative>? RestorativePickedUp;
|
||||
public void OnRestorativePickedUp(Restorative restorative);
|
||||
}
|
||||
|
||||
public class GameEventDepot : IGameEventDepot
|
||||
@@ -58,6 +61,8 @@ namespace GameJamDungeon
|
||||
public event Action? UnequippedItem;
|
||||
public event Action? InventorySorted;
|
||||
public event Action<ConsumableItemStats>? HealingItemConsumed;
|
||||
public event Action<Restorative>? RestorativePickedUp;
|
||||
|
||||
public event Action<Vector3, EnemyStatResource>? EnemyDefeated;
|
||||
|
||||
public void OnOverworldEntered() => OverworldEntered?.Invoke();
|
||||
@@ -73,6 +78,7 @@ namespace GameJamDungeon
|
||||
public void OnUnequippedItem() => UnequippedItem?.Invoke();
|
||||
public void OnInventorySorted() => InventorySorted?.Invoke();
|
||||
public void OnHealingItemConsumed(ConsumableItemStats item) => HealingItemConsumed?.Invoke(item);
|
||||
public void OnRestorativePickedUp(Restorative restorative) => RestorativePickedUp?.Invoke(restorative);
|
||||
|
||||
public void OnEnemyDefeated(Vector3 position, EnemyStatResource enemyStatResource) => EnemyDefeated?.Invoke(position, enemyStatResource);
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ font_color = Color(0.737255, 0.705882, 0.690196, 1)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_mundu"]
|
||||
font = ExtResource("5_2qnnx")
|
||||
font_size = 28
|
||||
font_size = 20
|
||||
font_color = Color(0.737255, 0.705882, 0.690196, 1)
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_0kb6l"]
|
||||
@@ -269,7 +269,7 @@ layout_mode = 2
|
||||
|
||||
[node name="HPValue" type="Label" parent="InventoryInfo/HBoxContainer/PlayerInfo/HPBox"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(250, 0)
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
text = "222/222"
|
||||
label_settings = SubResource("LabelSettings_th0sm")
|
||||
@@ -303,7 +303,7 @@ layout_mode = 2
|
||||
|
||||
[node name="VTValue" type="Label" parent="InventoryInfo/HBoxContainer/PlayerInfo/VTBox"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(250, 0)
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
text = "444/444"
|
||||
label_settings = SubResource("LabelSettings_ouwww")
|
||||
@@ -337,7 +337,7 @@ layout_mode = 2
|
||||
|
||||
[node name="ATKValue" type="Label" parent="InventoryInfo/HBoxContainer/PlayerInfo/ATKBox"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(250, 0)
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
text = "666/666"
|
||||
label_settings = SubResource("LabelSettings_ouwww")
|
||||
@@ -372,7 +372,7 @@ layout_mode = 2
|
||||
|
||||
[node name="DEFValue" type="Label" parent="InventoryInfo/HBoxContainer/PlayerInfo/DEFBox"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(250, 0)
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
text = "888/888"
|
||||
label_settings = SubResource("LabelSettings_ouwww")
|
||||
@@ -500,7 +500,7 @@ text = "Drop"
|
||||
alignment = 0
|
||||
|
||||
[node name="ItemInfo" type="VBoxContainer" parent="InventoryInfo/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(725, 0)
|
||||
custom_minimum_size = Vector2(700, 0)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 20
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ offset_bottom = 85.0
|
||||
script = ExtResource("1_yttxt")
|
||||
|
||||
[node name="ReferenceRect" type="ReferenceRect" parent="."]
|
||||
custom_minimum_size = Vector2(40, 0)
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ItemTexture" type="TextureRect" parent="."]
|
||||
@@ -32,7 +32,7 @@ layout_mode = 2
|
||||
|
||||
[node name="ItemName" type="Label" parent="."]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(600, 50)
|
||||
custom_minimum_size = Vector2(550, 50)
|
||||
layout_mode = 2
|
||||
text = "Mask of the Goddess of Destruction"
|
||||
label_settings = SubResource("LabelSettings_lgjx0")
|
||||
|
||||
@@ -105,7 +105,11 @@ public partial class Inventory : Node, IInventory
|
||||
public void Unequip(IEquipable equipable)
|
||||
{
|
||||
if (equipable is Weapon weapon)
|
||||
{
|
||||
_equippedWeapon.OnNext(new Weapon());
|
||||
if (weapon.WeaponStats.WeaponTags.Contains(WeaponTag.BreaksOnChange))
|
||||
Items.Remove(weapon);
|
||||
}
|
||||
else if (equipable is Armor armor)
|
||||
_equippedArmor.OnNext(new Armor());
|
||||
else if (equipable is Accessory accessory)
|
||||
|
||||
@@ -18,6 +18,7 @@ collision_mask = 4
|
||||
unique_name_in_owner = true
|
||||
pixel_size = 0.0005
|
||||
billboard = 2
|
||||
shaded = true
|
||||
texture_filter = 0
|
||||
render_priority = 100
|
||||
|
||||
|
||||
@@ -14,4 +14,4 @@ AccessoryTags = []
|
||||
Name = "Mask of the Goddess of Avarice"
|
||||
Description = "Raises Luck"
|
||||
Texture = ExtResource("1_q42cv")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="AccessoryInfo" load_steps=3 format=3 uid="uid://d4bcem2nup7ef"]
|
||||
[gd_resource type="Resource" script_class="AccessoryStats" load_steps=3 format=3 uid="uid://d4bcem2nup7ef"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://db7i7iy5gagae" path="res://src/items/accessory/textures/MASK 02.PNG" id="1_0p1ot"]
|
||||
[ext_resource type="Script" path="res://src/items/accessory/AccessoryStats.cs" id="1_vef66"]
|
||||
@@ -14,3 +14,4 @@ AccessoryTags = [0]
|
||||
Name = "Mask of the Goddess of Destruction"
|
||||
Description = "Raises ATK."
|
||||
Texture = ExtResource("1_0p1ot")
|
||||
SpawnRate = 0.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="AccessoryInfo" load_steps=3 format=3 uid="uid://bejy3lpudgawg"]
|
||||
[gd_resource type="Resource" script_class="AccessoryStats" load_steps=3 format=3 uid="uid://bejy3lpudgawg"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://db7i7iy5gagae" path="res://src/items/accessory/textures/MASK 02.PNG" id="1_0k42r"]
|
||||
[ext_resource type="Script" path="res://src/items/accessory/AccessoryStats.cs" id="1_cgxkh"]
|
||||
@@ -14,3 +14,4 @@ AccessoryTags = []
|
||||
Name = "Mask of the Goddess of Guilt"
|
||||
Description = "Raises MAX HP, MAX VT, ATK, DEF"
|
||||
Texture = ExtResource("1_0k42r")
|
||||
SpawnRate = 0.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="AccessoryInfo" load_steps=3 format=3 uid="uid://ddwyaxxqvk52h"]
|
||||
[gd_resource type="Resource" script_class="AccessoryStats" load_steps=3 format=3 uid="uid://ddwyaxxqvk52h"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://db7i7iy5gagae" path="res://src/items/accessory/textures/MASK 02.PNG" id="1_1uw37"]
|
||||
[ext_resource type="Script" path="res://src/items/accessory/AccessoryStats.cs" id="1_kuyyj"]
|
||||
@@ -14,3 +14,4 @@ AccessoryTags = []
|
||||
Name = "Mask of the Goddess of Obstinance"
|
||||
Description = "Raises DEF."
|
||||
Texture = ExtResource("1_1uw37")
|
||||
SpawnRate = 0.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="AccessoryInfo" load_steps=3 format=3 uid="uid://c3v6r8s8yruag"]
|
||||
[gd_resource type="Resource" script_class="AccessoryStats" load_steps=3 format=3 uid="uid://c3v6r8s8yruag"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/items/accessory/AccessoryStats.cs" id="1_co7sc"]
|
||||
[ext_resource type="Texture2D" uid="uid://db7i7iy5gagae" path="res://src/items/accessory/textures/MASK 02.PNG" id="1_uwbei"]
|
||||
@@ -14,3 +14,4 @@ AccessoryTags = [1]
|
||||
Name = "Mask of the Shunned Goddess"
|
||||
Description = "Status Effect Immunity"
|
||||
Texture = ExtResource("1_uwbei")
|
||||
SpawnRate = 0.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="AccessoryInfo" load_steps=3 format=3 uid="uid://ct8iply3dwssv"]
|
||||
[gd_resource type="Resource" script_class="AccessoryStats" load_steps=3 format=3 uid="uid://ct8iply3dwssv"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://db7i7iy5gagae" path="res://src/items/accessory/textures/MASK 02.PNG" id="1_t16cd"]
|
||||
[ext_resource type="Script" path="res://src/items/accessory/AccessoryStats.cs" id="1_vdb56"]
|
||||
@@ -14,3 +14,4 @@ AccessoryTags = [0]
|
||||
Name = "Mask of the Goddess of Sloth"
|
||||
Description = "Halves VT Depletion Rate"
|
||||
Texture = ExtResource("1_t16cd")
|
||||
SpawnRate = 0.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="AccessoryInfo" load_steps=3 format=3 uid="uid://d02kuxaus43mk"]
|
||||
[gd_resource type="Resource" script_class="AccessoryStats" load_steps=3 format=3 uid="uid://d02kuxaus43mk"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/items/accessory/AccessoryStats.cs" id="1_3iw2y"]
|
||||
[ext_resource type="Texture2D" uid="uid://db7i7iy5gagae" path="res://src/items/accessory/textures/MASK 02.PNG" id="1_vc77e"]
|
||||
@@ -14,3 +14,4 @@ AccessoryTags = []
|
||||
Name = "Mask of the Goddess of Suffering"
|
||||
Description = "Raises MAX VT"
|
||||
Texture = ExtResource("1_vc77e")
|
||||
SpawnRate = 0.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="AccessoryInfo" load_steps=3 format=3 uid="uid://b0bxwp55mcyyp"]
|
||||
[gd_resource type="Resource" script_class="AccessoryStats" load_steps=3 format=3 uid="uid://b0bxwp55mcyyp"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/items/accessory/AccessoryStats.cs" id="1_0u4rq"]
|
||||
[ext_resource type="Texture2D" uid="uid://db7i7iy5gagae" path="res://src/items/accessory/textures/MASK 02.PNG" id="1_ggv41"]
|
||||
@@ -14,3 +14,4 @@ AccessoryTags = []
|
||||
Name = "Mask of the Goddess of Zeal"
|
||||
Description = "Raises MAX HP"
|
||||
Texture = ExtResource("1_ggv41")
|
||||
SpawnRate = 0.1
|
||||
|
||||
@@ -19,6 +19,7 @@ unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0322805, 0)
|
||||
pixel_size = 0.0006
|
||||
billboard = 2
|
||||
shaded = true
|
||||
double_sided = false
|
||||
alpha_cut = 1
|
||||
texture_filter = 0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="ArmorInfo" load_steps=3 format=3 uid="uid://b8mjje06x6dl1"]
|
||||
[gd_resource type="Resource" script_class="ArmorStats" load_steps=3 format=3 uid="uid://b8mjje06x6dl1"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dbb3x4cbo8jc1" path="res://src/items/armor/textures/ACCEPTANCE.PNG" id="1_p85jd"]
|
||||
[ext_resource type="Script" path="res://src/items/armor/ArmorStats.cs" id="1_si4wu"]
|
||||
@@ -14,4 +14,4 @@ FerrumResistance = 0.0
|
||||
Name = "Acceptance"
|
||||
Description = "+9 DEF"
|
||||
Texture = ExtResource("1_p85jd")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.01
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="ArmorInfo" load_steps=3 format=3 uid="uid://ce2vfa2t3io67"]
|
||||
[gd_resource type="Resource" script_class="ArmorStats" load_steps=3 format=3 uid="uid://ce2vfa2t3io67"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/items/armor/ArmorStats.cs" id="1_6r2bl"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckcn67d64mgke" path="res://src/items/armor/textures/atoners adornment.PNG" id="1_588l8"]
|
||||
@@ -14,4 +14,4 @@ FerrumResistance = 0.0
|
||||
Name = "Atoner's Adornments"
|
||||
Description = "+1 DEF"
|
||||
Texture = ExtResource("1_588l8")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.25
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="ArmorInfo" load_steps=3 format=3 uid="uid://dnu241lh47oqd"]
|
||||
[gd_resource type="Resource" script_class="ArmorStats" load_steps=3 format=3 uid="uid://dnu241lh47oqd"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/items/armor/ArmorStats.cs" id="1_0qtvf"]
|
||||
[ext_resource type="Texture2D" uid="uid://vvhbibkslh57" path="res://src/items/armor/textures/CEREMONIAL.PNG" id="1_s4gpg"]
|
||||
@@ -14,4 +14,4 @@ FerrumResistance = 0.0
|
||||
Name = "Ceremonial Vestments"
|
||||
Description = "+2 DEF"
|
||||
Texture = ExtResource("1_s4gpg")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.2
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="ArmorInfo" load_steps=3 format=3 uid="uid://4s7wjsb7eb6e"]
|
||||
[gd_resource type="Resource" script_class="ArmorStats" load_steps=3 format=3 uid="uid://4s7wjsb7eb6e"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://381ddynsa3gc" path="res://src/items/armor/textures/DEVIC.PNG" id="1_5ik54"]
|
||||
[ext_resource type="Script" path="res://src/items/armor/ArmorStats.cs" id="1_w3lql"]
|
||||
@@ -14,4 +14,4 @@ FerrumResistance = 0.0
|
||||
Name = "Devic Layers"
|
||||
Description = "+7 DEF"
|
||||
Texture = ExtResource("1_5ik54")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.05
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="ArmorInfo" load_steps=3 format=3 uid="uid://dc0qjer88chme"]
|
||||
[gd_resource type="Resource" script_class="ArmorStats" load_steps=3 format=3 uid="uid://dc0qjer88chme"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/items/armor/ArmorStats.cs" id="1_3mc7x"]
|
||||
[ext_resource type="Texture2D" uid="uid://c57kuugsc2lti" path="res://src/items/armor/textures/GODDESS.PNG" id="1_5vleh"]
|
||||
@@ -14,4 +14,4 @@ FerrumResistance = 0.0
|
||||
Name = "Goddess' Robe"
|
||||
Description = "+8 DEF"
|
||||
Texture = ExtResource("1_5vleh")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.03
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="ArmorInfo" load_steps=3 format=3 uid="uid://ceqnyutl7y7t4"]
|
||||
[gd_resource type="Resource" script_class="ArmorStats" load_steps=3 format=3 uid="uid://ceqnyutl7y7t4"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/items/armor/ArmorStats.cs" id="1_iqj2w"]
|
||||
[ext_resource type="Texture2D" uid="uid://cj5m8qkpqrcx4" path="res://src/items/armor/textures/IRON.PNG" id="1_jyoar"]
|
||||
@@ -14,4 +14,4 @@ FerrumResistance = 0.0
|
||||
Name = "Iron Cage"
|
||||
Description = "+4 DEF"
|
||||
Texture = ExtResource("1_jyoar")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.15
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="ArmorInfo" load_steps=3 format=3 uid="uid://chhxktntl4k8r"]
|
||||
[gd_resource type="Resource" script_class="ArmorStats" load_steps=3 format=3 uid="uid://chhxktntl4k8r"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/items/armor/ArmorStats.cs" id="1_frqfh"]
|
||||
[ext_resource type="Texture2D" uid="uid://2qvbtq2obsac" path="res://src/items/armor/textures/LOGISTIAN.PNG" id="1_kh3n2"]
|
||||
@@ -14,4 +14,4 @@ FerrumResistance = 0.0
|
||||
Name = "Logistician's Garb"
|
||||
Description = "+5 DEF"
|
||||
Texture = ExtResource("1_kh3n2")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.08
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="ArmorInfo" load_steps=3 format=3 uid="uid://d3l8aa87tevgt"]
|
||||
[gd_resource type="Resource" script_class="ArmorStats" load_steps=3 format=3 uid="uid://d3l8aa87tevgt"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/items/armor/ArmorStats.cs" id="1_dh6tr"]
|
||||
[ext_resource type="Texture2D" uid="uid://ddtscpfj6nf6i" path="res://src/items/armor/textures/STOIC.PNG" id="1_xpphu"]
|
||||
@@ -14,4 +14,4 @@ FerrumResistance = 0.0
|
||||
Name = "Stoic"
|
||||
Description = "+6 DEF"
|
||||
Texture = ExtResource("1_xpphu")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.05
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="ArmorInfo" load_steps=3 format=3 uid="uid://dq4c6an78qa4q"]
|
||||
[gd_resource type="Resource" script_class="ArmorStats" load_steps=3 format=3 uid="uid://dq4c6an78qa4q"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/items/armor/ArmorStats.cs" id="1_bkpin"]
|
||||
[ext_resource type="Texture2D" uid="uid://dghvd33w32q63" path="res://src/items/armor/textures/WOODEN.PNG" id="1_vs6ua"]
|
||||
@@ -14,4 +14,4 @@ FerrumResistance = 0.0
|
||||
Name = "Wooden Armament"
|
||||
Description = "+3 DEF"
|
||||
Texture = ExtResource("1_vs6ua")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.3
|
||||
|
||||
@@ -30,6 +30,7 @@ unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0322805, 0)
|
||||
pixel_size = 0.0005
|
||||
billboard = 2
|
||||
shaded = true
|
||||
double_sided = false
|
||||
alpha_cut = 1
|
||||
texture_filter = 0
|
||||
|
||||
@@ -13,4 +13,4 @@ Name = "Amrit Shard"
|
||||
Description = "A droplet of the heavenly elixir, frozen in time.
|
||||
Restores 60 HP. If HP full, raises MAX HP by 16."
|
||||
Texture = ExtResource("1_f1n30")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.05
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" load_steps=3 format=3 uid="uid://dns281deffo6q"]
|
||||
[gd_resource type="Resource" script_class="ConsumableItemStats" load_steps=3 format=3 uid="uid://dns281deffo6q"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bg47n2tmintm0" path="res://src/items/consumable/textures/past self remnant.PNG" id="1_rc8t1"]
|
||||
[ext_resource type="Script" path="res://src/items/consumable/ConsumableItemStats.cs" id="2_e61q8"]
|
||||
@@ -12,4 +12,4 @@ RaiseVTAmount = 0
|
||||
Name = "Past Self's Fragment"
|
||||
Description = "Restores all HP. If HP full, raises MAX HP by 25."
|
||||
Texture = ExtResource("1_rc8t1")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.05
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" load_steps=3 format=3 uid="uid://bnec53frgyue8"]
|
||||
[gd_resource type="Resource" script_class="ConsumableItemStats" load_steps=3 format=3 uid="uid://bnec53frgyue8"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cj0x1u7rknrvy" path="res://src/items/consumable/textures/past self spirit.PNG" id="1_jx43p"]
|
||||
[ext_resource type="Script" path="res://src/items/consumable/ConsumableItemStats.cs" id="2_wmtl1"]
|
||||
@@ -12,4 +12,4 @@ RaiseVTAmount = 20
|
||||
Name = "Past Self's Spirit"
|
||||
Description = "Restores all VT. If VT full, raises MAX VT by 20."
|
||||
Texture = ExtResource("1_jx43p")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.05
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_resource type="Resource" script_class="ConsumableItemStats" load_steps=3 format=3 uid="uid://ypw2yg10430p"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dbl5v5i1s3m2u" path="res://src/items/consumable/textures/stelo fragment.PNG" id="1_2qtta"]
|
||||
[ext_resource type="Texture2D" uid="uid://bqyjjdgub6iem" path="res://src/items/consumable/textures/suna fragment.PNG" id="1_ldd10"]
|
||||
[ext_resource type="Script" path="res://src/items/consumable/ConsumableItemStats.cs" id="2_41hue"]
|
||||
|
||||
[resource]
|
||||
@@ -11,6 +11,6 @@ HealVTAmount = 60
|
||||
RaiseVTAmount = 20
|
||||
Name = "Suna Fragment"
|
||||
Description = "A large gathered piece of the former heavens.
|
||||
Restores 30 VT. If VT full, raises MAX VT by 10."
|
||||
Texture = ExtResource("1_2qtta")
|
||||
SpawnRate = 0.5
|
||||
Restores 60 VT. If VT full, raises MAX VT by 20."
|
||||
Texture = ExtResource("1_ldd10")
|
||||
SpawnRate = 0.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" load_steps=3 format=3 uid="uid://lu0ddu3538p6"]
|
||||
[gd_resource type="Resource" script_class="ConsumableItemStats" load_steps=3 format=3 uid="uid://lu0ddu3538p6"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dw06kkltgk3sv" path="res://src/items/consumable/textures/ydunic fragment.PNG" id="1_4llax"]
|
||||
[ext_resource type="Script" path="res://src/items/consumable/ConsumableItemStats.cs" id="2_q4pyq"]
|
||||
@@ -13,4 +13,4 @@ Name = "Ydunic Shard"
|
||||
Description = "A fragment of the divine fruit, frozen in time.
|
||||
Restores 30 HP. If HP full, raises MAX HP by 8."
|
||||
Texture = ExtResource("1_4llax")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.1
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
using Chickensoft.AutoInject;
|
||||
using Chickensoft.Introspection;
|
||||
using GameJamDungeon;
|
||||
using Godot;
|
||||
|
||||
[Meta(typeof(IAutoNode))]
|
||||
public partial class Restorative : Node3D
|
||||
{
|
||||
public override void _Notification(int what) => this.Notify(what);
|
||||
|
||||
[Dependency] public IGameRepo GameRepo => this.DependOn<IGameRepo>();
|
||||
[Dependency] public IGameEventDepot GameEventDepot => this.DependOn<IGameEventDepot>();
|
||||
|
||||
[Node] public Area3D Pickup { get; set; } = default!;
|
||||
|
||||
public int VTRestoreAmount => 4;
|
||||
|
||||
public void OnReady()
|
||||
{
|
||||
Pickup.BodyEntered += OnEntered;
|
||||
}
|
||||
|
||||
public void OnEntered(Node3D body)
|
||||
{
|
||||
GameEventDepot.OnRestorativePickedUp(this);
|
||||
QueueFree();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dofju2wfj12y4"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dy6iul5xgcj47" path="res://src/items/restorative/textures/divinity recall 2.PNG" id="1_1rwq6"]
|
||||
[ext_resource type="Script" path="res://src/items/restorative/Restorative.cs" id="1_3beyl"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_o8f22"]
|
||||
|
||||
[node name="Restorative" type="Node3D"]
|
||||
script = ExtResource("1_3beyl")
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.363669, 0)
|
||||
pixel_size = 0.001
|
||||
billboard = 2
|
||||
shaded = true
|
||||
texture_filter = 0
|
||||
render_priority = 100
|
||||
texture = ExtResource("1_1rwq6")
|
||||
|
||||
[node name="Pickup" type="Area3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
collision_layer = 4
|
||||
collision_mask = 4
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Pickup"]
|
||||
shape = SubResource("CapsuleShape3D_o8f22")
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
+4
-4
@@ -2,16 +2,16 @@
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dm62mh0tqe0ut"
|
||||
path="res://.godot/imported/COLUMN_ROOM_VER3_5r4b2vhc34xa1.png-bbe317b7429c7856903475394d526e1a.ctex"
|
||||
uid="uid://dy6iul5xgcj47"
|
||||
path="res://.godot/imported/divinity recall 2.PNG-b9609d2630483f927a00266698997060.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/map/dungeon/models/COLUMN_ROOM_VER3_5r4b2vhc34xa1.png"
|
||||
dest_files=["res://.godot/imported/COLUMN_ROOM_VER3_5r4b2vhc34xa1.png-bbe317b7429c7856903475394d526e1a.ctex"]
|
||||
source_file="res://src/items/restorative/textures/divinity recall 2.PNG"
|
||||
dest_files=["res://.godot/imported/divinity recall 2.PNG-b9609d2630483f927a00266698997060.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
@@ -24,6 +24,7 @@ script = ExtResource("3_qpunu")
|
||||
unique_name_in_owner = true
|
||||
pixel_size = 0.0005
|
||||
billboard = 2
|
||||
shaded = true
|
||||
texture_filter = 0
|
||||
render_priority = 100
|
||||
|
||||
|
||||
@@ -9,4 +9,4 @@ ThrowableItemTags = []
|
||||
Name = "Geomantic Dice"
|
||||
Description = "Inflicts Affinity damage when thrown."
|
||||
Texture = ExtResource("1_jhits")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="ThrowableItemInfo" load_steps=3 format=3 uid="uid://qqg0gdcb8fwg"]
|
||||
[gd_resource type="Resource" script_class="ThrowableItemStats" load_steps=3 format=3 uid="uid://qqg0gdcb8fwg"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dhfn51smm818x" path="res://src/items/throwable/textures/spell sign - luck.PNG" id="1_3605p"]
|
||||
[ext_resource type="Script" path="res://src/items/throwable/ThrowableItemStats.cs" id="1_s3pq7"]
|
||||
@@ -9,3 +9,4 @@ ThrowableItemTags = []
|
||||
Name = "Spell Sign: Knowledge"
|
||||
Description = "Doubles experience points earned. Effect is temporary."
|
||||
Texture = ExtResource("1_3605p")
|
||||
SpawnRate = 0.1
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://db206brufi83s"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://db206brufi83s"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/items/weapons/Weapon.cs" id="1_7pkyf"]
|
||||
[ext_resource type="Texture2D" uid="uid://740syoj0w14p" path="res://src/items/weapons/textures/PALM OF HEAVEN.PNG" id="3_r8rh2"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_wll7p"]
|
||||
radius = 0.470016
|
||||
@@ -19,11 +18,11 @@ unique_name_in_owner = true
|
||||
transform = Transform3D(0.0978955, 0, 0.995197, 0, 1, 0, -0.995197, 0, 0.0978955, 0, 0.271026, 0)
|
||||
pixel_size = 0.0006
|
||||
billboard = 2
|
||||
shaded = true
|
||||
double_sided = false
|
||||
alpha_antialiasing_mode = 1
|
||||
texture_filter = 0
|
||||
render_priority = 100
|
||||
texture = ExtResource("3_r8rh2")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Pickup"]
|
||||
shape = SubResource("CapsuleShape3D_wll7p")
|
||||
|
||||
@@ -18,4 +18,4 @@ Name = "Jiblett"
|
||||
Description = "+3 ATK
|
||||
A halberd for the tasteful."
|
||||
Texture = ExtResource("1_ifm43")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.1
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
[gd_resource type="Resource" script_class="WeaponStats" load_steps=3 format=3 uid="uid://c8bvtfcq772sv"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dsi0myqu80aq3" path="res://src/items/weapons/textures/katar.PNG" id="1_3waom"]
|
||||
[ext_resource type="Script" path="res://src/items/weapons/WeaponStats.cs" id="2_3gdyl"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_3gdyl")
|
||||
Damage = 1
|
||||
Luck = 0.05
|
||||
AttackSpeed = 1.25
|
||||
TelluricDamageBonus = 0.0
|
||||
AeolicDamageBonus = 0.0
|
||||
BaseHydricDamageBonus = 0.0
|
||||
IgneousDamageBonus = 0.0
|
||||
FerrumDamageBonus = 0.0
|
||||
WeaponTags = []
|
||||
Name = "Katara"
|
||||
Description = "+1 ATK, Fast"
|
||||
Texture = ExtResource("1_3waom")
|
||||
SpawnRate = 0.3
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="WeaponInfo" load_steps=3 format=3 uid="uid://db075qhmlmrcu"]
|
||||
[gd_resource type="Resource" script_class="WeaponStats" load_steps=3 format=3 uid="uid://db075qhmlmrcu"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/items/weapons/WeaponStats.cs" id="1_kbje7"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkntmni5jxfpk" path="res://src/items/weapons/textures/KUBEL.PNG" id="1_kwtbu"]
|
||||
@@ -19,4 +19,4 @@ Description = "+9 ATK
|
||||
A very powerful spear.
|
||||
For every hit, you lose 5 HP."
|
||||
Texture = ExtResource("1_kwtbu")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.01
|
||||
|
||||
@@ -18,4 +18,4 @@ Name = "Love Judgement"
|
||||
Description = "+12 ATK
|
||||
A mace only wieldable by the strong of heart."
|
||||
Texture = ExtResource("1_ivlxj")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.01
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="WeaponInfo" load_steps=3 format=3 uid="uid://ckj1m4iv4m02r"]
|
||||
[gd_resource type="Resource" script_class="WeaponStats" load_steps=3 format=3 uid="uid://ckj1m4iv4m02r"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://740syoj0w14p" path="res://src/items/weapons/textures/PALM OF HEAVEN.PNG" id="1_hi6xm"]
|
||||
[ext_resource type="Script" path="res://src/items/weapons/WeaponStats.cs" id="1_pwwg7"]
|
||||
@@ -19,4 +19,4 @@ Description = "+10 ATK
|
||||
Very Powerful.
|
||||
Breaks upon leaving the floor."
|
||||
Texture = ExtResource("1_hi6xm")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.01
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="WeaponInfo" load_steps=3 format=3 uid="uid://gebgo2x6nr3t"]
|
||||
[gd_resource type="Resource" script_class="WeaponStats" load_steps=3 format=3 uid="uid://gebgo2x6nr3t"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://b8c7kd436tg4" path="res://src/items/weapons/textures/RONDO.PNG" id="1_cvwbh"]
|
||||
[ext_resource type="Script" path="res://src/items/weapons/WeaponStats.cs" id="1_xfb0x"]
|
||||
@@ -18,4 +18,4 @@ Name = "Rondo"
|
||||
Description = "+7 ATK
|
||||
An eastern blade outside of time and reproach."
|
||||
Texture = ExtResource("1_cvwbh")
|
||||
SpawnRate = 0.5
|
||||
SpawnRate = 0.01
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="Resource" script_class="WeaponInfo" load_steps=3 format=3 uid="uid://b7xr0l4a8g1gk"]
|
||||
[gd_resource type="Resource" script_class="WeaponStats" load_steps=3 format=3 uid="uid://b7xr0l4a8g1gk"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/items/weapons/WeaponStats.cs" id="1_40b5j"]
|
||||
[ext_resource type="Texture2D" uid="uid://b1qbho30vnuxf" path="res://src/items/weapons/textures/sealing rod.PNG" id="1_wiylj"]
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
[gd_resource type="Resource" script_class="WeaponStats" load_steps=3 format=3 uid="uid://dj6i0em2a3hj8"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cixq2naufiuhv" path="res://src/items/weapons/textures/spaded staff.PNG" id="1_6tifm"]
|
||||
[ext_resource type="Script" path="res://src/items/weapons/WeaponStats.cs" id="2_w4n0u"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_w4n0u")
|
||||
Damage = 5
|
||||
Luck = 0.1
|
||||
AttackSpeed = 0.75
|
||||
TelluricDamageBonus = 0.0
|
||||
AeolicDamageBonus = 0.0
|
||||
BaseHydricDamageBonus = 0.0
|
||||
IgneousDamageBonus = 0.0
|
||||
FerrumDamageBonus = 0.0
|
||||
WeaponTags = []
|
||||
Name = "Monk's Spade"
|
||||
Description = "+5 ATK, Slow"
|
||||
Texture = ExtResource("1_6tifm")
|
||||
SpawnRate = 0.3
|
||||
@@ -0,0 +1,20 @@
|
||||
[gd_resource type="Resource" script_class="WeaponStats" load_steps=3 format=3 uid="uid://bs01dnjkcmi7a"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d02gqi3icdp8l" path="res://src/items/weapons/textures/talwar.PNG" id="1_8a832"]
|
||||
[ext_resource type="Script" path="res://src/items/weapons/WeaponStats.cs" id="2_a7ln4"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_a7ln4")
|
||||
Damage = 3
|
||||
Luck = 0.07
|
||||
AttackSpeed = 1.0
|
||||
TelluricDamageBonus = 0.0
|
||||
AeolicDamageBonus = 0.0
|
||||
BaseHydricDamageBonus = 0.0
|
||||
IgneousDamageBonus = 0.0
|
||||
FerrumDamageBonus = 0.0
|
||||
WeaponTags = []
|
||||
Name = "Talwar"
|
||||
Description = "+3 ATK"
|
||||
Texture = ExtResource("1_8a832")
|
||||
SpawnRate = 0.3
|
||||
@@ -3,25 +3,26 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d02gqi3icdp8l"
|
||||
path="res://.godot/imported/talwar.PNG-d35174e542d7a4b1cd4c9dcab5b38d49.ctex"
|
||||
path.s3tc="res://.godot/imported/talwar.PNG-d35174e542d7a4b1cd4c9dcab5b38d49.s3tc.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/items/weapons/textures/talwar.PNG"
|
||||
dest_files=["res://.godot/imported/talwar.PNG-d35174e542d7a4b1cd4c9dcab5b38d49.ctex"]
|
||||
dest_files=["res://.godot/imported/talwar.PNG-d35174e542d7a4b1cd4c9dcab5b38d49.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/mode=2
|
||||
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/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
@@ -31,4 +32,4 @@ 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
|
||||
detect_3d/compress_to=0
|
||||
|
||||
+7
-1
@@ -1,10 +1,12 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://by67pn7fdsg1m"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://by67pn7fdsg1m"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/map/Map.cs" id="1_bw70o"]
|
||||
[ext_resource type="PackedScene" uid="uid://dvnc26rebk6o0" path="res://src/map/overworld/Overworld.tscn" id="1_ope1x"]
|
||||
[ext_resource type="PackedScene" uid="uid://bc1sp6xwe0j65" path="res://src/map/dungeon/floors/Floor01.tscn" id="2_merfv"]
|
||||
[ext_resource type="PackedScene" uid="uid://g28xmp6cn16h" path="res://src/map/dungeon/floors/Floor11.tscn" id="3_niasb"]
|
||||
[ext_resource type="PackedScene" uid="uid://dmiqwmivkjgmq" path="res://src/map/dungeon/floors/Floor02.tscn" id="4_8y0oy"]
|
||||
[ext_resource type="PackedScene" uid="uid://bjqgl5u05ia04" path="res://src/map/dungeon/Teleport.tscn" id="5_jiohg"]
|
||||
[ext_resource type="PackedScene" uid="uid://dl1scvkp8r5sw" path="res://src/map/dungeon/floors/Floor03.tscn" id="5_uag72"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_phn4t"]
|
||||
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
|
||||
@@ -38,6 +40,10 @@ unique_name_in_owner = true
|
||||
[node name="Floor1" parent="." instance=ExtResource("2_merfv")]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="Floor2" parent="." instance=ExtResource("4_8y0oy")]
|
||||
|
||||
[node name="Floor3" parent="." instance=ExtResource("5_uag72")]
|
||||
|
||||
[node name="Floor11" parent="." instance=ExtResource("3_niasb")]
|
||||
|
||||
[node name="Teleport" parent="." instance=ExtResource("5_jiohg")]
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
using Chickensoft.AutoInject;
|
||||
using Chickensoft.Introspection;
|
||||
using Godot;
|
||||
|
||||
[Meta(typeof(IAutoNode))]
|
||||
public partial class MinimapManager : Area3D
|
||||
{
|
||||
public override void _Notification(int what) => this.Notify(what);
|
||||
|
||||
[Node] public MeshInstance3D Minimap { get; set; } = default!;
|
||||
|
||||
public void OnResolved() => BodyEntered += MinimapManager_BodyEntered;
|
||||
|
||||
private void MinimapManager_BodyEntered(Node3D area) => Minimap.Show();
|
||||
}
|
||||
@@ -1,8 +1,10 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://bn4gslp2gk8ds"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://bn4gslp2gk8ds"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_y0rqi"]
|
||||
[ext_resource type="Script" path="res://src/map/dungeon/corridor/remove_unused_doors.gd" id="3_8i1ij"]
|
||||
[ext_resource type="Texture2D" uid="uid://vtnruibl68fq" path="res://src/map/dungeon/models/antechamber_1/ANTECHAMBER_TYPE1_VER2_FLOOR1.jpg" id="3_opvgc"]
|
||||
[ext_resource type="Script" path="res://src/map/dungeon/code/MinimapManager.cs" id="4_na28n"]
|
||||
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="4_yo35n"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_p2p1w"]
|
||||
albedo_texture = ExtResource("3_opvgc")
|
||||
@@ -10,8 +12,12 @@ uv1_scale = Vector3(1.52, 1.52, 1.52)
|
||||
uv1_triplanar = true
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_xt554"]
|
||||
material = ExtResource("4_yo35n")
|
||||
size = Vector2(4, 4)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_5u3wq"]
|
||||
size = Vector3(4, 4, 4)
|
||||
|
||||
[node name="Corridor" type="Node3D"]
|
||||
script = ExtResource("1_y0rqi")
|
||||
voxel_scale = Vector3(4, 4, 4)
|
||||
@@ -49,6 +55,18 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00830109, -0.00256348, 1.94
|
||||
operation = 2
|
||||
size = Vector3(3.75879, 3.79468, 0.105042)
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
[node name="Area3D" type="Area3D" parent="."]
|
||||
collision_layer = 512
|
||||
collision_mask = 512
|
||||
script = ExtResource("4_na28n")
|
||||
|
||||
[node name="Minimap" type="MeshInstance3D" parent="Area3D"]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.90563, 0)
|
||||
visible = false
|
||||
layers = 2
|
||||
mesh = SubResource("PlaneMesh_xt554")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
||||
shape = SubResource("BoxShape3D_5u3wq")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://bc1sp6xwe0j65"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://bc1sp6xwe0j65"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/map/dungeon/code/DungeonFloor.cs" id="1_0ecnn"]
|
||||
[ext_resource type="Script" path="res://addons/SimpleDungeons/DungeonGenerator3D.gd" id="2_cxmwa"]
|
||||
@@ -7,6 +7,8 @@
|
||||
[ext_resource type="PackedScene" uid="uid://bn4gslp2gk8ds" path="res://src/map/dungeon/corridor/Corridor.tscn" id="4_gni6i"]
|
||||
[ext_resource type="PackedScene" uid="uid://b7111krf365x0" path="res://src/map/dungeon/scenes/InnerBalcony.tscn" id="5_v15cv"]
|
||||
[ext_resource type="PackedScene" uid="uid://c1qicmrcg6q6x" path="res://src/map/dungeon/scenes/ColumnRoom.tscn" id="6_gy758"]
|
||||
[ext_resource type="PackedScene" uid="uid://wkwqods1sfep" path="res://src/map/dungeon/scenes/PitRoom.tscn" id="7_p7uga"]
|
||||
[ext_resource type="PackedScene" uid="uid://dfpyfpnya0f4u" path="res://src/map/dungeon/scenes/WaterRoom.tscn" id="8_8qebi"]
|
||||
|
||||
[sub_resource type="NavigationMesh" id="NavigationMesh_gqi8w"]
|
||||
border_size = 1.0
|
||||
@@ -23,7 +25,7 @@ navigation_mesh = SubResource("NavigationMesh_gqi8w")
|
||||
[node name="DungeonGenerator" type="Node3D" parent="NavigationRegion3D"]
|
||||
unique_name_in_owner = true
|
||||
script = ExtResource("2_cxmwa")
|
||||
room_scenes = Array[PackedScene]([ExtResource("3_tsw3y"), ExtResource("4_b2rkl"), ExtResource("5_v15cv"), ExtResource("6_gy758")])
|
||||
room_scenes = Array[PackedScene]([ExtResource("3_tsw3y"), ExtResource("4_b2rkl"), ExtResource("5_v15cv"), ExtResource("6_gy758"), ExtResource("7_p7uga"), ExtResource("8_8qebi")])
|
||||
corridor_room_scene = ExtResource("4_gni6i")
|
||||
dungeon_size = Vector3i(50, 1, 50)
|
||||
voxel_scale = Vector3(4, 4, 4)
|
||||
|
||||
@@ -1,18 +1,32 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://b3r0r22kc67bl"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://dmiqwmivkjgmq"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/SimpleDungeons/DungeonGenerator3D.gd" id="1_afeds"]
|
||||
[ext_resource type="PackedScene" path="res://src/map/dungeon/rooms/Room1.tscn" id="2_dss74"]
|
||||
[ext_resource type="PackedScene" path="res://src/map/dungeon/rooms/Room2.tscn" id="3_5748f"]
|
||||
[ext_resource type="PackedScene" uid="uid://bn4gslp2gk8ds" path="res://src/map/dungeon/corridor/Corridor.tscn" id="4_mebix"]
|
||||
[ext_resource type="PackedScene" uid="uid://dpec2lbt83dhe" path="res://src/map/dungeon/scenes/Antechamber.tscn" id="3_7txs6"]
|
||||
[ext_resource type="PackedScene" uid="uid://b82dx66mgs2d7" path="res://src/map/dungeon/scenes/BasinRoom.tscn" id="4_r7shj"]
|
||||
[ext_resource type="PackedScene" uid="uid://b7111krf365x0" path="res://src/map/dungeon/scenes/InnerBalcony.tscn" id="5_geyju"]
|
||||
[ext_resource type="Script" path="res://src/map/dungeon/code/DungeonFloor.cs" id="5_ld0kt"]
|
||||
[ext_resource type="PackedScene" uid="uid://c1qicmrcg6q6x" path="res://src/map/dungeon/scenes/ColumnRoom.tscn" id="6_jgovx"]
|
||||
[ext_resource type="PackedScene" uid="uid://bn4gslp2gk8ds" path="res://src/map/dungeon/corridor/Corridor.tscn" id="7_86if8"]
|
||||
[ext_resource type="PackedScene" uid="uid://wkwqods1sfep" path="res://src/map/dungeon/scenes/PitRoom.tscn" id="7_tlwet"]
|
||||
[ext_resource type="PackedScene" uid="uid://dfpyfpnya0f4u" path="res://src/map/dungeon/scenes/WaterRoom.tscn" id="8_lpc1g"]
|
||||
|
||||
[node name="Floor2" type="Node3D"]
|
||||
[sub_resource type="NavigationMesh" id="NavigationMesh_gqi8w"]
|
||||
border_size = 1.0
|
||||
agent_height = 3.0
|
||||
agent_radius = 0.1
|
||||
|
||||
[node name="Floor1" type="Node3D"]
|
||||
script = ExtResource("5_ld0kt")
|
||||
|
||||
[node name="DungeonGenerator" type="Node3D" parent="."]
|
||||
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
navigation_mesh = SubResource("NavigationMesh_gqi8w")
|
||||
|
||||
[node name="DungeonGenerator" type="Node3D" parent="NavigationRegion3D"]
|
||||
unique_name_in_owner = true
|
||||
script = ExtResource("1_afeds")
|
||||
room_scenes = Array[PackedScene]([ExtResource("2_dss74"), ExtResource("3_5748f")])
|
||||
corridor_room_scene = ExtResource("4_mebix")
|
||||
dungeon_size = Vector3i(10, 1, 10)
|
||||
room_scenes = Array[PackedScene]([ExtResource("3_7txs6"), ExtResource("4_r7shj"), ExtResource("5_geyju"), ExtResource("6_jgovx"), ExtResource("7_tlwet"), ExtResource("8_lpc1g")])
|
||||
corridor_room_scene = ExtResource("7_86if8")
|
||||
dungeon_size = Vector3i(30, 1, 30)
|
||||
voxel_scale = Vector3(4, 4, 4)
|
||||
generate_on_ready = false
|
||||
|
||||
@@ -1,18 +1,32 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://b40sstnic41dw"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://dl1scvkp8r5sw"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/SimpleDungeons/DungeonGenerator3D.gd" id="1_ou8lo"]
|
||||
[ext_resource type="PackedScene" path="res://src/map/dungeon/rooms/Room1.tscn" id="2_8mwqw"]
|
||||
[ext_resource type="PackedScene" path="res://src/map/dungeon/rooms/Room2.tscn" id="3_ap5wj"]
|
||||
[ext_resource type="PackedScene" uid="uid://bn4gslp2gk8ds" path="res://src/map/dungeon/corridor/Corridor.tscn" id="4_1741m"]
|
||||
[ext_resource type="PackedScene" uid="uid://dpec2lbt83dhe" path="res://src/map/dungeon/scenes/Antechamber.tscn" id="3_yeqmp"]
|
||||
[ext_resource type="PackedScene" uid="uid://b82dx66mgs2d7" path="res://src/map/dungeon/scenes/BasinRoom.tscn" id="4_2o7kq"]
|
||||
[ext_resource type="Script" path="res://src/map/dungeon/code/DungeonFloor.cs" id="5_mo2td"]
|
||||
[ext_resource type="PackedScene" uid="uid://b7111krf365x0" path="res://src/map/dungeon/scenes/InnerBalcony.tscn" id="5_wo0bu"]
|
||||
[ext_resource type="PackedScene" uid="uid://c1qicmrcg6q6x" path="res://src/map/dungeon/scenes/ColumnRoom.tscn" id="6_o010k"]
|
||||
[ext_resource type="PackedScene" uid="uid://wkwqods1sfep" path="res://src/map/dungeon/scenes/PitRoom.tscn" id="7_f70ga"]
|
||||
[ext_resource type="PackedScene" uid="uid://bn4gslp2gk8ds" path="res://src/map/dungeon/corridor/Corridor.tscn" id="7_qjouh"]
|
||||
[ext_resource type="PackedScene" uid="uid://dfpyfpnya0f4u" path="res://src/map/dungeon/scenes/WaterRoom.tscn" id="8_06hbf"]
|
||||
|
||||
[node name="Floor3" type="Node3D"]
|
||||
[sub_resource type="NavigationMesh" id="NavigationMesh_gqi8w"]
|
||||
border_size = 1.0
|
||||
agent_height = 3.0
|
||||
agent_radius = 0.1
|
||||
|
||||
[node name="Floor1" type="Node3D"]
|
||||
script = ExtResource("5_mo2td")
|
||||
|
||||
[node name="DungeonGenerator" type="Node3D" parent="."]
|
||||
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
navigation_mesh = SubResource("NavigationMesh_gqi8w")
|
||||
|
||||
[node name="DungeonGenerator" type="Node3D" parent="NavigationRegion3D"]
|
||||
unique_name_in_owner = true
|
||||
script = ExtResource("1_ou8lo")
|
||||
room_scenes = Array[PackedScene]([ExtResource("2_8mwqw"), ExtResource("3_ap5wj")])
|
||||
corridor_room_scene = ExtResource("4_1741m")
|
||||
dungeon_size = Vector3i(10, 1, 10)
|
||||
room_scenes = Array[PackedScene]([ExtResource("3_yeqmp"), ExtResource("4_2o7kq"), ExtResource("5_wo0bu"), ExtResource("6_o010k"), ExtResource("7_f70ga"), ExtResource("8_06hbf")])
|
||||
corridor_room_scene = ExtResource("7_qjouh")
|
||||
dungeon_size = Vector3i(40, 1, 40)
|
||||
voxel_scale = Vector3(4, 4, 4)
|
||||
generate_on_ready = false
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=57 format=4 uid="uid://dpec2lbt83dhe"]
|
||||
[gd_scene load_steps=60 format=4 uid="uid://dpec2lbt83dhe"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_ho6e8"]
|
||||
[ext_resource type="Script" path="res://src/map/dungeon/code/DungeonRoom.cs" id="2_iwuh7"]
|
||||
@@ -19,6 +19,8 @@
|
||||
[ext_resource type="PackedScene" uid="uid://dbvr8ewajja6a" path="res://src/enemy/EnemyDatabase.tscn" id="18_v6hub"]
|
||||
[ext_resource type="Texture2D" uid="uid://0idh4qh35cp7" path="res://src/map/dungeon/corridor/CORRIDOR test_FLOOR1.jpg" id="19_06gih"]
|
||||
[ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="20_le1vp"]
|
||||
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="21_8vpi3"]
|
||||
[ext_resource type="Script" path="res://src/map/dungeon/code/MinimapManager.cs" id="21_h0ti6"]
|
||||
[ext_resource type="Script" path="res://src/map/dungeon/corridor/remove_unused_doors.gd" id="21_m6pqv"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3hnk1"]
|
||||
@@ -640,8 +642,12 @@ albedo_texture = ExtResource("19_06gih")
|
||||
albedo_texture = ExtResource("19_06gih")
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_s0txx"]
|
||||
material = ExtResource("21_8vpi3")
|
||||
size = Vector2(20, 16)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_24rcp"]
|
||||
size = Vector3(20, 8, 16)
|
||||
|
||||
[node name="Antechamber" type="Node3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.73082, 0, -1.86841)
|
||||
script = ExtResource("1_ho6e8")
|
||||
@@ -725,13 +731,13 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 27.4629, -3.217, -10.9274)
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="EnemySpawn1" type="Marker3D" parent="Room/EnemySpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 19.21, -3.217, -16.535)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 19.21, -2.98, -16.535)
|
||||
|
||||
[node name="EnemySpawn2" type="Marker3D" parent="Room/EnemySpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 25.0833, -3.217, -16.535)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 25.0833, -2.98, -16.535)
|
||||
|
||||
[node name="EnemySpawn3" type="Marker3D" parent="Room/EnemySpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 25.0833, -3.217, -11.4824)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 25.0833, -2.98, -11.4824)
|
||||
|
||||
[node name="ItemDatabase" parent="Room" instance=ExtResource("17_25wvm")]
|
||||
unique_name_in_owner = true
|
||||
@@ -757,10 +763,10 @@ size = Vector3(4, 4, 0.5)
|
||||
material = SubResource("StandardMaterial3D_51rrf")
|
||||
|
||||
[node name="DOOR?1" type="CSGBox3D" parent="CSGBox2"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.872507, 0, 0.0686455)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.293891, 0, -0.104667)
|
||||
material_override = SubResource("StandardMaterial3D_alrge")
|
||||
operation = 2
|
||||
size = Vector3(4, 4, 2)
|
||||
size = Vector3(4.98816, 4, 2)
|
||||
material = SubResource("StandardMaterial3D_x3ul8")
|
||||
|
||||
[node name="CSGBox" type="CSGBox3D" parent="."]
|
||||
@@ -779,11 +785,24 @@ material = SubResource("StandardMaterial3D_x3ul8")
|
||||
[node name="RemoveUnusedDoors" type="Node" parent="."]
|
||||
script = ExtResource("21_m6pqv")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.01147, 0)
|
||||
mesh = SubResource("PlaneMesh_s0txx")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(-0.866023, -0.433016, 0.250001, 0, 0.499998, 0.866027, -0.500003, 0.749999, -0.43301, 0, 0, 0)
|
||||
light_energy = 0.0
|
||||
shadow_enabled = true
|
||||
|
||||
[node name="Minimap Manager" type="Area3D" parent="."]
|
||||
collision_layer = 512
|
||||
collision_mask = 512
|
||||
script = ExtResource("21_h0ti6")
|
||||
|
||||
[node name="Minimap" type="MeshInstance3D" parent="Minimap Manager"]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.01147, 0)
|
||||
visible = false
|
||||
layers = 2
|
||||
mesh = SubResource("PlaneMesh_s0txx")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Minimap Manager"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.94617, 0)
|
||||
shape = SubResource("BoxShape3D_24rcp")
|
||||
|
||||
@@ -1732,7 +1732,6 @@ material = SubResource("StandardMaterial3D_3mejj")
|
||||
|
||||
[node name="DOOR?1" type="CSGBox3D" parent="CSGBox2"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.872507, 0, 0.0686455)
|
||||
visible = false
|
||||
material_override = SubResource("StandardMaterial3D_2xt56")
|
||||
operation = 2
|
||||
size = Vector3(4, 4, 2)
|
||||
@@ -1746,7 +1745,6 @@ material = SubResource("StandardMaterial3D_3mejj")
|
||||
|
||||
[node name="DOOR?1" type="CSGBox3D" parent="CSGBox"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.0686455)
|
||||
visible = false
|
||||
material_override = SubResource("StandardMaterial3D_2xt56")
|
||||
operation = 2
|
||||
size = Vector3(4, 4, 2)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=64 format=4 uid="uid://b82dx66mgs2d7"]
|
||||
[gd_scene load_steps=66 format=4 uid="uid://b82dx66mgs2d7"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_0qew1"]
|
||||
[ext_resource type="Script" path="res://src/map/dungeon/code/DungeonRoom.cs" id="2_dthr7"]
|
||||
@@ -19,6 +19,8 @@
|
||||
[ext_resource type="Texture2D" uid="uid://bb5c4q66smcc7" path="res://src/map/dungeon/models/basin_room/BASIN_ROOM_VER2_TILE5.png" id="14_x3qy3"]
|
||||
[ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="18_bwap2"]
|
||||
[ext_resource type="PackedScene" uid="uid://dbvr8ewajja6a" path="res://src/enemy/EnemyDatabase.tscn" id="19_oogxr"]
|
||||
[ext_resource type="Script" path="res://src/map/dungeon/code/MinimapManager.cs" id="20_q54wm"]
|
||||
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="20_yhlud"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6oscl"]
|
||||
resource_name = "Material.006"
|
||||
@@ -693,14 +695,13 @@ albedo_texture = ExtResource("4_gh4c7")
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jwoo1"]
|
||||
albedo_texture = ExtResource("4_gh4c7")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wapyw"]
|
||||
transparency = 1
|
||||
albedo_color = Color(1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_g88f5"]
|
||||
material = SubResource("StandardMaterial3D_wapyw")
|
||||
material = ExtResource("20_yhlud")
|
||||
size = Vector2(20, 16)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_xepai"]
|
||||
size = Vector3(19.9796, 8, 16)
|
||||
|
||||
[node name="BasinRoom" type="Node3D"]
|
||||
script = ExtResource("1_0qew1")
|
||||
size_in_voxels = Vector3i(5, 1, 4)
|
||||
@@ -824,7 +825,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.07756, -3.06795, -2.83273)
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="EnemySpawn1" type="Marker3D" parent="Room/EnemySpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.55, -2, 0)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.55, -2.55692, 0)
|
||||
|
||||
[node name="ItemDatabase" parent="Room" instance=ExtResource("18_bwap2")]
|
||||
unique_name_in_owner = true
|
||||
@@ -836,6 +837,19 @@ unique_name_in_owner = true
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.85963, -3.14213, 3.91352)
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="Room"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.84845, 0)
|
||||
[node name="Area3D" type="Area3D" parent="."]
|
||||
collision_layer = 512
|
||||
collision_mask = 512
|
||||
script = ExtResource("20_q54wm")
|
||||
|
||||
[node name="Minimap" type="MeshInstance3D" parent="Area3D"]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.177235, -1.19746, -0.126597)
|
||||
visible = false
|
||||
layers = 2
|
||||
mesh = SubResource("PlaneMesh_g88f5")
|
||||
skeleton = NodePath("../../Room")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.999142, 0.0414048, 0, -0.0414048, 0.999142, -0.143891, 1.9078, 0.474629)
|
||||
shape = SubResource("BoxShape3D_xepai")
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=74 format=4 uid="uid://b7111krf365x0"]
|
||||
[gd_scene load_steps=78 format=4 uid="uid://b7111krf365x0"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_jccmw"]
|
||||
[ext_resource type="Script" path="res://src/map/dungeon/code/DungeonRoom.cs" id="2_5p5p8"]
|
||||
[ext_resource type="Texture2D" uid="uid://bb7y5jjl32b11" path="res://src/map/dungeon/models/inner_balcony/INNER_BALCONY_ROOM_VER2_STONE_PANEL_2png.png" id="2_40w7a"]
|
||||
[ext_resource type="Texture2D" uid="uid://1bmgm045nm7e" path="res://src/map/dungeon/models/inner_balcony/INNER_BALCONY_ROOM_VER2_COLUMN.jpg" id="3_87bce"]
|
||||
[ext_resource type="Texture2D" uid="uid://dgceb3iovrvsf" path="res://src/map/dungeon/models/inner_balcony/INNER_BALCONY_ROOM_VER2_WALL TILE 1.jpg" id="4_j2bdg"]
|
||||
@@ -17,6 +18,8 @@
|
||||
[ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="15_n8s21"]
|
||||
[ext_resource type="PackedScene" uid="uid://dbvr8ewajja6a" path="res://src/enemy/EnemyDatabase.tscn" id="16_mk0iw"]
|
||||
[ext_resource type="Script" path="res://src/map/dungeon/corridor/remove_unused_doors.gd" id="17_atu1n"]
|
||||
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="19_dmkqn"]
|
||||
[ext_resource type="Script" path="res://src/map/dungeon/code/MinimapManager.cs" id="19_gi8bh"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ta5ix"]
|
||||
resource_name = "Material.003"
|
||||
@@ -710,9 +713,6 @@ _surfaces = [{
|
||||
blend_shape_mode = 0
|
||||
shadow_mesh = SubResource("ArrayMesh_g3rwf")
|
||||
|
||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_448xx"]
|
||||
data = PackedVector3Array(-3.3391, -0.6359, 1, -3.3391, 0.6359, -1, -3.3391, 0.6359, 1, -3.3391, -0.6359, 1, -3.3391, -0.6359, -1, -3.3391, 0.6359, -1, -3.3391, -0.6359, -1, -1.3391, 0.6359, -1, -3.3391, 0.6359, -1, -3.3391, -0.6359, -1, -1.3391, -0.6359, -1, -1.3391, 0.6359, -1, -1.3391, 0.6359, -1, -3.3391, 0.6359, 1, -3.3391, 0.6359, -1, -1.3391, 0.6359, -1, -1.3391, 0.6359, 1, -3.3391, 0.6359, 1, -1.3391, -0.6359, -1, 4.6782, 0.6359, -1, -1.3391, 0.6359, -1, -1.3391, 0.6359, -1, 4.6782, 0.6359, 1, -1.3391, 0.6359, 1, -1.3391, 0.6359, -1, 4.6782, 0.6359, -1, 4.6782, 0.6359, 1, -1.3391, 0.6359, 1, 4.6782, 0.6359, 1, 4.6782, -0.6359, 1, 4.6782, -0.6359, -1, 4.6782, 0.6359, 1, 4.6782, 0.6359, -1, -1.3391, -0.6359, -1, 4.6782, -0.6359, -1, 4.6782, 0.6359, -1, 4.6782, -0.6359, -1, 4.6782, -0.6359, 1, 4.6782, 0.6359, 1, -1.3391, -0.6359, 1, 4.6782, -0.6359, -1, -1.3391, -0.6359, -1, -1.3391, -0.6359, 1, 4.6782, -0.6359, 1, 4.6782, -0.6359, -1, -1.3391, 0.6359, 1, 4.6782, -0.6359, 1, -1.3391, -0.6359, 1, -3.3391, -0.6359, -1, -1.3391, -0.6359, 1, -1.3391, -0.6359, -1, -3.3391, -0.6359, -1, -3.3391, -0.6359, 1, -1.3391, -0.6359, 1, -1.3391, -0.6359, 1, -3.3391, 0.6359, 1, -1.3391, 0.6359, 1, -1.3391, -0.6359, 1, -3.3391, -0.6359, 1, -3.3391, 0.6359, 1)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hhxg6"]
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_vk5q6"]
|
||||
@@ -869,185 +869,227 @@ albedo_texture = ExtResource("14_vh3wx")
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xw1ea"]
|
||||
albedo_texture = ExtResource("14_vh3wx")
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_suh2k"]
|
||||
size = Vector3(36, 8, 36)
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_fhks4"]
|
||||
material = ExtResource("19_dmkqn")
|
||||
size = Vector2(36, 32)
|
||||
|
||||
[node name="DungeonRoom3D" type="Node3D"]
|
||||
script = ExtResource("1_jccmw")
|
||||
size_in_voxels = Vector3i(9, 1, 8)
|
||||
voxel_scale = Vector3(4, 4, 4)
|
||||
min_count = 1
|
||||
max_count = 1
|
||||
|
||||
[node name="Node3D" type="Node3D" parent="."]
|
||||
[node name="InnerBalcony" type="Node3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.420509, -0.231827, -0.327061)
|
||||
script = ExtResource("2_5p5p8")
|
||||
|
||||
[node name="INNER_BALCONY_ROOM_VER2" type="Node3D" parent="Node3D"]
|
||||
[node name="INNER_BALCONY_ROOM_VER2" type="Node3D" parent="InnerBalcony"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15.0192, -69.2062, -78.9245)
|
||||
|
||||
[node name="COLISION_001" type="Node3D" parent="Node3D/INNER_BALCONY_ROOM_VER2"]
|
||||
[node name="COLISION_001" type="Node3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(0.249554, 0, 0, 0, -10.8865, 0, 0, 0, 0.25, 17.1674, 69.9, 77.2533)
|
||||
|
||||
[node name="RAILING" type="MeshInstance3D" parent="Node3D/INNER_BALCONY_ROOM_VER2"]
|
||||
[node name="RAILING" type="MeshInstance3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(-3.3109e-09, 0, 0.0349675, 0, 0.0310414, 0, -0.0277738, 0, -4.16846e-09, 15.7658, 68.2012, 75.8911)
|
||||
mesh = SubResource("ArrayMesh_vul0g")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="SIGIL BASE" type="MeshInstance3D" parent="Node3D/INNER_BALCONY_ROOM_VER2"]
|
||||
[node name="SIGIL BASE" type="MeshInstance3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(5.03323, 0, 0, 0, 0, -5.03323, 0, 1.01423, 0, 15.4876, 70.4577, 93.5438)
|
||||
mesh = SubResource("ArrayMesh_6ryll")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="SIGIL" type="MeshInstance3D" parent="Node3D/INNER_BALCONY_ROOM_VER2"]
|
||||
[node name="SIGIL" type="MeshInstance3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(5.03323, 0, 0, 0, 0, -5.03323, 0, 1.01423, 0, 15.4876, 70.4577, 92.9245)
|
||||
mesh = SubResource("ArrayMesh_nw32o")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="COLUMN THIN" type="MeshInstance3D" parent="Node3D/INNER_BALCONY_ROOM_VER2"]
|
||||
[node name="COLUMN THIN" type="MeshInstance3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(0.0533971, -0.0757119, -1.62516e-08, 0, 2.20889e-08, -0.0834111, 0.0757119, 0.0533971, 1.14617e-08, 9.55237, 68.5525, 78.9478)
|
||||
mesh = SubResource("ArrayMesh_0rdah")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="COLUMN THIN_001" type="MeshInstance3D" parent="Node3D/INNER_BALCONY_ROOM_VER2"]
|
||||
[node name="COLUMN THIN_001" type="MeshInstance3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(0.08238, -0.042392, -5.71939e-09, 1.38055e-09, 1.65666e-08, -0.0834111, 0.042392, 0.08238, 1.38309e-08, 21.4674, 68.5231, 78.8724)
|
||||
mesh = SubResource("ArrayMesh_v5mki")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="CEILING EMBELISHMENT" type="MeshInstance3D" parent="Node3D/INNER_BALCONY_ROOM_VER2"]
|
||||
[node name="CEILING EMBELISHMENT" type="MeshInstance3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(0.288009, 0, 0, 0, 0.191728, 0, 0, 0, 0.288009, 15.5256, 71.3576, 78.986)
|
||||
mesh = SubResource("ArrayMesh_mbdvj")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="COLUMNS" type="MeshInstance3D" parent="Node3D/INNER_BALCONY_ROOM_VER2"]
|
||||
[node name="COLUMNS" type="MeshInstance3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(0.381103, 0, 0, 0, -0.381103, 1.24179e-07, 0, -1.24179e-07, -0.381103, 17.6002, 69.496, 79.4943)
|
||||
mesh = SubResource("ArrayMesh_2hm0w")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="eye railing" type="MeshInstance3D" parent="Node3D/INNER_BALCONY_ROOM_VER2"]
|
||||
[node name="eye railing" type="MeshInstance3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(-1.0959, -1.2087e-07, -1.46162e-07, 1.78544e-07, 0, -0.897139, 1.78544e-07, -0.741897, 2.38129e-14, 15.5373, 68.5408, 83.891)
|
||||
mesh = SubResource("ArrayMesh_0pl86")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="GATE EMBLEISHMENTS" type="MeshInstance3D" parent="Node3D/INNER_BALCONY_ROOM_VER2"]
|
||||
[node name="GATE EMBLEISHMENTS" type="MeshInstance3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(-0.0968268, 0, -1.10517e-07, 0, 5.10597, 0, 3.15502e-08, 0, -0.339175, -2.30542, 69.2694, 74.7059)
|
||||
mesh = SubResource("ArrayMesh_qc1n4")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="Node3D/INNER_BALCONY_ROOM_VER2"]
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
|
||||
[node name="COLISSION_003" type="MeshInstance3D" parent="Node3D/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
[node name="COLISSION_003" type="MeshInstance3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
transform = Transform3D(1.98349, 0, 0, 0, -7.00202, 0, 0, 0, 1.98349, -30.3962, 63.6483, 97.2109)
|
||||
visible = false
|
||||
mesh = SubResource("ArrayMesh_04tja")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Node3D/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
transform = Transform3D(1.98349, 0, 0, 0, -7.00202, 0, 0, 0, 1.98349, -30.3962, 63.6483, 97.2109)
|
||||
shape = SubResource("ConcavePolygonShape3D_448xx")
|
||||
|
||||
[node name="COLISION_002" type="MeshInstance3D" parent="Node3D/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
[node name="COLISION_002" type="MeshInstance3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
transform = Transform3D(3.36494, 0, 0, 0, 3.36494, 0, 0, 0, 3.36494, 4.04179, 71.4128, 68.9592)
|
||||
visible = false
|
||||
mesh = SubResource("ArrayMesh_nffib")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Node3D/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
transform = Transform3D(3.36494, 0, 0, 0, 3.36494, 0, 0, 0, 3.36494, 4.04179, 71.4128, 68.9592)
|
||||
shape = SubResource("ConcavePolygonShape3D_v8am4")
|
||||
|
||||
[node name="COLISION_003" type="MeshInstance3D" parent="Node3D/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
[node name="COLISION_003" type="MeshInstance3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
transform = Transform3D(3.36494, 0, 0, 0, 3.36494, 0, 0, 0, 3.36494, 27.0667, 71.4128, 68.8693)
|
||||
visible = false
|
||||
mesh = SubResource("ArrayMesh_nffib")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Node3D/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
[node name="CollisionShape3D3" type="CollisionShape3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
transform = Transform3D(3.36494, 0, 0, 0, 3.36494, 0, 0, 0, 3.36494, 27.0667, 71.4128, 68.8693)
|
||||
shape = SubResource("ConcavePolygonShape3D_xeaqg")
|
||||
|
||||
[node name="COLISION" type="MeshInstance3D" parent="Node3D/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
[node name="COLISION" type="MeshInstance3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 0, -6.13394, 0, 1, 0, -2.15596, 69.2674, 78.5379)
|
||||
visible = false
|
||||
mesh = SubResource("ArrayMesh_gybil")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="CollisionShape3D4" type="CollisionShape3D" parent="Node3D/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
[node name="CollisionShape3D4" type="CollisionShape3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 0, -6.13394, 0, 1, 0, -2.15596, 69.2674, 78.5379)
|
||||
shape = SubResource("ConcavePolygonShape3D_forj7")
|
||||
|
||||
[node name="ROOM" type="MeshInstance3D" parent="Node3D/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
[node name="ROOM" type="MeshInstance3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
transform = Transform3D(17.9944, 0, 0, 0, 12.016, 0, 0, 0, 16, 15.3038, 70.9543, 79.828)
|
||||
mesh = SubResource("ArrayMesh_of5bx")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="CollisionShape3D5" type="CollisionShape3D" parent="Node3D/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
[node name="CollisionShape3D5" type="CollisionShape3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2/StaticBody3D"]
|
||||
transform = Transform3D(17.9944, 0, 0, 0, 12.016, 0, 0, 0, 16, 15.3038, 70.9543, 79.828)
|
||||
shape = SubResource("ConcavePolygonShape3D_j7ylk")
|
||||
|
||||
[node name="CSGBox3D" type="CSGBox3D" parent="Node3D"]
|
||||
[node name="CSGBox3D" type="CSGBox3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.997884, 0.06502, 0, -0.06502, 0.997884, 27.4999, 68.1382, 78.9222)
|
||||
visible = false
|
||||
use_collision = true
|
||||
size = Vector3(12.2137, 20, 1)
|
||||
|
||||
[node name="CSGBox3D2" type="CSGBox3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.997884, 0.06502, 0, -0.06502, 0.997884, 27.4999, 68.1382, 75.1497)
|
||||
visible = false
|
||||
use_collision = true
|
||||
size = Vector3(12.2137, 20, 1)
|
||||
|
||||
[node name="CSGBox3D3" type="CSGBox3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.997884, 0.06502, 0, -0.06502, 0.997884, 4.78586, 68.1382, 75.1497)
|
||||
visible = false
|
||||
use_collision = true
|
||||
size = Vector3(12.2137, 20, 1)
|
||||
|
||||
[node name="CSGBox3D4" type="CSGBox3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.997884, 0.06502, 0, -0.06502, 0.997884, 4.44098, 68.1382, 78.8713)
|
||||
visible = false
|
||||
use_collision = true
|
||||
size = Vector3(11.524, 20, 1)
|
||||
|
||||
[node name="CSGBox3D5" type="CSGBox3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 10.149, 68.1382, 69.5204)
|
||||
visible = false
|
||||
use_collision = true
|
||||
size = Vector3(12.3674, 20, 1.23621)
|
||||
|
||||
[node name="CSGBox3D6" type="CSGBox3D" parent="InnerBalcony/INNER_BALCONY_ROOM_VER2"]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 20.8228, 68.1382, 69.5204)
|
||||
visible = false
|
||||
use_collision = true
|
||||
size = Vector3(12.3674, 20, 1.23621)
|
||||
|
||||
[node name="CSGBox3D" type="CSGBox3D" parent="InnerBalcony"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.377571, 0.153494, 0.288738)
|
||||
visible = false
|
||||
operation = 1
|
||||
flip_faces = true
|
||||
size = Vector3(36, 20, 32)
|
||||
|
||||
[node name="CSGBox2" type="CSGBox3D" parent="Node3D"]
|
||||
[node name="CSGBox2" type="CSGBox3D" parent="InnerBalcony"]
|
||||
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0.437618, 0.219975, -15.7059)
|
||||
use_collision = true
|
||||
size = Vector3(4, 4, 0.5)
|
||||
material = SubResource("StandardMaterial3D_fgovc")
|
||||
|
||||
[node name="DOOR?" type="CSGBox3D" parent="Node3D/CSGBox2"]
|
||||
[node name="DOOR?" type="CSGBox3D" parent="InnerBalcony/CSGBox2"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -3.72529e-08, 0.0686455)
|
||||
material_override = SubResource("StandardMaterial3D_ce8rm")
|
||||
operation = 2
|
||||
size = Vector3(4, 4, 2)
|
||||
material = SubResource("StandardMaterial3D_xw1ea")
|
||||
|
||||
[node name="CSGBox3" type="CSGBox3D" parent="Node3D"]
|
||||
[node name="CSGBox3" type="CSGBox3D" parent="InnerBalcony"]
|
||||
transform = Transform3D(1.91069e-15, 4.37114e-08, 1, 1, -4.37114e-08, 0, 4.37114e-08, 1, -4.37114e-08, 18.7051, 0.219975, -1.82483)
|
||||
use_collision = true
|
||||
size = Vector3(4, 4, 0.5)
|
||||
material = SubResource("StandardMaterial3D_fgovc")
|
||||
|
||||
[node name="DOOR?" type="CSGBox3D" parent="Node3D/CSGBox3"]
|
||||
[node name="DOOR?" type="CSGBox3D" parent="InnerBalcony/CSGBox3"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -3.72529e-08, 0.0686455)
|
||||
material_override = SubResource("StandardMaterial3D_ce8rm")
|
||||
operation = 2
|
||||
size = Vector3(4, 4, 2)
|
||||
material = SubResource("StandardMaterial3D_xw1ea")
|
||||
|
||||
[node name="CSGBox4" type="CSGBox3D" parent="Node3D"]
|
||||
[node name="CSGBox4" type="CSGBox3D" parent="InnerBalcony"]
|
||||
transform = Transform3D(1.91069e-15, 4.37114e-08, 1, 1, -4.37114e-08, 0, 4.37114e-08, 1, -4.37114e-08, -17.7429, 0.219975, -1.82483)
|
||||
use_collision = true
|
||||
size = Vector3(4, 4, 0.5)
|
||||
material = SubResource("StandardMaterial3D_fgovc")
|
||||
|
||||
[node name="DOOR?" type="CSGBox3D" parent="Node3D/CSGBox4"]
|
||||
[node name="DOOR?" type="CSGBox3D" parent="InnerBalcony/CSGBox4"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -3.72529e-08, 0.0686455)
|
||||
material_override = SubResource("StandardMaterial3D_ce8rm")
|
||||
operation = 2
|
||||
size = Vector3(4, 4, 2)
|
||||
material = SubResource("StandardMaterial3D_xw1ea")
|
||||
|
||||
[node name="PlayerSpawn" type="Marker3D" parent="Node3D"]
|
||||
[node name="PlayerSpawn" type="Marker3D" parent="InnerBalcony"]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.28634, -1.14026, -8.99855)
|
||||
|
||||
[node name="ItemSpawnPoints" type="Node3D" parent="Node3D"]
|
||||
[node name="ItemSpawnPoints" type="Node3D" parent="InnerBalcony"]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="ItemSpawnPoint" type="Marker3D" parent="Node3D/ItemSpawnPoints"]
|
||||
[node name="ItemSpawnPoint" type="Marker3D" parent="InnerBalcony/ItemSpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.751074, -0.889025, 0.745985)
|
||||
|
||||
[node name="EnemySpawnPoints" type="Node3D" parent="Node3D"]
|
||||
[node name="EnemySpawnPoints" type="Node3D" parent="InnerBalcony"]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="EnemySpawn1" type="Marker3D" parent="Node3D/EnemySpawnPoints"]
|
||||
[node name="EnemySpawn1" type="Marker3D" parent="InnerBalcony/EnemySpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.346, -0.5, -3.546)
|
||||
|
||||
[node name="ItemDatabase" parent="Node3D" instance=ExtResource("15_n8s21")]
|
||||
[node name="ItemDatabase" parent="InnerBalcony" instance=ExtResource("15_n8s21")]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="EnemyDatabase" parent="Node3D" instance=ExtResource("16_mk0iw")]
|
||||
[node name="EnemyDatabase" parent="InnerBalcony" instance=ExtResource("16_mk0iw")]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="TeleportSpawn" type="Marker3D" parent="Node3D"]
|
||||
[node name="TeleportSpawn" type="Marker3D" parent="InnerBalcony"]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.35346, -1.15477, -2.52356)
|
||||
|
||||
@@ -1062,41 +1104,64 @@ shadow_enabled = true
|
||||
[node name="OmniLight" type="OmniLight3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.07531, -0.384938, 2.13334)
|
||||
light_color = Color(0, 0.227451, 1, 1)
|
||||
light_energy = 5.112
|
||||
light_energy = 0.662
|
||||
light_indirect_energy = 1.582
|
||||
light_size = 0.281
|
||||
omni_range = 3.235
|
||||
|
||||
[node name="OmniLight2" type="OmniLight3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.29897, -0.444593, 3.76422)
|
||||
light_color = Color(0, 0.227451, 1, 1)
|
||||
light_energy = 5.112
|
||||
light_energy = 0.662
|
||||
light_indirect_energy = 1.582
|
||||
light_size = 0.281
|
||||
omni_range = 3.235
|
||||
|
||||
[node name="OmniLight3" type="OmniLight3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.1078, -0.414419, 4.60354)
|
||||
light_color = Color(0, 0.227451, 1, 1)
|
||||
light_energy = 5.112
|
||||
light_energy = 0.662
|
||||
light_indirect_energy = 1.582
|
||||
light_size = 0.281
|
||||
omni_range = 3.235
|
||||
|
||||
[node name="OmniLight4" type="OmniLight3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.951148, -0.43593, 4.64544)
|
||||
light_color = Color(0, 0.227451, 1, 1)
|
||||
light_energy = 5.112
|
||||
light_energy = 0.662
|
||||
light_indirect_energy = 1.582
|
||||
light_size = 0.281
|
||||
omni_range = 3.235
|
||||
|
||||
[node name="OmniLight5" type="OmniLight3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.1715, -0.360244, 3.75154)
|
||||
light_color = Color(0, 0.227451, 1, 1)
|
||||
light_energy = 5.112
|
||||
light_energy = 0.662
|
||||
light_indirect_energy = 1.582
|
||||
light_size = 0.281
|
||||
omni_range = 3.235
|
||||
|
||||
[node name="OmniLight6" type="OmniLight3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.83607, -0.382083, 2.04846)
|
||||
light_color = Color(0, 0.227451, 1, 1)
|
||||
light_energy = 5.112
|
||||
light_energy = 0.662
|
||||
light_indirect_energy = 1.582
|
||||
light_size = 0.281
|
||||
omni_range = 3.235
|
||||
|
||||
[node name="Minimap Manager" type="Area3D" parent="."]
|
||||
collision_layer = 512
|
||||
collision_mask = 512
|
||||
script = ExtResource("19_gi8bh")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Minimap Manager"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.94617, 0)
|
||||
shape = SubResource("BoxShape3D_suh2k")
|
||||
|
||||
[node name="Minimap" type="MeshInstance3D" parent="Minimap Manager"]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.1755, 0)
|
||||
visible = false
|
||||
layers = 2
|
||||
mesh = SubResource("PlaneMesh_fhks4")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
|
||||
[gd_resource type="StandardMaterial3D" format=3 uid="uid://bsafm3t4drpl"]
|
||||
|
||||
[resource]
|
||||
transparency = 1
|
||||
depth_draw_mode = 1
|
||||
vertex_color_use_as_albedo = true
|
||||
albedo_color = Color(0.20871, 0.20871, 0.20871, 0.482353)
|
||||
@@ -33,11 +33,11 @@ directional_shadow_fade_start = 0.63
|
||||
|
||||
[node name="PlayerSpawnPoint" type="Marker3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.03633, 0.654655, 6.89279)
|
||||
transform = Transform3D(-0.0104718, 0, 0.999945, 0, 1, 0, -0.999945, 0, -0.0104718, 6.03633, 0.654655, 6.89279)
|
||||
|
||||
[node name="ExitSpawnPoint" type="Marker3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.60081, 1.49242, -45.1221)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -25.3664, 0.9708, 17.5532)
|
||||
|
||||
[node name="OverworldMap" parent="." instance=ExtResource("2_qwsky")]
|
||||
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
[gd_scene format=3 uid="uid://bwbofurcvf3yh"]
|
||||
[gd_scene load_steps=2 format=3 uid="uid://bwbofurcvf3yh"]
|
||||
|
||||
[sub_resource type="Environment" id="Environment_3fkgx"]
|
||||
background_color = Color(1, 1, 1, 1)
|
||||
|
||||
[node name="Minimap" type="Control"]
|
||||
process_mode = 3
|
||||
light_mask = 2
|
||||
visibility_layer = 2
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
@@ -19,17 +23,19 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="SubViewportContainer" type="SubViewportContainer" parent="CenterContainer"]
|
||||
custom_minimum_size = Vector2(600, 600)
|
||||
custom_minimum_size = Vector2(800, 800)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="CenterContainer/SubViewportContainer"]
|
||||
transparent_bg = true
|
||||
handle_input_locally = false
|
||||
size = Vector2i(600, 600)
|
||||
size = Vector2i(800, 800)
|
||||
render_target_update_mode = 4
|
||||
|
||||
[node name="Minimap Camera" type="Camera3D" parent="CenterContainer/SubViewportContainer/SubViewport"]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -1.75903, 28.9504, 0)
|
||||
cull_mask = 1048574
|
||||
fov = 120.0
|
||||
size = 20.0
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -21.7374, 240.05, 2.76249)
|
||||
cull_mask = 2
|
||||
environment = SubResource("Environment_3fkgx")
|
||||
fov = 45.0
|
||||
size = 100.0
|
||||
near = 0.001
|
||||
|
||||
@@ -9,9 +9,9 @@ uniform vec4 vignette_color: source_color;
|
||||
|
||||
void fragment() {
|
||||
float dist = distance(UV, vec2(0.5));
|
||||
|
||||
|
||||
float vignette = smoothstep(inner_radius, outer_radius, dist) * vignette_strength;
|
||||
float dither = fract(sin(dot(UV, vec2(12.9898, 78.233))) * 43758.5453123) * dither_strength;
|
||||
|
||||
|
||||
COLOR = vec4(vignette_color.rgb, vignette + dither);
|
||||
}
|
||||
+11
-4
@@ -1,15 +1,16 @@
|
||||
[gd_scene load_steps=46 format=3 uid="uid://cfecvvav8kkp6"]
|
||||
[gd_scene load_steps=47 format=3 uid="uid://cfecvvav8kkp6"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/player/Player.cs" id="1_xcol5"]
|
||||
[ext_resource type="Script" path="res://src/hitbox/Hitbox.cs" id="2_lb3qc"]
|
||||
[ext_resource type="Script" path="res://src/player/PlayerStatResource.cs" id="2_xq68d"]
|
||||
[ext_resource type="Texture2D" uid="uid://c6r3dhnkuw22w" path="res://src/vfx/hit_effects/FIRE_STRIKE_1.0.png" id="5_wr6lo"]
|
||||
[ext_resource type="Texture2D" uid="uid://b5qjlbcesth53" path="res://src/vfx/Weapon Strikes/NON ELEMENTAL SLASH.png" id="6_p34sl"]
|
||||
[ext_resource type="Texture2D" uid="uid://mjobx7ph7hf1" path="res://src/vfx/playerdot.png" id="7_8hi2n"]
|
||||
[ext_resource type="PackedScene" uid="uid://ctwtksu2406c" path="res://src/player/dont_look_in_here/player_model.tscn" id="10_prmgx"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_btp2w"]
|
||||
script = ExtResource("2_xq68d")
|
||||
RotationSpeed = 1.8
|
||||
RotationSpeed = 1.5
|
||||
MoveSpeed = 3.0
|
||||
Acceleration = 1.0
|
||||
CurrentHP = 100
|
||||
@@ -342,8 +343,8 @@ animations = [{
|
||||
|
||||
[node name="Player" type="CharacterBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.172521, 0)
|
||||
collision_layer = 294
|
||||
collision_mask = 263
|
||||
collision_layer = 806
|
||||
collision_mask = 775
|
||||
script = ExtResource("1_xcol5")
|
||||
PlayerStatResource = SubResource("Resource_btp2w")
|
||||
|
||||
@@ -407,3 +408,9 @@ sprite_frames = SubResource("SpriteFrames_ywvvo")
|
||||
animation = &"attack"
|
||||
flip_h = true
|
||||
flip_v = true
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="."]
|
||||
layers = 2
|
||||
pixel_size = 0.025
|
||||
billboard = 1
|
||||
texture = ExtResource("7_8hi2n")
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.4 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://mjobx7ph7hf1"
|
||||
path="res://.godot/imported/playerdot.png-ab7557c4bead4be1a9920776a1d00f40.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/vfx/playerdot.png"
|
||||
dest_files=["res://.godot/imported/playerdot.png-ab7557c4bead4be1a9920776a1d00f40.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=0
|
||||
Reference in New Issue
Block a user