don't know what the hell I'm doing

master
Leo Coogan 3 weeks ago
parent 6e54479644
commit c128c178c1
Signed by: lcoogan
GPG Key ID: 54DBD17B0D75ABB0

BIN
.DS_Store vendored

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bxo44220kwoe5"
path="res://.godot/imported/Moscow_Kremlin,_Moat_by_Nikolskaya_tower,_1800.jpg-c8432e288bcc59a7f9608105d75cbfde.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Moscow_Kremlin,_Moat_by_Nikolskaya_tower,_1800.jpg"
dest_files=["res://.godot/imported/Moscow_Kremlin,_Moat_by_Nikolskaya_tower,_1800.jpg-c8432e288bcc59a7f9608105d75cbfde.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

@ -0,0 +1,40 @@
extends Node
signal mouse_pos_received(x: float, y: float)
@export var port_name: String = "/dev/cu.usbmodem2101"
@export var baud_rate: int = 9600
@onready var serial = $GDSerial
func _ready():
var error = serial.open(port_name, baud_rate)
if error != OK:
print("fuck it ...", error)
else:
print("open bar !")
func _process(_delta):
if serial.is_open() and serial.bytes_available() > 0:
var response = serial.readline()
if not response.is_empty():
_parse_and_emit(response)
func _parse_and_emit(response: String):
var clean_response = response.strip_edges()
var parts = clean_response.split(",") # Ex: ["X:100", "Y:200"]
var x = 0.0
var y = 0.0
for part in parts:
var key_value = part.split(":")
if key_value.size() == 2:
var key = key_value[0].strip_edges() # Ex: "X"
var value = float(key_value[1].strip_edges()) # Ex: 100.0
if key == "X":
x = value
elif key == "Y":
y = value
mouse_pos_received.emit(x, y)

@ -0,0 +1,18 @@
extends Control
@onready var serial_reader: Node = $"../SerialReader"
func _ready() -> void:
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
if serial_reader:
serial_reader.mouse_pos_received.connect(_on_mouse_pos_received)
func _on_mouse_pos_received(x: float, y: float) -> void:
var viewport_size: Vector2 = get_viewport_rect().size
var mapped_x: float = clamp(x, 0.0, viewport_size.x)
var mapped_y: float = clamp(y, 0.0, viewport_size.y)
var new_position: Vector2 = Vector2(mapped_x, mapped_y)
call_deferred("_warp_the_mouse", new_position)
func _warp_the_mouse(position: Vector2) -> void:
Input.warp_mouse(position)

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

BIN
assets/.DS_Store vendored

Binary file not shown.

@ -0,0 +1,7 @@
newmtl lambert2SG
illum 4
Kd 0.00 0.00 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
map_Kd Tex_Salmon.png
Ni 1.00

File diff suppressed because it is too large Load Diff

@ -0,0 +1,25 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://cm3att6m1k14l"
path="res://.godot/imported/Mesh_Fish.obj-ffc1835647713e32d5394c11ddf236f4.mesh"
[deps]
files=["res://.godot/imported/Mesh_Fish.obj-ffc1835647713e32d5394c11ddf236f4.mesh"]
source_file="res://assets/Fish 2/Mesh_Fish.obj"
dest_files=["res://.godot/imported/Mesh_Fish.obj-ffc1835647713e32d5394c11ddf236f4.mesh", "res://.godot/imported/Mesh_Fish.obj-ffc1835647713e32d5394c11ddf236f4.mesh"]
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
force_disable_mesh_compression=false

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B

@ -2,21 +2,18 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://ng2pd43kxgs7" uid="uid://cndheibqvpn7a"
path.s3tc="res://.godot/imported/threadfin-butterflyfish_kupu-kupu-sirip-benang.png-0b31866de17ef3afa8dbca15702dadbc.s3tc.ctex" path.s3tc="res://.godot/imported/Tex_Salmon.png-487dc384854f63d7c82d3e9a18a005ed.s3tc.ctex"
path.etc2="res://.godot/imported/threadfin-butterflyfish_kupu-kupu-sirip-benang.png-0b31866de17ef3afa8dbca15702dadbc.etc2.ctex" path.etc2="res://.godot/imported/Tex_Salmon.png-487dc384854f63d7c82d3e9a18a005ed.etc2.ctex"
metadata={ metadata={
"imported_formats": ["s3tc_bptc", "etc2_astc"], "imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true "vram_texture": true
} }
generator_parameters={
"md5": "bc2098bfa3f85de8c85c1b9ab8436298"
}
[deps] [deps]
source_file="res://assets/threadfin-butterflyfish_kupu-kupu-sirip-benang.png" source_file="res://assets/Fish 2/Tex_Salmon.png"
dest_files=["res://.godot/imported/threadfin-butterflyfish_kupu-kupu-sirip-benang.png-0b31866de17ef3afa8dbca15702dadbc.s3tc.ctex", "res://.godot/imported/threadfin-butterflyfish_kupu-kupu-sirip-benang.png-0b31866de17ef3afa8dbca15702dadbc.etc2.ctex"] dest_files=["res://.godot/imported/Tex_Salmon.png-487dc384854f63d7c82d3e9a18a005ed.s3tc.ctex", "res://.godot/imported/Tex_Salmon.png-487dc384854f63d7c82d3e9a18a005ed.etc2.ctex"]
[params] [params]

@ -0,0 +1,7 @@
newmtl lambert2SG
illum 4
Kd 0.00 0.00 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
map_Kd Tex_Salmon.png
Ni 1.00

File diff suppressed because it is too large Load Diff

@ -0,0 +1,25 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://cfe02up77wm6u"
path="res://.godot/imported/Mesh_Fish.obj-7df5291f6706c472fa11d51ca85f8435.mesh"
[deps]
files=["res://.godot/imported/Mesh_Fish.obj-7df5291f6706c472fa11d51ca85f8435.mesh"]
source_file="res://assets/Fish 3/Mesh_Fish.obj"
dest_files=["res://.godot/imported/Mesh_Fish.obj-7df5291f6706c472fa11d51ca85f8435.mesh", "res://.godot/imported/Mesh_Fish.obj-7df5291f6706c472fa11d51ca85f8435.mesh"]
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
force_disable_mesh_compression=false

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B

@ -0,0 +1,42 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://buj3avblbqr15"
path.s3tc="res://.godot/imported/Tex_Salmon.png-105d4af393d6cb408de6d0e92f771bdb.s3tc.ctex"
path.etc2="res://.godot/imported/Tex_Salmon.png-105d4af393d6cb408de6d0e92f771bdb.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Fish 3/Tex_Salmon.png"
dest_files=["res://.godot/imported/Tex_Salmon.png-105d4af393d6cb408de6d0e92f771bdb.s3tc.ctex", "res://.godot/imported/Tex_Salmon.png-105d4af393d6cb408de6d0e92f771bdb.etc2.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

@ -0,0 +1,7 @@
newmtl lambert2SG
illum 4
Kd 0.00 0.00 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
map_Kd Tex_Salmon.png
Ni 1.00

File diff suppressed because it is too large Load Diff

@ -0,0 +1,25 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://7loptvhbe0q0"
path="res://.godot/imported/Mesh_Fish.obj-43c6ca8225138e1d2b5556ddbd608de0.mesh"
[deps]
files=["res://.godot/imported/Mesh_Fish.obj-43c6ca8225138e1d2b5556ddbd608de0.mesh"]
source_file="res://assets/Fish/Mesh_Fish.obj"
dest_files=["res://.godot/imported/Mesh_Fish.obj-43c6ca8225138e1d2b5556ddbd608de0.mesh", "res://.godot/imported/Mesh_Fish.obj-43c6ca8225138e1d2b5556ddbd608de0.mesh"]
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
force_disable_mesh_compression=false

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B

@ -0,0 +1,42 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b224y8bgv5dif"
path.s3tc="res://.godot/imported/Tex_Salmon.png-e770ac36ade6528237bc9b1bda3d6178.s3tc.ctex"
path.etc2="res://.godot/imported/Tex_Salmon.png-e770ac36ade6528237bc9b1bda3d6178.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Fish/Tex_Salmon.png"
dest_files=["res://.godot/imported/Tex_Salmon.png-e770ac36ade6528237bc9b1bda3d6178.s3tc.ctex", "res://.godot/imported/Tex_Salmon.png-e770ac36ade6528237bc9b1bda3d6178.etc2.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://p4gersr3r7tq"
path="res://.godot/imported/GloveCursor-1.png.png-60d2d8a90fa627a22f0381cf8d252374.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/GloveCursor-1.png.png"
dest_files=["res://.godot/imported/GloveCursor-1.png.png-60d2d8a90fa627a22f0381cf8d252374.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bq7u80lq73be3"
path="res://.godot/imported/GothicCursor-1.png.png-79524f8ebf275c85f80415a170dd2f08.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/GothicCursor-1.png.png"
dest_files=["res://.godot/imported/GothicCursor-1.png.png-79524f8ebf275c85f80415a170dd2f08.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

@ -0,0 +1,7 @@
newmtl lambert2SG
illum 4
Kd 0.00 0.00 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
map_Kd Tex_Shark.png
Ni 1.00

File diff suppressed because it is too large Load Diff

@ -0,0 +1,25 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://cepun6xl50m78"
path="res://.godot/imported/Mesh_Shark.obj-7b1035271022d2ffc65c1132ecc2b1fc.mesh"
[deps]
files=["res://.godot/imported/Mesh_Shark.obj-7b1035271022d2ffc65c1132ecc2b1fc.mesh"]
source_file="res://assets/Shark/Mesh_Shark.obj"
dest_files=["res://.godot/imported/Mesh_Shark.obj-7b1035271022d2ffc65c1132ecc2b1fc.mesh", "res://.godot/imported/Mesh_Shark.obj-7b1035271022d2ffc65c1132ecc2b1fc.mesh"]
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
force_disable_mesh_compression=false

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B

@ -0,0 +1,42 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bwcoiji4qakh7"
path.s3tc="res://.godot/imported/Tex_Shark.png-b00087981be4e26bf5edba1ccc65d9bd.s3tc.ctex"
path.etc2="res://.godot/imported/Tex_Shark.png-b00087981be4e26bf5edba1ccc65d9bd.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Shark/Tex_Shark.png"
dest_files=["res://.godot/imported/Tex_Shark.png-b00087981be4e26bf5edba1ccc65d9bd.s3tc.ctex", "res://.godot/imported/Tex_Shark.png-b00087981be4e26bf5edba1ccc65d9bd.etc2.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

@ -0,0 +1,6 @@
[Arrow]
Path=ASE_NORMAL1ds.ani
[UpArrow]
Path=ASE_ALTERNATE.ani

@ -0,0 +1,39 @@
[Wait]
Path=ASE_busy.ani
[NWPen]
Path=ASE_handwrite.ani
[SizeNWSE]
Path=ASE_res_diag_1nw_b.ani
[No]
Path=ASE_unavailable.ani
[AppStarting]
Path=ASE_work.ani
[SizeAll]
Path=ASE_MOVE.ani
[IBeam]
Path=ASE_text_v3(3).ani
[Help]
Path=ASE_HELP_select.ani
[SizeNESW]
Path=ASE_res_diag_2ne_b.ani
[Hand]
Path=ASE_LINK.ani
[SizeWE]
Path=ASE_res_horiz_b.ani
[SizeNS]
Path=ASE_res_vert_b.ani
[Crosshair]
Path=ASE_PREC_d_op80.ani

@ -0,0 +1,19 @@
=== All-Seeing Eye Cursor Set ===
By: Censor_Not
Download: http://www.rw-designer.com/cursor-set/all-seeing-eye
Author's description:
This All-Seeing Eye blinks at you. Some also look side to side. Includes a left-hand normal select and a few optional variations. Made with Photoshop & Greenfish Icon Editor.
[Tags dollar bill pyramid nwo illuminati symbol]
==========
License: Released to Public Domain
You are free:
* To use this work for any legal purpose.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 MiB

@ -0,0 +1,7 @@
newmtl lambert2SG
illum 4
Kd 0.00 0.00 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
map_Kd Tex_Trout.png
Ni 1.00

File diff suppressed because it is too large Load Diff

@ -0,0 +1,25 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://c8do8li8qbuvw"
path="res://.godot/imported/Mesh_Trout.obj-dcb723ce5d481dd44f82b6c92011fa78.mesh"
[deps]
files=["res://.godot/imported/Mesh_Trout.obj-dcb723ce5d481dd44f82b6c92011fa78.mesh"]
source_file="res://assets/trout/Mesh_Trout.obj"
dest_files=["res://.godot/imported/Mesh_Trout.obj-dcb723ce5d481dd44f82b6c92011fa78.mesh", "res://.godot/imported/Mesh_Trout.obj-dcb723ce5d481dd44f82b6c92011fa78.mesh"]
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
force_disable_mesh_compression=false

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B

@ -0,0 +1,42 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bp0rtl2gy0un3"
path.s3tc="res://.godot/imported/Tex_Trout.png-65c160c6b8e7b2b7f01c8361a8b54de8.s3tc.ctex"
path.etc2="res://.godot/imported/Tex_Trout.png-65c160c6b8e7b2b7f01c8361a8b54de8.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
[deps]
source_file="res://assets/trout/Tex_Trout.png"
dest_files=["res://.godot/imported/Tex_Trout.png-65c160c6b8e7b2b7f01c8361a8b54de8.s3tc.ctex", "res://.godot/imported/Tex_Trout.png-65c160c6b8e7b2b7f01c8361a8b54de8.etc2.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

@ -1,48 +0,0 @@
extends Node
var serial: GdSerial
var latestData
func _ready():
# Create serial instance
serial = GdSerial.new()
# List available ports
print("Available ports:")
var ports = serial.list_ports()
for i in range(ports.size()):
var port_info = ports[i]
print("- ", port_info["port_name"], " (", port_info["port_type"], ")")
# Configure and open port
serial.set_port("/dev/cu.usbmodem101") # Adjust for your system
serial.set_baud_rate(9600)
serial.set_timeout(1000)
func _process(_delta):
serial.readline();
if serial.open():
#print("Port opened successfully!")
# Send command
serial.writeline("Hello Arduino!")
# Wait and read response
await get_tree().create_timer(0.1).timeout
if serial.bytes_available() > 0:
var response = serial.readline()
print("Response: ", response)
latestData = response
serial.close()
#else:
#print("Failed to open port")
#print(latestData)

@ -1,7 +1,14 @@
[gd_scene load_steps=8 format=3 uid="uid://mh2ey6ut8rgf"] [gd_scene load_steps=19 format=3 uid="uid://mh2ey6ut8rgf"]
[ext_resource type="Script" uid="uid://dyuq6c82ei7fc" path="res://node_3d.gd" id="1_a202f"] [ext_resource type="Script" uid="uid://dyuq6c82ei7fc" path="res://MouseReader.gd" id="1_a202f"]
[ext_resource type="Shader" uid="uid://bgcyrf7jlhi2c" path="res://water.gdshader" id="2_noarx"] [ext_resource type="Shader" uid="uid://bgcyrf7jlhi2c" path="res://water.gdshader" id="2_noarx"]
[ext_resource type="Script" uid="uid://bvcyab5fqxvl4" path="res://path_follow_3d.gd" id="3_a0tk4"]
[ext_resource type="Script" uid="uid://ctdqxyh02ksje" path="res://path_3d.gd" id="3_r3fl7"]
[ext_resource type="ArrayMesh" uid="uid://c8do8li8qbuvw" path="res://assets/trout/Mesh_Trout.obj" id="5_jka67"]
[ext_resource type="ArrayMesh" uid="uid://cepun6xl50m78" path="res://assets/Shark/Mesh_Shark.obj" id="6_i5arm"]
[ext_resource type="ArrayMesh" uid="uid://7loptvhbe0q0" path="res://assets/Fish/Mesh_Fish.obj" id="7_wc5p8"]
[ext_resource type="ArrayMesh" uid="uid://cm3att6m1k14l" path="res://assets/Fish 2/Mesh_Fish.obj" id="8_jsk3o"]
[ext_resource type="Script" uid="uid://b2c3bfny32ep4" path="res://SerialReader.gd" id="9_4arys"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_a0tk4"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_a0tk4"]
render_priority = 0 render_priority = 0
@ -53,9 +60,9 @@ shader_parameter/caustic_distortion_strength = 0.001
[sub_resource type="PlaneMesh" id="PlaneMesh_a202f"] [sub_resource type="PlaneMesh" id="PlaneMesh_a202f"]
material = SubResource("ShaderMaterial_a0tk4") material = SubResource("ShaderMaterial_a0tk4")
size = Vector2(10, 10) size = Vector2(15, 15)
subdivide_width = 18 subdivide_width = 30
subdivide_depth = 18 subdivide_depth = 30
[sub_resource type="Environment" id="Environment_noarx"] [sub_resource type="Environment" id="Environment_noarx"]
background_mode = 1 background_mode = 1
@ -72,16 +79,50 @@ volumetric_fog_emission_energy = 6.51
volumetric_fog_anisotropy = -0.4 volumetric_fog_anisotropy = -0.4
volumetric_fog_detail_spread = 6.0 volumetric_fog_detail_spread = 6.0
volumetric_fog_ambient_inject = 16.0 volumetric_fog_ambient_inject = 16.0
volumetric_fog_sky_affect = 0.0 volumetric_fog_sky_affect = 0.48
[sub_resource type="SphereMesh" id="SphereMesh_noarx"] [sub_resource type="Curve3D" id="Curve3D_noarx"]
closed = true
[sub_resource type="SphereShape3D" id="SphereShape3D_noarx"] bake_interval = 33.24
_data = {
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, -0.046, 0.071, 10, 0, 0, 10, 0, 2, 0, -6.5983734, 0.069, 2.6110306, 0, 0, 0, 0, 0, 10, 1.1935298, 0, 4.6364527, 0, 0, 0, 0, 0, 0, 2.5211544, 0, -0.4710002, 10, 2, 0, 0, 0, 0, -3.425, 0, -0.941, 0, 0, 10, 10, 0, 0, -3.8665452, 1.0293031, -0.9379158, 0, 0, 0, 0, 0, 0, 0.14433825, 0.8497, 3.20259),
"tilts": PackedFloat32Array(0, 0, 0, 0, 0, 0, 0)
}
point_count = 7
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_wc5p8"]
radius = 26.8995
height = 57.334
[sub_resource type="Curve3D" id="Curve3D_wc5p8"]
closed = true
_data = {
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2.072237, -0.6594229, -2.2086885, 0, 0, 0, 0, 0, 0, 4.3252826, -0.698946, -1.1743765, 0, 0, 0, 0, 0, 0, 3.6524534, 0.45848465, 1.9313111, 0, 0, 0, 0, 0, 0, -3.2790318, 0.7633686, 1.5411086),
"tilts": PackedFloat32Array(0, 0, 0, 0, 0)
}
point_count = 5
up_vector_enabled = false
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_jsk3o"]
radius = 22.728
height = 200.0
[sub_resource type="Curve3D" id="Curve3D_r3fl7"]
closed = true
_data = {
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.2209115, -1.9364986, -2.7565339, 0, 0, 0, 0, 0, 0, 5.5591483, -3.2043715, -5.8808775, 0, 0, 0, 0, 0, 0, 2.454, 0, -8.237, 0, 0, 0, 0, 0, 0, -1.6148843, -3.0357723, -8.519705, 0, 0, 0, 0, 0, 0, -4.484074, -2.4220676, -8.1664915, 0, 0, 0, 0, 0, 0, -6.1085663, -2.2534676, -8.42773, 0, 0, 0, 0, 0, 0, -6.038475, -1.2351217, -5.771864, 0, 0, 0, 0, 0, 0, -6.1035166, -0.054920226, -2.7565405, 0, 0, 0, 0, 0, 0, -4.677523, -0.28421596, -2.736851, 0, 0, 0, 0, 0, 0, 0.8153577, -1.5048809, -3.5310657, 0, 0, 0, 0, 0, 0, 3.6308327, -1.8218489, -3.1421468),
"tilts": PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
}
point_count = 13
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4arys"]
radius = 5.556
height = 100.0
[node name="Node3D" type="Node3D"] [node name="Node3D" type="Node3D"]
script = ExtResource("1_a202f") script = ExtResource("1_a202f")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."] [node name="water" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4.9476748) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4.9476748)
mesh = SubResource("PlaneMesh_a202f") mesh = SubResource("PlaneMesh_a202f")
@ -91,29 +132,89 @@ transform = Transform3D(1, 0, 0, 0, 0.97180074, 0.23580366, 0, -0.23580366, 0.97
[node name="WorldEnvironment" type="WorldEnvironment" parent="."] [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_noarx") environment = SubResource("Environment_noarx")
[node name="fishPotential" type="MeshInstance3D" parent="."] [node name="Path3D" type="Path3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -7.272095) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -7.2665215)
mesh = SubResource("SphereMesh_noarx") curve = SubResource("Curve3D_noarx")
script = ExtResource("3_r3fl7")
[node name="PathFollow3D" type="PathFollow3D" parent="Path3D"]
transform = Transform3D(-0.13997306, 0.30225003, -0.9428729, 0.3031159, 0.91959065, 0.24979846, 0.94258523, -0.25083748, -0.22034581, 1.256091, -0.00046433104, 4.613332)
progress = 17.999924
script = ExtResource("3_a0tk4")
[node name="fishPotential" type="MeshInstance3D" parent="Path3D/PathFollow3D"]
transform = Transform3D(-0.02261786, 9.313226e-10, 0.044591844, 0.005236958, 0.04965399, 0.0026562868, -0.044283256, 0.0058721025, -0.022461338, 0.16258264, 0.4222244, -0.16185093)
mesh = ExtResource("5_jka67")
skeleton = NodePath("../../..")
[node name="RigidBody3D" type="RigidBody3D" parent="Path3D/PathFollow3D/fishPotential"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D/PathFollow3D/fishPotential/RigidBody3D"]
transform = Transform3D(1, 0, 0, 0, 0.013962129, -0.99990255, 0, 0.99990255, 0.013962129, 0, 0, 0)
shape = SubResource("CapsuleShape3D_wc5p8")
[node name="Path3D3" type="Path3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4.0419893)
curve = SubResource("Curve3D_wc5p8")
[node name="PathFollow3D" type="PathFollow3D" parent="Path3D3"]
transform = Transform3D(-0.1596011, 0.006020395, -0.98716223, -2.328301e-10, 0.9999798, 0.0060985736, 0.9871792, 0.00097334094, -0.15959837, 1.4799052, -0.6813676, -1.6343997)
progress = 6.6978188
[node name="shark" type="MeshInstance3D" parent="Path3D3/PathFollow3D"]
transform = Transform3D(0.01, 0, 0, 0, 0.01, 0, 0, 0, 0.01, -2.505509, 0.35343766, -3.003326)
mesh = ExtResource("6_i5arm")
skeleton = NodePath("../../..")
[node name="RigidBody3D" type="RigidBody3D" parent="Path3D3/PathFollow3D/shark"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D3/PathFollow3D/shark/RigidBody3D"]
transform = Transform3D(1, 1.7484555e-07, 0, -2.4412161e-09, 0.013962129, 0.99990255, 1.7482851e-07, -0.99990255, 0.013962129, 0, 0, 0)
shape = SubResource("CapsuleShape3D_jsk3o")
[node name="Path3D2" type="Path3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.2699037, -1.0843551)
curve = SubResource("Curve3D_r3fl7")
[node name="PathFollow3D" type="PathFollow3D" parent="Path3D2"]
transform = Transform3D(-0.008777279, 0.004787506, 0.00020082548, 0.004394844, 0.00821017, -0.0036440438, -0.0019094767, -0.0031102025, -0.00931025, -6.0974627, -0.16478163, -3.0372283)
progress = 30.124847
[node name="fishPotential3" type="MeshInstance3D" parent="Path3D2/PathFollow3D"]
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 476.77368, -37.888668, -233.88019)
mesh = ExtResource("7_wc5p8")
skeleton = NodePath("../../..")
[node name="RigidBody3D" type="RigidBody3D" parent="fishPotential"] [node name="RigidBody3D" type="RigidBody3D" parent="Path3D2/PathFollow3D/fishPotential3"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="fishPotential/RigidBody3D"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D2/PathFollow3D/fishPotential3/RigidBody3D"]
shape = SubResource("SphereShape3D_noarx") transform = Transform3D(-0.18885545, 0.9626041, -0.19423436, -0.98129267, -0.192522, 0, -0.037394386, 0.19060075, 0.9809552, 0, 0, 0)
shape = SubResource("CapsuleShape3D_4arys")
[node name="fishPotential2" type="MeshInstance3D" parent="."] [node name="Path3D4" type="Path3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.505509, 0.35343766, -3.003326) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.2699037, -1.0843551)
mesh = SubResource("SphereMesh_noarx") curve = SubResource("Curve3D_r3fl7")
[node name="RigidBody3D" type="RigidBody3D" parent="fishPotential2"] [node name="PathFollow3D" type="PathFollow3D" parent="Path3D4"]
transform = Transform3D(-0.008777279, 0.004787506, 0.00020082548, 0.004394844, 0.00821017, -0.0036440438, -0.0019094767, -0.0031102025, -0.00931025, -6.0974627, -0.16478163, -3.0372283)
progress = 30.124847
[node name="CollisionShape3D" type="CollisionShape3D" parent="fishPotential2/RigidBody3D"] [node name="fishPotential3" type="MeshInstance3D" parent="Path3D4/PathFollow3D"]
shape = SubResource("SphereShape3D_noarx") transform = Transform3D(4.9999986, 4.7683716e-07, 1.1920929e-07, 2.3841858e-07, 4.9999986, -1.1920929e-07, -1.1920929e-07, 0, 4.999998, 1223.8589, 1112.3281, 4998.069)
mesh = ExtResource("8_jsk3o")
skeleton = NodePath("../../..")
[node name="fishPotential3" type="MeshInstance3D" parent="."] [node name="RigidBody3D" type="RigidBody3D" parent="Path3D4/PathFollow3D/fishPotential3"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.262228, -0.025449038, -5.3421283)
mesh = SubResource("SphereMesh_noarx")
[node name="RigidBody3D" type="RigidBody3D" parent="fishPotential3"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D4/PathFollow3D/fishPotential3/RigidBody3D"]
transform = Transform3D(-0.18885545, 0.9626041, -0.19423436, -0.98129267, -0.192522, 0, -0.037394386, 0.19060075, 0.9809552, 0, 0, 0)
shape = SubResource("CapsuleShape3D_4arys")
[node name="CollisionShape3D" type="CollisionShape3D" parent="fishPotential3/RigidBody3D"] [node name="SerialReader" type="Control" parent="."]
shape = SubResource("SphereShape3D_noarx") layout_mode = 3
anchors_preset = 0
offset_left = 3.0
offset_top = -1.0
offset_right = 1153.0
offset_bottom = 639.0
script = ExtResource("9_4arys")

@ -0,0 +1 @@
extends Path3D

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

@ -0,0 +1 @@
extends PathFollow3D

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

@ -15,6 +15,17 @@ run/main_scene="res://node_3d.tscn"
config/features=PackedStringArray("4.5", "Forward Plus") config/features=PackedStringArray("4.5", "Forward Plus")
config/icon="res://icon.svg" config/icon="res://icon.svg"
[display]
mouse_cursor/custom_image="uid://bq7u80lq73be3"
[input]
serialMouseUp={
"deadzone": 0.2,
"events": []
}
[rendering] [rendering]
textures/vram_compression/import_etc2_astc=true textures/vram_compression/import_etc2_astc=true

@ -0,0 +1,9 @@
[gd_scene load_steps=2 format=3 uid="uid://0flg7lbmpdv0"]
[ext_resource type="ArrayMesh" uid="uid://cepun6xl50m78" path="res://assets/Shark/Mesh_Shark.obj" id="1_wao2c"]
[node name="Node3D" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(0.01, 0, 0, 0, 0.01, 0, 0, 0, 0.01, 0, 0, 0)
mesh = ExtResource("1_wao2c")
Loading…
Cancel
Save