This commit is contained in:
Sch1nken 2024-03-04 16:04:40 +01:00
commit 2a8bd73d07
156 changed files with 2981 additions and 0 deletions

View file

@ -0,0 +1,10 @@
[gd_resource type="Resource" script_class="TileResource" load_steps=3 format=3 uid="uid://ch36pwnypwcyh"]
[ext_resource type="Material" uid="uid://b5rer8wc62ck3" path="res://InsectTiles/Materials/Bee_Black.tres" id="1_e5u5l"]
[ext_resource type="Script" path="res://Tile/TileResource.gd" id="2_rfdos"]
[resource]
script = ExtResource("2_rfdos")
tile_name = "Bee"
color = 0
material = ExtResource("1_e5u5l")

View file

@ -0,0 +1,10 @@
[gd_resource type="Resource" script_class="TileResource" load_steps=3 format=3 uid="uid://b70uxn2ofij8y"]
[ext_resource type="Material" uid="uid://d4hyq81yydmpr" path="res://InsectTiles/Materials/Bee_White.tres" id="1_gnvqf"]
[ext_resource type="Script" path="res://Tile/TileResource.gd" id="1_mcohu"]
[resource]
script = ExtResource("1_mcohu")
tile_name = "Bee"
color = 1
material = ExtResource("1_gnvqf")

13
Tile/Prefabs/RoundTest.gd Normal file
View file

@ -0,0 +1,13 @@
extends Marker3D
# Called when the node enters the scene tree for the first time.
func _ready():
print(position)
print(global_position)
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass

10
Tile/Tile.gd Normal file
View file

@ -0,0 +1,10 @@
extends Node
enum COLOR {
BLACK,
WHITE
}
@export var coordinates: Vector4i
@export var color: COLOR = COLOR.WHITE
@export var resource: TileResource

13
Tile/TileResource.gd Normal file
View file

@ -0,0 +1,13 @@
extends Resource
class_name TileResource
@export var tile_name: String = "DefaultName"
enum TileColor {
BLACK,
WHITE
}
@export var color: TileColor = TileColor.BLACK
@export var movement_behaviour: MovementBehaviour
@export var material: StandardMaterial3D

BIN
Tile/hexagon.glb Normal file

Binary file not shown.

45
Tile/hexagon.glb.import Normal file
View file

@ -0,0 +1,45 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://bqh4oqgjjf244"
path="res://.godot/imported/hexagon.glb-23742d504760ed7ae0b5a293d6fa5b70.scn"
[deps]
source_file="res://Tile/hexagon.glb"
dest_files=["res://.godot/imported/hexagon.glb-23742d504760ed7ae0b5a293d6fa5b70.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
import_script/path=""
_subresources={
"meshes": {
"hexagon_Cylinder": {
"generate/lightmap_uv": 0,
"generate/lods": 0,
"generate/shadow_meshes": 0,
"lods/normal_merge_angle": 60.0,
"lods/normal_split_angle": 25.0,
"save_to_file/enabled": true,
"save_to_file/make_streamable": "",
"save_to_file/path": "res://hexagon.res"
}
}
}
gltf/embedded_image_handling=1

BIN
Tile/hexagon_small.glb Normal file

Binary file not shown.

View file

@ -0,0 +1,47 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://dmr6urq3c04l7"
path="res://.godot/imported/hexagon_small.glb-81ff5493faa653029d64cb4bcb98d8e9.scn"
[deps]
source_file="res://Tile/hexagon_small.glb"
dest_files=["res://.godot/imported/hexagon_small.glb-81ff5493faa653029d64cb4bcb98d8e9.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
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
import_script/path=""
_subresources={
"meshes": {
"hexagon_small_Cylinder": {
"generate/lightmap_uv": 0,
"generate/lods": 0,
"generate/shadow_meshes": 0,
"lods/normal_merge_angle": 60.0,
"lods/normal_split_angle": 25.0,
"save_to_file/enabled": true,
"save_to_file/make_streamable": "",
"save_to_file/path": "res://hexagon_small.res"
}
}
}
gltf/naming_version=1
gltf/embedded_image_handling=1

Binary file not shown.

View file

@ -0,0 +1,47 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://j2fsq1rrs3cv"
path="res://.godot/imported/hexagon_small_collision.glb-680b52d8314a56d88b91a9514e8afbaa.scn"
[deps]
source_file="res://Tile/hexagon_small_collision.glb"
dest_files=["res://.godot/imported/hexagon_small_collision.glb-680b52d8314a56d88b91a9514e8afbaa.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
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
import_script/path=""
_subresources={
"meshes": {
"hexagon_small_collision_Cylinder": {
"generate/lightmap_uv": 2,
"generate/lods": 2,
"generate/shadow_meshes": 2,
"lods/normal_merge_angle": 60.0,
"lods/normal_split_angle": 25.0,
"save_to_file/enabled": true,
"save_to_file/make_streamable": "",
"save_to_file/path": "res://hexagon_small_collision.res"
}
}
}
gltf/naming_version=1
gltf/embedded_image_handling=1