diff --git a/.gitattributes b/.gitattributes index 8ad74f7..df1ec5c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,8 @@ # Normalize EOL for all files that Git considers text files. * text=auto eol=lf +*.glb filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.jpg filter=lfs diff=lfs merge=lfs -text +*.svg filter=lfs diff=lfs merge=lfs -text +*.jpeg filter=lfs diff=lfs merge=lfs -text +*.gif filter=lfs diff=lfs merge=lfs -text diff --git a/assets/3d/Cars Bundle-glb.zip b/assets/3d/Cars Bundle-glb.zip new file mode 100644 index 0000000..462a831 Binary files /dev/null and b/assets/3d/Cars Bundle-glb.zip differ diff --git a/assets/3d/Rails.glb b/assets/3d/Rails.glb new file mode 100644 index 0000000..0611c81 --- /dev/null +++ b/assets/3d/Rails.glb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a49e55c85cee3e18858d638a9c427b8855082ae0a94fee9e74237c67fae8b4df +size 98364 diff --git a/assets/3d/Rails.glb.import b/assets/3d/Rails.glb.import new file mode 100644 index 0000000..dc75405 --- /dev/null +++ b/assets/3d/Rails.glb.import @@ -0,0 +1,42 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://8227la7x8kn1" +path="res://.godot/imported/Rails.glb-086ec73c80a294d251df93713854b678.scn" + +[deps] + +source_file="res://assets/3d/Rails.glb" +dest_files=["res://.godot/imported/Rails.glb-086ec73c80a294d251df93713854b678.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +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="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +gltf/naming_version=2 +gltf/embedded_image_handling=1 diff --git a/assets/Images/Xenia Drawing 6.svg b/assets/Images/Xenia Drawing 6.svg new file mode 100644 index 0000000..42ef4f4 --- /dev/null +++ b/assets/Images/Xenia Drawing 6.svg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a9b57eb7f3ef125ab9561d08ccdf555b369210837c8a2e0f19f17f3973938d4 +size 246359 diff --git a/assets/Images/Xenia Drawing 6.svg.import b/assets/Images/Xenia Drawing 6.svg.import new file mode 100644 index 0000000..dee4219 --- /dev/null +++ b/assets/Images/Xenia Drawing 6.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://grccrvjhjo0f" +path="res://.godot/imported/Xenia Drawing 6.svg-3d2c92f3ba179bc3ded0fdf43125ae0b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/Images/Xenia Drawing 6.svg" +dest_files=["res://.godot/imported/Xenia Drawing 6.svg-3d2c92f3ba179bc3ded0fdf43125ae0b.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 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/assets/Images/Xeniafox_cathodegaytube.png b/assets/Images/Xeniafox_cathodegaytube.png new file mode 100644 index 0000000..92be910 --- /dev/null +++ b/assets/Images/Xeniafox_cathodegaytube.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8aba051f75136f33048d6a1f9898c7a9637363ea65a528587b8e51a50100e8f +size 368380 diff --git a/assets/Images/Xeniafox_cathodegaytube.png.import b/assets/Images/Xeniafox_cathodegaytube.png.import new file mode 100644 index 0000000..4e6ffbd --- /dev/null +++ b/assets/Images/Xeniafox_cathodegaytube.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d3x6b42r373nm" +path="res://.godot/imported/Xeniafox_cathodegaytube.png-3c8e04c958743d51fcb68e5149010b87.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/Images/Xeniafox_cathodegaytube.png" +dest_files=["res://.godot/imported/Xeniafox_cathodegaytube.png-3c8e04c958743d51fcb68e5149010b87.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 diff --git a/assets/Images/cathodegaytube-splash.png b/assets/Images/cathodegaytube-splash.png new file mode 100644 index 0000000..92be910 --- /dev/null +++ b/assets/Images/cathodegaytube-splash.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8aba051f75136f33048d6a1f9898c7a9637363ea65a528587b8e51a50100e8f +size 368380 diff --git a/assets/Images/cathodegaytube-splash.png.import b/assets/Images/cathodegaytube-splash.png.import new file mode 100644 index 0000000..7f45ef7 --- /dev/null +++ b/assets/Images/cathodegaytube-splash.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ccd2xcbielj0d" +path="res://.godot/imported/cathodegaytube-splash.png-551482d14c245b11e8ff191b8a551617.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/Images/cathodegaytube-splash.png" +dest_files=["res://.godot/imported/cathodegaytube-splash.png-551482d14c245b11e8ff191b8a551617.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 diff --git a/assets/Images/cathodegaytube1.jpg b/assets/Images/cathodegaytube1.jpg new file mode 100644 index 0000000..a17958d --- /dev/null +++ b/assets/Images/cathodegaytube1.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:124e60aefc118726b7526ac74bbccb3d1ce53c740b38763a144ce97707fd3821 +size 237436 diff --git a/assets/Images/cathodegaytube1.jpg.import b/assets/Images/cathodegaytube1.jpg.import new file mode 100644 index 0000000..38f20da --- /dev/null +++ b/assets/Images/cathodegaytube1.jpg.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://brkfk5ngstv28" +path="res://.godot/imported/cathodegaytube1.jpg-9455f204d3709ce0f1ef605cf64ba180.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/Images/cathodegaytube1.jpg" +dest_files=["res://.godot/imported/cathodegaytube1.jpg-9455f204d3709ce0f1ef605cf64ba180.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 diff --git a/assets/Images/chimmie_valentine.png b/assets/Images/chimmie_valentine.png new file mode 100644 index 0000000..87aff18 --- /dev/null +++ b/assets/Images/chimmie_valentine.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b079b3c55f92d2c15c3dee34982f8973e191e2aa46a0e947f9372b295784256f +size 970394 diff --git a/assets/Images/chimmie_valentine.png.import b/assets/Images/chimmie_valentine.png.import new file mode 100644 index 0000000..a2c1aa0 --- /dev/null +++ b/assets/Images/chimmie_valentine.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dll65vld8lnd2" +path="res://.godot/imported/chimmie_valentine.png-a82340982096d89b5f17156729f73302.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/Images/chimmie_valentine.png" +dest_files=["res://.godot/imported/chimmie_valentine.png-a82340982096d89b5f17156729f73302.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 diff --git a/assets/Images/linuxfox_smltr.gif b/assets/Images/linuxfox_smltr.gif new file mode 100644 index 0000000..9d6d637 --- /dev/null +++ b/assets/Images/linuxfox_smltr.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c3042fb00a60c6e5d2551635feacf91bec764cdfcd0dc2791bada605874f595 +size 13565 diff --git a/assets/Images/osmoru1.jpeg b/assets/Images/osmoru1.jpeg new file mode 100644 index 0000000..83b7bb9 --- /dev/null +++ b/assets/Images/osmoru1.jpeg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:314730b4d38164b87cac1a1e35aab4e68435b26b488fdef2dd0ac6bd9d5bb5d9 +size 676962 diff --git a/assets/Images/osmoru1.jpeg.import b/assets/Images/osmoru1.jpeg.import new file mode 100644 index 0000000..2f1f5f2 --- /dev/null +++ b/assets/Images/osmoru1.jpeg.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dttnvrui1alb6" +path="res://.godot/imported/osmoru1.jpeg-547f928d7812f75078479bc5987ecdac.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/Images/osmoru1.jpeg" +dest_files=["res://.godot/imported/osmoru1.jpeg-547f928d7812f75078479bc5987ecdac.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 diff --git a/cc.txt b/cc.txt new file mode 100644 index 0000000..c773cca --- /dev/null +++ b/cc.txt @@ -0,0 +1 @@ +Rails by dook [CC-BY] (https://creativecommons.org/licenses/by/3.0/) via Poly Pizza (https://poly.pizza/m/5JTOJuMHJw) diff --git a/chunk.gd b/chunk.gd index 9a58e3c..2559a7e 100644 --- a/chunk.gd +++ b/chunk.gd @@ -6,8 +6,6 @@ var exits: Array = [false, false, false, false] const STREET_WIDTH: float = 40 - - func _ready() -> void: $Mesh.mesh.size.x = Global.chunk_size $Mesh.mesh.size.y = Global.chunk_size @@ -58,6 +56,7 @@ func update() -> void: var m = MeshInstance3D.new() m.mesh = arr_mesh add_child(m) + $BuildingAreas/B_area_N/Collision.disabled = true if i == 1: #s #$s.position.y = 1 @@ -79,6 +78,7 @@ func update() -> void: var m = MeshInstance3D.new() m.mesh = arr_mesh add_child(m) + $BuildingAreas/B_area_S/Collision.disabled = true if i == 2: #w #$w.position.y = 1 @@ -100,6 +100,7 @@ func update() -> void: var m = MeshInstance3D.new() m.mesh = arr_mesh add_child(m) + $BuildingAreas/B_area_W/Collision.disabled = true if i == 3: #e #$e.position.y = 1 @@ -121,6 +122,7 @@ func update() -> void: var m = MeshInstance3D.new() m.mesh = arr_mesh add_child(m) + $BuildingAreas/B_area_E/Collision.disabled = true var center_mesh = MeshInstance3D.new() center_mesh.position = Vector3(0,0.6,0) diff --git a/chunk.tscn b/chunk.tscn index 764c00f..e844616 100644 --- a/chunk.tscn +++ b/chunk.tscn @@ -33,6 +33,18 @@ size = Vector3(55, 50, 55) [sub_resource type="BoxMesh" id="BoxMesh_eat54"] size = Vector3(55, 50, 55) +[sub_resource type="BoxShape3D" id="BoxShape3D_a0kup"] +size = Vector3(55, 50, 40) + +[sub_resource type="BoxShape3D" id="BoxShape3D_7yqgf"] +size = Vector3(55, 50, 40) + +[sub_resource type="BoxShape3D" id="BoxShape3D_381vs"] +size = Vector3(40, 50, 55) + +[sub_resource type="BoxShape3D" id="BoxShape3D_eat54"] +size = Vector3(40, 50, 55) + [node name="Chunk" type="Node3D" unique_id=1195945545] script = ExtResource("1_kdh3y") @@ -105,3 +117,27 @@ shape = SubResource("BoxShape3D_kdh3y") [node name="MeshInstance3D" type="MeshInstance3D" parent="BuildingAreas/B_area_4/CollisionShape3D" unique_id=1227151220] mesh = SubResource("BoxMesh_eat54") + +[node name="B_area_E" type="StaticBody3D" parent="BuildingAreas" unique_id=164651542] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 47.5, 0, 0) + +[node name="Collision" type="CollisionShape3D" parent="BuildingAreas/B_area_E" unique_id=2080946797] +shape = SubResource("BoxShape3D_a0kup") + +[node name="B_area_W" type="StaticBody3D" parent="BuildingAreas" unique_id=1412614477] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -47.5, 0, 0) + +[node name="Collision" type="CollisionShape3D" parent="BuildingAreas/B_area_W" unique_id=1045867626] +shape = SubResource("BoxShape3D_7yqgf") + +[node name="B_area_S" type="StaticBody3D" parent="BuildingAreas" unique_id=1192841263] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 47.5) + +[node name="Collision" type="CollisionShape3D" parent="BuildingAreas/B_area_S" unique_id=685649647] +shape = SubResource("BoxShape3D_381vs") + +[node name="B_area_N" type="StaticBody3D" parent="BuildingAreas" unique_id=1360962540] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -47.5) + +[node name="Collision" type="CollisionShape3D" parent="BuildingAreas/B_area_N" unique_id=2008861829] +shape = SubResource("BoxShape3D_eat54") diff --git a/icon.svg b/icon.svg index c6bbb7d..3c52c5a 100644 --- a/icon.svg +++ b/icon.svg @@ -1 +1,3 @@ - +version https://git-lfs.github.com/spec/v1 +oid sha256:ac22c72f6ac9cc7905218ee3f7c3825184ca010235b10d4a3440340cf7fc4b4f +size 5552