Initial commit

This commit is contained in:
2026-01-21 23:51:53 +01:00
commit 60b208fee0
1703 changed files with 100223 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
extends Object
class_name RoomList
var rooms: Array[RoomData]
var biomesMandatory
var biomesOptional
func addRoom(roomImage: Image, roomSceneRef: String) -> void:
var newRoom: RoomData = RoomData.new(roomImage,roomSceneRef)
rooms.push_back(newRoom)

View File

@@ -0,0 +1,34 @@
extends Object
class_name RoomData
var rotations: int = 0
var doorPositions: Array[DoorPosition]
var roomGrid: Array[Array]
var roomSceneRef: String
func _init(roomImage: Image = null, roomSceneReference: String = "") -> void:
if !roomImage: return
if roomSceneReference == "": return
roomSceneRef = roomSceneReference
var roomImmageLoader: RoomImageLoader = RoomImageLoader.new()
roomGrid = roomImmageLoader.loadRoomData(roomImage)
doorPositions = roomImmageLoader.getDoors(roomGrid)
roomImmageLoader.free()
func duplicateRoom() -> RoomData:
var returnData: RoomData = RoomData.new()
returnData.rotations = rotations
for position in doorPositions:
returnData.doorPositions.push_back(position.duplicate())
for x in roomGrid.size():
var array: Array
returnData.roomGrid.push_back(array)
for y in roomGrid[x].size():
returnData.roomGrid[x].push_back(null)
returnData.roomGrid[x][y] = roomGrid[x][y].duplicate()
returnData.roomGrid = roomGrid.duplicate(true)
returnData.roomSceneRef = roomSceneRef
return returnData

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c5w3heoxsjq4n"
path="res://.godot/imported/CornerRoomData.png-ea953f2c9550375ab2bc2b9296d1268d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Maps/Rooms/Generic Connectors/Corner/CornerRoomData.png"
dest_files=["res://.godot/imported/CornerRoomData.png-ea953f2c9550375ab2bc2b9296d1268d.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

View File

@@ -0,0 +1,5 @@
extends RoomList
class_name RoomListSpaceship
func _init() -> void:
addRoom(preload("res://test/StartTest.png").get_image(),"res://test/StartTest.tscn")

View File

@@ -0,0 +1,53 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://c68r2gfy4b437"
path="res://.godot/imported/Starter.blend-1dfc0b78136912a528a1626a2e084faa.scn"
[deps]
source_file="res://assets/3D/Rooms/Starter.blend"
dest_files=["res://.godot/imported/Starter.blend-1dfc0b78136912a528a1626a2e084faa.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
blender/nodes/visible=0
blender/nodes/active_collection_only=false
blender/nodes/punctual_lights=true
blender/nodes/cameras=true
blender/nodes/custom_properties=true
blender/nodes/modifiers=1
blender/meshes/colors=false
blender/meshes/uvs=true
blender/meshes/normals=true
blender/meshes/export_geometry_nodes_instances=false
blender/meshes/tangents=true
blender/meshes/skins=2
blender/meshes/export_bones_deforming_mesh_only=false
blender/materials/unpack_enabled=true
blender/materials/export_materials=1
blender/animation/limit_playback=true
blender/animation/always_sample=true
blender/animation/group_tracks=true