Demo reel build

This commit is contained in:
2024-09-17 23:56:50 -07:00
parent 27fa657f92
commit b7a982d340
75 changed files with 4531 additions and 220 deletions

View File

@@ -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();
}
}

View File

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

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dy6iul5xgcj47"
path="res://.godot/imported/divinity recall 2.PNG-b9609d2630483f927a00266698997060.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://src/items/restorative/textures/divinity recall 2.PNG"
dest_files=["res://.godot/imported/divinity recall 2.PNG-b9609d2630483f927a00266698997060.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