Adds missing data
|
|
@ -19,7 +19,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0230917, 0, -0.0855939)
|
||||||
|
|
||||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||||
transform = Transform3D(0.951466, 0.283282, -0.120267, 0.221829, -0.360404, 0.906036, 0.213319, -0.888741, -0.405752, 0, 39.7095, 0)
|
transform = Transform3D(0.951466, 0.283282, -0.120267, 0.221829, -0.360404, 0.906036, 0.213319, -0.888741, -0.405752, 0, 39.7095, 0)
|
||||||
light_energy = 0.0
|
light_energy = 0.774
|
||||||
shadow_enabled = true
|
shadow_enabled = true
|
||||||
shadow_opacity = 0.46
|
shadow_opacity = 0.46
|
||||||
directional_shadow_pancake_size = 12.9
|
directional_shadow_pancake_size = 12.9
|
||||||
|
|
|
||||||
7
addons/cyclops_level_builder/LICENSE.md
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
Copyright 2023 Mark McKay
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
138
addons/cyclops_level_builder/actions/action_convert_to_mesh.gd
Normal file
|
|
@ -0,0 +1,138 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionConvertToMesh
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
super._init(plugin, "Convert To Godot Mesh")
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
var root:Node = plugin.get_editor_interface().get_edited_scene_root()
|
||||||
|
|
||||||
|
#var ed_sel:EditorSelection = plugin.get_editor_interface().get_selection()
|
||||||
|
#var sel_nodes:Array[Node] = ed_sel.get_selected_nodes()
|
||||||
|
#
|
||||||
|
#if sel_nodes.is_empty():
|
||||||
|
#return
|
||||||
|
|
||||||
|
#var branch_to_clone:Node = sel_nodes[0]
|
||||||
|
#var root = branch_to_clone.get_parent()
|
||||||
|
|
||||||
|
var converted_branch:Node3D = clone_branch(root)
|
||||||
|
converted_branch.name = GeneralUtil.find_unique_name(root, "converted_blocks")
|
||||||
|
root.add_child(converted_branch)
|
||||||
|
|
||||||
|
set_owner_recursive(converted_branch, plugin.get_editor_interface().get_edited_scene_root())
|
||||||
|
|
||||||
|
pass
|
||||||
|
|
||||||
|
func set_owner_recursive(node:Node3D, new_owner):
|
||||||
|
node.owner = new_owner
|
||||||
|
for child in node.get_children():
|
||||||
|
if child is Node3D:
|
||||||
|
set_owner_recursive(child, new_owner)
|
||||||
|
|
||||||
|
func clone_branch(node:Node3D)->Node3D:
|
||||||
|
if node is CyclopsBlock:
|
||||||
|
var block:CyclopsBlock = node
|
||||||
|
var name_root:String = block.name
|
||||||
|
|
||||||
|
var new_node:Node3D = Node3D.new()
|
||||||
|
new_node.name = name_root
|
||||||
|
new_node.transform = node.transform
|
||||||
|
new_node.set_meta("_edit_group_", true)
|
||||||
|
# new_node.owner = plugin.get_editor_interface().get_edited_scene_root()
|
||||||
|
|
||||||
|
var new_mesh_node:MeshInstance3D = block.mesh_instance.duplicate()
|
||||||
|
new_mesh_node.name = name_root + "_mesh"
|
||||||
|
# new_mesh_node.owner = plugin.get_editor_interface().get_edited_scene_root()
|
||||||
|
new_node.add_child(new_mesh_node)
|
||||||
|
|
||||||
|
|
||||||
|
var vol:ConvexVolume = ConvexVolume.new()
|
||||||
|
vol.init_from_convex_block_data(block.block_data)
|
||||||
|
|
||||||
|
|
||||||
|
var collision_body:PhysicsBody3D
|
||||||
|
|
||||||
|
match block.collision_type:
|
||||||
|
Collision.Type.STATIC:
|
||||||
|
collision_body = StaticBody3D.new()
|
||||||
|
Collision.Type.KINEMATIC:
|
||||||
|
collision_body = CharacterBody3D.new()
|
||||||
|
Collision.Type.RIGID:
|
||||||
|
collision_body = RigidBody3D.new()
|
||||||
|
|
||||||
|
if collision_body:
|
||||||
|
|
||||||
|
# collision_body.owner = plugin.get_editor_interface().get_edited_scene_root()
|
||||||
|
collision_body.name = name_root + "_col"
|
||||||
|
collision_body.collision_layer = block.collision_layer
|
||||||
|
collision_body.collision_mask = block.collision_mask
|
||||||
|
new_node.add_child(collision_body)
|
||||||
|
|
||||||
|
var collision_shape:CollisionShape3D = CollisionShape3D.new()
|
||||||
|
# collision_shape.owner = plugin.get_editor_interface().get_edited_scene_root()
|
||||||
|
collision_body.add_child(collision_shape)
|
||||||
|
collision_shape.name = name_root + "_col_shp"
|
||||||
|
|
||||||
|
var shape:ConvexPolygonShape3D = ConvexPolygonShape3D.new()
|
||||||
|
shape.points = vol.get_points()
|
||||||
|
collision_shape.shape = shape
|
||||||
|
|
||||||
|
#var occluder:OccluderInstance3D = OccluderInstance3D.new()
|
||||||
|
#occluder.name = name_root + "_occ"
|
||||||
|
## occluder.owner = plugin.get_editor_interface().get_edited_scene_root()
|
||||||
|
#new_node.add_child(occluder)
|
||||||
|
#
|
||||||
|
#var occluder_object:ArrayOccluder3D = ArrayOccluder3D.new()
|
||||||
|
#occluder.name = name_root + "_occ"
|
||||||
|
#occluder_object.vertices = vol.get_points()
|
||||||
|
#occluder_object.indices = vol.get_trimesh_indices()
|
||||||
|
#occluder.occluder = occluder_object
|
||||||
|
|
||||||
|
return new_node
|
||||||
|
|
||||||
|
else:
|
||||||
|
var new_node:Node3D = Node3D.new()
|
||||||
|
# new_node.owner = plugin.get_editor_interface().get_edited_scene_root()
|
||||||
|
new_node.transform = node.transform
|
||||||
|
new_node.name = node.name
|
||||||
|
for child in node.get_children():
|
||||||
|
if branch_is_valid(child):
|
||||||
|
new_node.add_child(clone_branch(child))
|
||||||
|
return new_node
|
||||||
|
|
||||||
|
func branch_is_valid(node:Node)->bool:
|
||||||
|
if node is CyclopsBlock:
|
||||||
|
return true
|
||||||
|
|
||||||
|
for child in node.get_children():
|
||||||
|
if child is Node3D and branch_is_valid(child):
|
||||||
|
return true
|
||||||
|
|
||||||
|
return false
|
||||||
|
|
@ -0,0 +1,46 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionDeleteSelectedBlocks
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
super._init(plugin, "Delete Selected Blocks")
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
var blocks:Array[CyclopsBlock] = plugin.get_selected_blocks()
|
||||||
|
if blocks.is_empty():
|
||||||
|
return
|
||||||
|
|
||||||
|
var cmd:CommandDeleteBlocks = CommandDeleteBlocks.new()
|
||||||
|
cmd.builder = plugin
|
||||||
|
|
||||||
|
for block in blocks:
|
||||||
|
cmd.block_paths.append(block.get_path())
|
||||||
|
|
||||||
|
|
||||||
|
var undo:EditorUndoRedoManager = plugin.get_undo_redo()
|
||||||
|
cmd.add_to_undo_manager(undo)
|
||||||
|
|
||||||
|
|
@ -0,0 +1,45 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionDuplicateSelectedBlocks
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
super._init(plugin, "Duplicate Selected Blocks")
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
var blocks:Array[CyclopsBlock] = plugin.get_selected_blocks()
|
||||||
|
if blocks.is_empty():
|
||||||
|
return
|
||||||
|
|
||||||
|
var cmd:CommandDuplicateBlocks = CommandDuplicateBlocks.new()
|
||||||
|
cmd.builder = plugin
|
||||||
|
|
||||||
|
for block in blocks:
|
||||||
|
cmd.blocks_to_duplicate.append(block.get_path())
|
||||||
|
|
||||||
|
|
||||||
|
var undo:EditorUndoRedoManager = plugin.get_undo_redo()
|
||||||
|
cmd.add_to_undo_manager(undo)
|
||||||
|
|
@ -0,0 +1,57 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionIntersectBlock
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
super._init(plugin, "Intersect Blocks")
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
var blocks:Array[CyclopsBlock] = plugin.get_selected_blocks()
|
||||||
|
if blocks.size() < 2:
|
||||||
|
plugin.log("Not enough objects selected")
|
||||||
|
return
|
||||||
|
|
||||||
|
var active:CyclopsBlock = plugin.get_active_block()
|
||||||
|
if !active:
|
||||||
|
plugin.log("No active object selected")
|
||||||
|
return
|
||||||
|
|
||||||
|
var cmd:CommandIntersectBlock = CommandIntersectBlock.new()
|
||||||
|
cmd.builder = plugin
|
||||||
|
|
||||||
|
for block in blocks:
|
||||||
|
if plugin.is_active_block(block):
|
||||||
|
cmd.main_block_path = block.get_path()
|
||||||
|
else:
|
||||||
|
cmd.block_paths.append(block.get_path())
|
||||||
|
|
||||||
|
if cmd.main_block_path.is_empty():
|
||||||
|
return
|
||||||
|
|
||||||
|
if cmd.will_change_anything():
|
||||||
|
var undo:EditorUndoRedoManager = plugin.get_undo_redo()
|
||||||
|
cmd.add_to_undo_manager(undo)
|
||||||
|
|
@ -0,0 +1,45 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionMergeSelectedBlocks
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
super._init(plugin, "Merge Selected Blocks")
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
var blocks:Array[CyclopsBlock] = plugin.get_selected_blocks()
|
||||||
|
if blocks.is_empty():
|
||||||
|
return
|
||||||
|
|
||||||
|
var cmd:CommandMergeBlocks = CommandMergeBlocks.new()
|
||||||
|
cmd.builder = plugin
|
||||||
|
|
||||||
|
for block in blocks:
|
||||||
|
cmd.block_paths.append(block.get_path())
|
||||||
|
|
||||||
|
|
||||||
|
var undo:EditorUndoRedoManager = plugin.get_undo_redo()
|
||||||
|
cmd.add_to_undo_manager(undo)
|
||||||
|
|
@ -0,0 +1,56 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionMergeVerticesCenter
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
super._init(plugin, "Merge Vertices Center")
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
var blocks:Array[CyclopsBlock] = plugin.get_selected_blocks()
|
||||||
|
if blocks.is_empty():
|
||||||
|
return
|
||||||
|
|
||||||
|
var cmd:CommandMergeVertices = CommandMergeVertices.new()
|
||||||
|
cmd.builder = plugin
|
||||||
|
|
||||||
|
for block in blocks:
|
||||||
|
var sel_vec:DataVector = block.mesh_vector_data.get_vertex_data(MeshVectorData.V_SELECTED)
|
||||||
|
|
||||||
|
if sel_vec.size() < 2:
|
||||||
|
continue
|
||||||
|
|
||||||
|
var indices:Array[int]
|
||||||
|
#print("sel vert bytes ", block.block_data.vertex_selected)
|
||||||
|
for idx in sel_vec.size():
|
||||||
|
if sel_vec.get_value(idx):
|
||||||
|
indices.append(idx)
|
||||||
|
cmd.add_vertices(block.get_path(), indices)
|
||||||
|
|
||||||
|
|
||||||
|
if cmd.will_change_anything():
|
||||||
|
var undo:EditorUndoRedoManager = plugin.get_undo_redo()
|
||||||
|
cmd.add_to_undo_manager(undo)
|
||||||
|
|
@ -0,0 +1,30 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionMirrorSelectionX2
|
||||||
|
extends ActionScaleSelection
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder):
|
||||||
|
super._init(plugin, "Mirror Selection X")
|
||||||
|
scale = Vector3(-1, 1, 1)
|
||||||
|
|
@ -0,0 +1,30 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionMirrorSelectionY2
|
||||||
|
extends ActionScaleSelection
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder):
|
||||||
|
super._init(plugin, "Mirror Selection Y")
|
||||||
|
scale = Vector3(1, -1, 1)
|
||||||
|
|
@ -0,0 +1,30 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionMirrorSelectionZ
|
||||||
|
extends ActionScaleSelection
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder):
|
||||||
|
super._init(plugin, "Mirror Selection Z")
|
||||||
|
scale = Vector3(1, 1, -1)
|
||||||
|
|
@ -0,0 +1,55 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionRotateSelection
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
var rotation_axis:Vector3 = Vector3.ONE
|
||||||
|
var rotation_angle:float
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
super._init(plugin, name, accellerator)
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
var blocks:Array[CyclopsBlock] = plugin.get_selected_blocks()
|
||||||
|
if blocks.is_empty():
|
||||||
|
return
|
||||||
|
|
||||||
|
var pivot:Vector3 = calc_pivot_of_blocks(blocks)
|
||||||
|
|
||||||
|
var cmd:CommandTransformVertices = CommandTransformVertices.new()
|
||||||
|
cmd.builder = plugin
|
||||||
|
|
||||||
|
for block in blocks:
|
||||||
|
cmd.add_block(block.get_path())
|
||||||
|
|
||||||
|
var xform:Transform3D = Transform3D.IDENTITY
|
||||||
|
xform = xform.translated_local(pivot)
|
||||||
|
xform = xform.rotated_local(rotation_axis, rotation_angle)
|
||||||
|
xform = xform.translated_local(-pivot)
|
||||||
|
cmd.transform = xform
|
||||||
|
#print("cform %s" % xform)
|
||||||
|
|
||||||
|
var undo:EditorUndoRedoManager = plugin.get_undo_redo()
|
||||||
|
cmd.add_to_undo_manager(undo)
|
||||||
31
addons/cyclops_level_builder/actions/action_rotate_x_180.gd
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionRotateX180
|
||||||
|
extends ActionRotateSelection
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder):
|
||||||
|
super._init(plugin, "Rotate 180 X")
|
||||||
|
rotation_axis = Vector3(1, 0, 0)
|
||||||
|
rotation_angle = deg_to_rad(180)
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionRotateX90Ccw
|
||||||
|
extends ActionRotateSelection
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder):
|
||||||
|
super._init(plugin, "Rotate 90 Ccw X")
|
||||||
|
rotation_axis = Vector3(1, 0, 0)
|
||||||
|
rotation_angle = deg_to_rad(90)
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionRotateX90Cw
|
||||||
|
extends ActionRotateSelection
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder):
|
||||||
|
super._init(plugin, "Rotate 90 Cw X")
|
||||||
|
rotation_axis = Vector3(1, 0, 0)
|
||||||
|
rotation_angle = deg_to_rad(-90)
|
||||||
31
addons/cyclops_level_builder/actions/action_rotate_y_180.gd
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionRotateY180
|
||||||
|
extends ActionRotateSelection
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder):
|
||||||
|
super._init(plugin, "Rotate 180 Y")
|
||||||
|
rotation_axis = Vector3(0, 1, 0)
|
||||||
|
rotation_angle = deg_to_rad(180)
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionRotateY90Ccw
|
||||||
|
extends ActionRotateSelection
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder):
|
||||||
|
super._init(plugin, "Rotate 90 Ccw Y")
|
||||||
|
rotation_axis = Vector3(0, 1, 0)
|
||||||
|
rotation_angle = deg_to_rad(90)
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionRotateY90Cw
|
||||||
|
extends ActionRotateSelection
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder):
|
||||||
|
super._init(plugin, "Rotate 90 Cw Y")
|
||||||
|
rotation_axis = Vector3(0, 1, 0)
|
||||||
|
rotation_angle = deg_to_rad(-90)
|
||||||
31
addons/cyclops_level_builder/actions/action_rotate_z_180.gd
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionRotateZ180
|
||||||
|
extends ActionRotateSelection
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder):
|
||||||
|
super._init(plugin, "Rotate 180 Z")
|
||||||
|
rotation_axis = Vector3(0, 0, 1)
|
||||||
|
rotation_angle = deg_to_rad(180)
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionRotateZ90Ccw
|
||||||
|
extends ActionRotateSelection
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder):
|
||||||
|
super._init(plugin, "Rotate 90 Ccw Z")
|
||||||
|
rotation_axis = Vector3(0, 0, 1)
|
||||||
|
rotation_angle = deg_to_rad(90)
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionRotateZ90Cw
|
||||||
|
extends ActionRotateSelection
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder):
|
||||||
|
super._init(plugin, "Rotate 90 Cw Z")
|
||||||
|
rotation_axis = Vector3(0, 0, 1)
|
||||||
|
rotation_angle = deg_to_rad(-90)
|
||||||
|
|
@ -0,0 +1,54 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionScaleSelection
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
var scale:Vector3 = Vector3.ONE
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
super._init(plugin, name, accellerator)
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
var blocks:Array[CyclopsBlock] = plugin.get_selected_blocks()
|
||||||
|
if blocks.is_empty():
|
||||||
|
return
|
||||||
|
|
||||||
|
var pivot:Vector3 = calc_pivot_of_blocks(blocks)
|
||||||
|
|
||||||
|
var cmd:CommandTransformVertices = CommandTransformVertices.new()
|
||||||
|
cmd.builder = plugin
|
||||||
|
|
||||||
|
for block in blocks:
|
||||||
|
cmd.add_block(block.get_path())
|
||||||
|
|
||||||
|
var xform:Transform3D = Transform3D.IDENTITY
|
||||||
|
xform = xform.translated_local(pivot)
|
||||||
|
xform = xform.scaled_local(scale)
|
||||||
|
xform = xform.translated_local(-pivot)
|
||||||
|
cmd.transform = xform
|
||||||
|
#print("cform %s" % xform)
|
||||||
|
|
||||||
|
var undo:EditorUndoRedoManager = plugin.get_undo_redo()
|
||||||
|
cmd.add_to_undo_manager(undo)
|
||||||
57
addons/cyclops_level_builder/actions/action_snap_to_grid.gd
Normal file
|
|
@ -0,0 +1,57 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionSnapToGrid
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder):
|
||||||
|
super._init(plugin, "Snap to grid")
|
||||||
|
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
var blocks:Array[CyclopsBlock] = plugin.get_selected_blocks()
|
||||||
|
if blocks.is_empty():
|
||||||
|
return
|
||||||
|
|
||||||
|
var pivot:Vector3 = calc_pivot_of_blocks(blocks)
|
||||||
|
|
||||||
|
var cmd:CommandSnapToGrid = CommandSnapToGrid.new()
|
||||||
|
cmd.builder = plugin
|
||||||
|
|
||||||
|
for block in blocks:
|
||||||
|
cmd.add_block(block.get_path())
|
||||||
|
|
||||||
|
|
||||||
|
#cmd.grid_size = pow(2, plugin.get_global_scene().grid_size)
|
||||||
|
#var snap_to_grid_util:SnapToGridUtil = CyclopsAutoload.calc_snap_to_grid_util()
|
||||||
|
#print("snap_to_grid_util %s" % snap_to_grid_util)
|
||||||
|
#cmd.snap_to_grid_util = snap_to_grid_util
|
||||||
|
|
||||||
|
|
||||||
|
#print("cform %s" % xform)
|
||||||
|
|
||||||
|
var undo:EditorUndoRedoManager = plugin.get_undo_redo()
|
||||||
|
cmd.add_to_undo_manager(undo)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,57 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionSubtractBlock
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
super._init(plugin, "Subtract Block")
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
var blocks:Array[CyclopsBlock] = plugin.get_selected_blocks()
|
||||||
|
if blocks.size() < 2:
|
||||||
|
plugin.log("Not enough objects selected")
|
||||||
|
return
|
||||||
|
|
||||||
|
var active:CyclopsBlock = plugin.get_active_block()
|
||||||
|
if !active:
|
||||||
|
plugin.log("No active object selected")
|
||||||
|
return
|
||||||
|
|
||||||
|
var cmd:CommandSubtractBlock = CommandSubtractBlock.new()
|
||||||
|
cmd.builder = plugin
|
||||||
|
|
||||||
|
for block in blocks:
|
||||||
|
if plugin.is_active_block(block):
|
||||||
|
cmd.block_to_subtract_path = block.get_path()
|
||||||
|
else:
|
||||||
|
cmd.block_paths.append(block.get_path())
|
||||||
|
|
||||||
|
if cmd.block_to_subtract_path.is_empty():
|
||||||
|
return
|
||||||
|
|
||||||
|
if cmd.will_change_anything():
|
||||||
|
var undo:EditorUndoRedoManager = plugin.get_undo_redo()
|
||||||
|
cmd.add_to_undo_manager(undo)
|
||||||
|
|
@ -0,0 +1,33 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionToolDuplicate
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
super._init(plugin, "Duplicate Selected Blocks")
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
plugin.switch_to_tool(ToolDuplicate.new())
|
||||||
53
addons/cyclops_level_builder/actions/cyclops_action.gd
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name CyclopsAction
|
||||||
|
extends RefCounted
|
||||||
|
|
||||||
|
var plugin:CyclopsLevelBuilder
|
||||||
|
|
||||||
|
var name:String = ""
|
||||||
|
var accellerator:Key = KEY_NONE
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
self.plugin = plugin
|
||||||
|
self.name= name
|
||||||
|
self.accellerator = accellerator
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
pass
|
||||||
|
|
||||||
|
func calc_pivot_of_blocks(blocks:Array[CyclopsBlock])->Vector3:
|
||||||
|
var snap_to_grid_util:SnapToGridUtil = CyclopsAutoload.calc_snap_to_grid_util()
|
||||||
|
|
||||||
|
var bounds:AABB = blocks[0].control_mesh.bounds
|
||||||
|
for idx in range(1, blocks.size()):
|
||||||
|
var block:CyclopsBlock = blocks[idx]
|
||||||
|
bounds = bounds.merge(block.control_mesh.bounds)
|
||||||
|
|
||||||
|
var center:Vector3 = bounds.get_center()
|
||||||
|
center = snap_to_grid_util.snap_point(center)
|
||||||
|
|
||||||
|
return center
|
||||||
|
|
||||||
|
|
@ -0,0 +1,44 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionExportAsCyclops
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
var wizard:ExporterCyclopsWizard = preload("res://addons/cyclops_level_builder/io/exporter/exporter_cyclops_wizard.tscn").instantiate()
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
super._init(plugin, "Export As Cyclops File...")
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
if !wizard.get_parent():
|
||||||
|
var base_control:Node = plugin.get_editor_interface().get_base_control()
|
||||||
|
base_control.add_child(wizard)
|
||||||
|
|
||||||
|
wizard.plugin = plugin
|
||||||
|
wizard.popup_centered()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,49 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionExportAsGltf
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
var wizard:ExporterGltfWizard = preload("res://addons/cyclops_level_builder/io/exporter/exporter_gltf_wizard.tscn").instantiate()
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
super._init(plugin, "Export As Gltf...")
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
if !wizard.get_parent():
|
||||||
|
var base_control:Node = plugin.get_editor_interface().get_base_control()
|
||||||
|
base_control.add_child(wizard)
|
||||||
|
|
||||||
|
wizard.plugin = plugin
|
||||||
|
wizard.popup_centered()
|
||||||
|
|
||||||
|
#await base_control.get_tree().process_frame
|
||||||
|
|
||||||
|
# wizard.popup_hide.connect(func(): wizard.queue_free() )
|
||||||
|
|
||||||
|
#wizard.popup_centered()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,42 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionExportAsGodotScene
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
var wizard:ExporterGodotSceneWizard = preload("res://addons/cyclops_level_builder/io/exporter/exporter_godot_scene_wizard.tscn").instantiate()
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
super._init(plugin, "Export As Godot Scene...")
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
if !wizard.get_parent():
|
||||||
|
var base_control:Node = plugin.get_editor_interface().get_base_control()
|
||||||
|
base_control.add_child(wizard)
|
||||||
|
|
||||||
|
wizard.plugin = plugin
|
||||||
|
wizard.popup_centered()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionImportCyclopsFile
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
var wizard:ImporterCyclopsFileWizard = preload("res://addons/cyclops_level_builder/io/importer/importer_cyclops_file_wizard.tscn").instantiate()
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
super._init(plugin, "Import Cyclops File...")
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
if !wizard.get_parent():
|
||||||
|
var base_control:Node = plugin.get_editor_interface().get_base_control()
|
||||||
|
base_control.add_child(wizard)
|
||||||
|
|
||||||
|
wizard.plugin = plugin
|
||||||
|
wizard.popup_centered()
|
||||||
|
|
@ -0,0 +1,66 @@
|
||||||
|
# MIT License
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 Mark McKay
|
||||||
|
# https://github.com/blackears/cyclopsLevelBuilder
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
@tool
|
||||||
|
class_name ActionImportMeshInstance
|
||||||
|
extends CyclopsAction
|
||||||
|
|
||||||
|
func _init(plugin:CyclopsLevelBuilder, name:String = "", accellerator:Key = KEY_NONE):
|
||||||
|
super._init(plugin, "Import Godot MeshInstance...")
|
||||||
|
|
||||||
|
func _execute():
|
||||||
|
var nodes:Array[Node] = plugin.get_editor_interface().get_selection().get_selected_nodes()
|
||||||
|
|
||||||
|
if nodes.is_empty():
|
||||||
|
return
|
||||||
|
|
||||||
|
if !(nodes[-1] is Node3D):
|
||||||
|
return
|
||||||
|
|
||||||
|
var tgt_parent:Node3D = nodes[-1]
|
||||||
|
if tgt_parent is MeshInstance3D:
|
||||||
|
tgt_parent = tgt_parent.get_parent()
|
||||||
|
|
||||||
|
var cmd:CommandImportGodotMeshes = CommandImportGodotMeshes.new()
|
||||||
|
cmd.builder = plugin
|
||||||
|
cmd.target_parent = tgt_parent.get_path()
|
||||||
|
#print("parent ", tgt_parent.get_path())
|
||||||
|
|
||||||
|
for node in nodes:
|
||||||
|
import_branch_recursive(node, cmd)
|
||||||
|
|
||||||
|
if !cmd.will_change_anything():
|
||||||
|
return
|
||||||
|
|
||||||
|
var undo:EditorUndoRedoManager = plugin.get_undo_redo()
|
||||||
|
cmd.add_to_undo_manager(undo)
|
||||||
|
|
||||||
|
func import_branch_recursive(node:Node3D, cmd:CommandImportGodotMeshes):
|
||||||
|
if node is MeshInstance3D:
|
||||||
|
cmd.source_nodes.append(node.get_path())
|
||||||
|
#print("src ", node.get_path())
|
||||||
|
|
||||||
|
for child in node.get_children():
|
||||||
|
import_branch_recursive(child, cmd)
|
||||||
|
|
||||||
|
|
||||||
142
addons/cyclops_level_builder/art/cyclops.svg
Normal file
|
|
@ -0,0 +1,142 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="32"
|
||||||
|
height="32"
|
||||||
|
viewBox="0 0 32 32"
|
||||||
|
version="1.1"
|
||||||
|
id="svg5"
|
||||||
|
inkscape:version="1.2.2 (732a01da63, 2022-12-09)"
|
||||||
|
sodipodi:docname="cyclops.svg"
|
||||||
|
inkscape:export-filename="cyclops_closed.png"
|
||||||
|
inkscape:export-xdpi="72"
|
||||||
|
inkscape:export-ydpi="72"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview7"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#111111"
|
||||||
|
borderopacity="1"
|
||||||
|
inkscape:showpageshadow="0"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pagecheckerboard="1"
|
||||||
|
inkscape:deskcolor="#d1d1d1"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="17.25178"
|
||||||
|
inkscape:cx="9.7381256"
|
||||||
|
inkscape:cy="10.433706"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1017"
|
||||||
|
inkscape:window-x="1912"
|
||||||
|
inkscape:window-y="-8"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="layer3" />
|
||||||
|
<defs
|
||||||
|
id="defs2" />
|
||||||
|
<g
|
||||||
|
inkscape:label="Layer 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1">
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.15774px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="M 4.5878173,28.851656 C 4.491135,24.674634 7.1014538,22.972623 9.9105956,21.024042 L 22.716572,20.83618 c 2.050611,2.112456 5.504016,4.021079 5.44802,8.078098 z"
|
||||||
|
id="path3766"
|
||||||
|
sodipodi:nodetypes="ccccc" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.15774px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||||
|
d="m 25.753688,15.482091 c 0.156553,-0.250483 2.403741,-2.373742 3.694635,-2.066491 1.695855,0.403637 1.446745,3.66121 0.939314,5.260157 -0.611229,1.926017 -2.613395,3.748315 -3.694635,3.444152 -0.935221,-0.263087 -1.565524,-2.03518 -1.565524,-2.03518"
|
||||||
|
id="path3843"
|
||||||
|
sodipodi:nodetypes="csssc" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:1.15774px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 26.912174,17.110235 c 0.706768,-0.73189 1.415699,-1.455116 2.285665,-1.534213"
|
||||||
|
id="path3845"
|
||||||
|
sodipodi:nodetypes="cc" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.15774px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||||
|
d="M 6.8436682,15.170808 C 6.6871161,14.920325 4.4399274,12.797065 3.1490342,13.104316 1.453178,13.507954 1.702288,16.765527 2.2097192,18.364472 c 0.6112284,1.926018 2.6133951,3.748315 3.6946352,3.444152 0.9352213,-0.263087 1.5655234,-2.035179 1.5655234,-2.035179"
|
||||||
|
id="path3843-6"
|
||||||
|
sodipodi:nodetypes="csssc" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:1.15774px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="M 5.6851813,16.798952 C 4.9784148,16.067062 4.2694824,15.343836 3.3995172,15.264739"
|
||||||
|
id="path3845-7"
|
||||||
|
sodipodi:nodetypes="cc" />
|
||||||
|
<ellipse
|
||||||
|
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.810419;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:0.8;stroke-opacity:1"
|
||||||
|
id="path2244"
|
||||||
|
cx="16.336857"
|
||||||
|
cy="16.477674"
|
||||||
|
rx="10.879799"
|
||||||
|
ry="8.6858559" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.15774px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||||
|
d="m 14.12493,6.9645952 c 0,0 -2.734227,0.7311537 -2.609474,1.5698289 0.289028,1.9430589 2.615214,3.4253189 5.111866,3.4721999 2.143974,0.04026 4.930688,-0.996693 5.53415,-3.0245418 0.266502,-0.8955417 -2.641601,-1.8376556 -2.641601,-1.8376556 z"
|
||||||
|
id="path3613"
|
||||||
|
sodipodi:nodetypes="cssscc" />
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.15774px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 13.621403,8.4392124 c 0.03597,-0.143865 3.129065,-4.9993121 3.129065,-4.9993121 l 3.093099,5.107211 c 0,0 -1.036582,1.7146207 -3.200998,1.6184827 -1.986985,-0.08826 -3.021166,-1.7263816 -3.021166,-1.7263816 z"
|
||||||
|
id="path3711"
|
||||||
|
sodipodi:nodetypes="cccsc" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:1.15774px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 13.96694,23.572677 c 0,0 1.310205,-0.09653 2.582791,-0.12975 1.459112,-0.0381 2.614745,0.192371 2.614745,0.192371"
|
||||||
|
id="path3727-8"
|
||||||
|
sodipodi:nodetypes="csc" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer2"
|
||||||
|
inkscape:label="EyeClosed"
|
||||||
|
style="display:inline">
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:1.15774px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 9.3470074,17.047613 c 0,0 3.1696546,3.057312 7.1700936,3.005804 4.400975,-0.05665 6.637818,-3.005804 6.637818,-3.005804"
|
||||||
|
id="path3727"
|
||||||
|
sodipodi:nodetypes="csc" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:1.15774px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 23.280163,15.012434 c 1.484124,-0.05522 2.067074,1.04017 2.097801,2.254352"
|
||||||
|
id="path3729"
|
||||||
|
sodipodi:nodetypes="cc" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#000000;stroke-width:1.15774px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="M 9.5035596,14.668018 C 8.5016248,15.062299 7.6875529,15.899562 7.155275,16.89106"
|
||||||
|
id="path3731"
|
||||||
|
sodipodi:nodetypes="cc" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer3"
|
||||||
|
inkscape:label="EyeOpen"
|
||||||
|
style="display:none">
|
||||||
|
<path
|
||||||
|
style="display:inline;fill:none;stroke:#000000;stroke-width:1.15774px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 23.389083,17.318695 c 0,0 -2.749922,3.508872 -7.150897,3.565527 -4.00044,0.0515 -6.8435886,-3.84539 -6.8435886,-3.84539 0,0 2.4413346,-3.718794 6.9539426,-3.677816 4.834349,0.0439 7.040543,3.957679 7.040543,3.957679 z"
|
||||||
|
id="path3727-0"
|
||||||
|
sodipodi:nodetypes="cscsc" />
|
||||||
|
<path
|
||||||
|
style="display:inline;fill:none;stroke:#000000;stroke-width:1.15774px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 24.400556,15.983168 c 1.017688,0.831014 0.994271,1.833112 -0.141093,2.674146"
|
||||||
|
id="path3729-3"
|
||||||
|
sodipodi:nodetypes="cc" />
|
||||||
|
<path
|
||||||
|
style="display:inline;fill:none;stroke:#000000;stroke-width:1.15774px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 8.3384149,15.452179 c -1.007661,0.395044 -1.231048,1.983805 0.030541,2.736122"
|
||||||
|
id="path3731-4"
|
||||||
|
sodipodi:nodetypes="cc" />
|
||||||
|
<ellipse
|
||||||
|
style="display:inline;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.914835;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:0.8;stroke-opacity:1"
|
||||||
|
id="path4064"
|
||||||
|
cx="16.418505"
|
||||||
|
cy="17.069185"
|
||||||
|
rx="2.3088593"
|
||||||
|
ry="2.2155721" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 7 KiB |
37
addons/cyclops_level_builder/art/cyclops.svg.import
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bmbwskudf7ldr"
|
||||||
|
path="res://.godot/imported/cyclops.svg-62ab1cb5293c5a489284f34e0c642019.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/cyclops.svg"
|
||||||
|
dest_files=["res://.godot/imported/cyclops.svg-62ab1cb5293c5a489284f34e0c642019.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=1
|
||||||
|
svg/scale=1.0
|
||||||
|
editor/scale_with_editor_scale=false
|
||||||
|
editor/convert_colors_with_editor_theme=false
|
||||||
BIN
addons/cyclops_level_builder/art/cyclops1.png
Normal file
|
After Width: | Height: | Size: 369 B |
34
addons/cyclops_level_builder/art/cyclops1.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://l4qj0lbj3ioa"
|
||||||
|
path="res://.godot/imported/cyclops1.png-6f459321d21304ca30333893d06ffb09.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/cyclops1.png"
|
||||||
|
dest_files=["res://.godot/imported/cyclops1.png-6f459321d21304ca30333893d06ffb09.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=1
|
||||||
BIN
addons/cyclops_level_builder/art/cyclops2.png
Normal file
|
After Width: | Height: | Size: 433 B |
34
addons/cyclops_level_builder/art/cyclops2.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://oxrgrpeaamq3"
|
||||||
|
path="res://.godot/imported/cyclops2.png-510e6418526608a41b6474466da5ef6e.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/cyclops2.png"
|
||||||
|
dest_files=["res://.godot/imported/cyclops2.png-510e6418526608a41b6474466da5ef6e.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=1
|
||||||
BIN
addons/cyclops_level_builder/art/cyclops_16.png
Normal file
|
After Width: | Height: | Size: 258 B |
34
addons/cyclops_level_builder/art/cyclops_16.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://df0a5uffpuqg3"
|
||||||
|
path="res://.godot/imported/cyclops_16.png-f07e4f06ecdf5a5bd3bf65311c5a89e7.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/cyclops_16.png"
|
||||||
|
dest_files=["res://.godot/imported/cyclops_16.png-f07e4f06ecdf5a5bd3bf65311c5a89e7.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=1
|
||||||
BIN
addons/cyclops_level_builder/art/cyclops_17.png
Normal file
|
After Width: | Height: | Size: 272 B |
34
addons/cyclops_level_builder/art/cyclops_17.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ynphxd22kahd"
|
||||||
|
path="res://.godot/imported/cyclops_17.png-c21222671fab466b90ffb528051b4f8e.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/cyclops_17.png"
|
||||||
|
dest_files=["res://.godot/imported/cyclops_17.png-c21222671fab466b90ffb528051b4f8e.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=1
|
||||||
BIN
addons/cyclops_level_builder/art/cyclops_3.png
Normal file
|
After Width: | Height: | Size: 588 B |
34
addons/cyclops_level_builder/art/cyclops_3.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://d0krdms4l6ns4"
|
||||||
|
path="res://.godot/imported/cyclops_3.png-6415cec0c5295619847f207c8fb5e88e.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/cyclops_3.png"
|
||||||
|
dest_files=["res://.godot/imported/cyclops_3.png-6415cec0c5295619847f207c8fb5e88e.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=1
|
||||||
BIN
addons/cyclops_level_builder/art/cyclops_4.png
Normal file
|
After Width: | Height: | Size: 643 B |
34
addons/cyclops_level_builder/art/cyclops_4.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cg3yjatinkymb"
|
||||||
|
path="res://.godot/imported/cyclops_4.png-e03a17198c56b52428203cf1953feb8c.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/cyclops_4.png"
|
||||||
|
dest_files=["res://.godot/imported/cyclops_4.png-e03a17198c56b52428203cf1953feb8c.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=1
|
||||||
BIN
addons/cyclops_level_builder/art/cyclops_closed.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
34
addons/cyclops_level_builder/art/cyclops_closed.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dd8xjcq5k2kia"
|
||||||
|
path="res://.godot/imported/cyclops_closed.png-8f54cf7552f8e17ac6aa0c8d6378241b.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/cyclops_closed.png"
|
||||||
|
dest_files=["res://.godot/imported/cyclops_closed.png-8f54cf7552f8e17ac6aa0c8d6378241b.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=1
|
||||||
BIN
addons/cyclops_level_builder/art/cyclops_open.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
34
addons/cyclops_level_builder/art/cyclops_open.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dv78ucvwmycdh"
|
||||||
|
path="res://.godot/imported/cyclops_open.png-44d55f3db65056f90cc00f3559bf1cb3.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/cyclops_open.png"
|
||||||
|
dest_files=["res://.godot/imported/cyclops_open.png-44d55f3db65056f90cc00f3559bf1cb3.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=1
|
||||||
202
addons/cyclops_level_builder/art/fonts/Roboto/LICENSE.txt
Normal file
|
|
@ -0,0 +1,202 @@
|
||||||
|
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
BIN
addons/cyclops_level_builder/art/fonts/Roboto/Roboto-Black.ttf
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://yhi2wxrd3vdl"
|
||||||
|
path="res://.godot/imported/Roboto-Black.ttf-bf53e1e350116bdc6b4fb4a05660f669.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/fonts/Roboto/Roboto-Black.ttf"
|
||||||
|
dest_files=["res://.godot/imported/Roboto-Black.ttf-bf53e1e350116bdc6b4fb4a05660f669.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=1
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://du5gqvb4yc1dj"
|
||||||
|
path="res://.godot/imported/Roboto-BlackItalic.ttf-bf8690d15b3cf8cd5d6a2b817379e64e.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/fonts/Roboto/Roboto-BlackItalic.ttf"
|
||||||
|
dest_files=["res://.godot/imported/Roboto-BlackItalic.ttf-bf8690d15b3cf8cd5d6a2b817379e64e.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=1
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
||||||
BIN
addons/cyclops_level_builder/art/fonts/Roboto/Roboto-Bold.ttf
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://c38q3pk6fpcof"
|
||||||
|
path="res://.godot/imported/Roboto-Bold.ttf-df81bc6c67726596bfdfbb0c232daa07.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/fonts/Roboto/Roboto-Bold.ttf"
|
||||||
|
dest_files=["res://.godot/imported/Roboto-Bold.ttf-df81bc6c67726596bfdfbb0c232daa07.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=1
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://c3x3cd47jhq2"
|
||||||
|
path="res://.godot/imported/Roboto-BoldItalic.ttf-a6c74f542f3344ae20ca33a53a2a23a5.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/fonts/Roboto/Roboto-BoldItalic.ttf"
|
||||||
|
dest_files=["res://.godot/imported/Roboto-BoldItalic.ttf-a6c74f542f3344ae20ca33a53a2a23a5.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=1
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
||||||
BIN
addons/cyclops_level_builder/art/fonts/Roboto/Roboto-Italic.ttf
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://b7wdow3eps416"
|
||||||
|
path="res://.godot/imported/Roboto-Italic.ttf-16e369b2270cffe6321292c293333ba2.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/fonts/Roboto/Roboto-Italic.ttf"
|
||||||
|
dest_files=["res://.godot/imported/Roboto-Italic.ttf-16e369b2270cffe6321292c293333ba2.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=1
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
||||||
BIN
addons/cyclops_level_builder/art/fonts/Roboto/Roboto-Light.ttf
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://r0x2ql45ygwl"
|
||||||
|
path="res://.godot/imported/Roboto-Light.ttf-32e2bbbc31f4a36b674db4f07c8dde61.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/fonts/Roboto/Roboto-Light.ttf"
|
||||||
|
dest_files=["res://.godot/imported/Roboto-Light.ttf-32e2bbbc31f4a36b674db4f07c8dde61.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=1
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://bhhr80f3d5x6w"
|
||||||
|
path="res://.godot/imported/Roboto-LightItalic.ttf-df475dd7032319cbfacce9bda56b5428.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/fonts/Roboto/Roboto-LightItalic.ttf"
|
||||||
|
dest_files=["res://.godot/imported/Roboto-LightItalic.ttf-df475dd7032319cbfacce9bda56b5428.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=1
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
||||||
BIN
addons/cyclops_level_builder/art/fonts/Roboto/Roboto-Medium.ttf
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://c8a6t7tcg764a"
|
||||||
|
path="res://.godot/imported/Roboto-Medium.ttf-1aacbf46d243718027ec489d66f94134.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/fonts/Roboto/Roboto-Medium.ttf"
|
||||||
|
dest_files=["res://.godot/imported/Roboto-Medium.ttf-1aacbf46d243718027ec489d66f94134.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=1
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://2tbkytso6fih"
|
||||||
|
path="res://.godot/imported/Roboto-MediumItalic.ttf-a8b1a5abefd7e766b592e7aae3a010dd.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/fonts/Roboto/Roboto-MediumItalic.ttf"
|
||||||
|
dest_files=["res://.godot/imported/Roboto-MediumItalic.ttf-a8b1a5abefd7e766b592e7aae3a010dd.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=1
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
||||||
BIN
addons/cyclops_level_builder/art/fonts/Roboto/Roboto-Regular.ttf
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://dejaio63tyi02"
|
||||||
|
path="res://.godot/imported/Roboto-Regular.ttf-2dd2d3db031bed92eb84483dd4615adb.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/fonts/Roboto/Roboto-Regular.ttf"
|
||||||
|
dest_files=["res://.godot/imported/Roboto-Regular.ttf-2dd2d3db031bed92eb84483dd4615adb.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=1
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
||||||
BIN
addons/cyclops_level_builder/art/fonts/Roboto/Roboto-Thin.ttf
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://bci3pwej3h1vb"
|
||||||
|
path="res://.godot/imported/Roboto-Thin.ttf-be0d3f6dcdbb5e1125fcb2eb5b3585da.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/fonts/Roboto/Roboto-Thin.ttf"
|
||||||
|
dest_files=["res://.godot/imported/Roboto-Thin.ttf-be0d3f6dcdbb5e1125fcb2eb5b3585da.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=1
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://cgr0ds5yvswhi"
|
||||||
|
path="res://.godot/imported/Roboto-ThinItalic.ttf-73ae85a31d5331b097d04b58d0a0ed22.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/fonts/Roboto/Roboto-ThinItalic.ttf"
|
||||||
|
dest_files=["res://.godot/imported/Roboto-ThinItalic.ttf-73ae85a31d5331b097d04b58d0a0ed22.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
disable_embedded_bitmaps=true
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=1
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
||||||
BIN
addons/cyclops_level_builder/art/gizmos/gizmo_rotate.glb
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://p26cj0m5amq0"
|
||||||
|
path="res://.godot/imported/gizmo_rotate.glb-2e5427bc458d00aede170e5b0ed6cee0.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/gizmos/gizmo_rotate.glb"
|
||||||
|
dest_files=["res://.godot/imported/gizmo_rotate.glb-2e5427bc458d00aede170e5b0ed6cee0.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type="Node3D"
|
||||||
|
nodes/root_name="Scene Root"
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=false
|
||||||
|
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={}
|
||||||
|
gltf/naming_version=0
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wavefront_obj"
|
||||||
|
importer_version=1
|
||||||
|
type="Mesh"
|
||||||
|
uid="uid://dc41qtx1s2lbw"
|
||||||
|
path="res://.godot/imported/gizmo_rotate.obj-083ea63ef4767449d33eb052210ae2e8.mesh"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
files=["res://.godot/imported/gizmo_rotate.obj-083ea63ef4767449d33eb052210ae2e8.mesh"]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/gizmos/gizmo_rotate.obj"
|
||||||
|
dest_files=["res://.godot/imported/gizmo_rotate.obj-083ea63ef4767449d33eb052210ae2e8.mesh", "res://.godot/imported/gizmo_rotate.obj-083ea63ef4767449d33eb052210ae2e8.mesh"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
generate_tangents=true
|
||||||
|
scale_mesh=Vector3(1, 1, 1)
|
||||||
|
offset_mesh=Vector3(0, 0, 0)
|
||||||
|
optimize_mesh=true
|
||||||
|
force_disable_mesh_compression=false
|
||||||
BIN
addons/cyclops_level_builder/art/gizmos/gizmo_scale.glb
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://boc4o8oikx7bd"
|
||||||
|
path="res://.godot/imported/gizmo_scale.glb-b94a0e3ad2db5ab9510faa04f0b770ed.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/gizmos/gizmo_scale.glb"
|
||||||
|
dest_files=["res://.godot/imported/gizmo_scale.glb-b94a0e3ad2db5ab9510faa04f0b770ed.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type="Node3D"
|
||||||
|
nodes/root_name="Scene Root"
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
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={}
|
||||||
|
gltf/naming_version=0
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wavefront_obj"
|
||||||
|
importer_version=1
|
||||||
|
type="Mesh"
|
||||||
|
uid="uid://dm6efs8isals0"
|
||||||
|
path="res://.godot/imported/gizmo_scale.obj-a2bbb5796f0120e00deceb29269481c4.mesh"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
files=["res://.godot/imported/gizmo_scale.obj-a2bbb5796f0120e00deceb29269481c4.mesh"]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/gizmos/gizmo_scale.obj"
|
||||||
|
dest_files=["res://.godot/imported/gizmo_scale.obj-a2bbb5796f0120e00deceb29269481c4.mesh", "res://.godot/imported/gizmo_scale.obj-a2bbb5796f0120e00deceb29269481c4.mesh"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
generate_tangents=true
|
||||||
|
scale_mesh=Vector3(1, 1, 1)
|
||||||
|
offset_mesh=Vector3(0, 0, 0)
|
||||||
|
optimize_mesh=true
|
||||||
|
force_disable_mesh_compression=false
|
||||||
BIN
addons/cyclops_level_builder/art/gizmos/gizmo_translate.glb
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://ujq3kes2sdfu"
|
||||||
|
path="res://.godot/imported/gizmo_translate.glb-b25182ebac6173efa72020211f0823b4.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/gizmos/gizmo_translate.glb"
|
||||||
|
dest_files=["res://.godot/imported/gizmo_translate.glb-b25182ebac6173efa72020211f0823b4.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type="Node3D"
|
||||||
|
nodes/root_name="Scene Root"
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=false
|
||||||
|
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={}
|
||||||
|
gltf/naming_version=0
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wavefront_obj"
|
||||||
|
importer_version=1
|
||||||
|
type="Mesh"
|
||||||
|
uid="uid://cuuxumssbvx"
|
||||||
|
path="res://.godot/imported/gizmo_translate.obj-dfe1041d0008a76a601d3c2537af97e5.mesh"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
files=["res://.godot/imported/gizmo_translate.obj-dfe1041d0008a76a601d3c2537af97e5.mesh"]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/gizmos/gizmo_translate.obj"
|
||||||
|
dest_files=["res://.godot/imported/gizmo_translate.obj-dfe1041d0008a76a601d3c2537af97e5.mesh", "res://.godot/imported/gizmo_translate.obj-dfe1041d0008a76a601d3c2537af97e5.mesh"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
generate_tangents=true
|
||||||
|
scale_mesh=Vector3(1, 1, 1)
|
||||||
|
offset_mesh=Vector3(0, 0, 0)
|
||||||
|
optimize_mesh=true
|
||||||
|
force_disable_mesh_compression=false
|
||||||
67
addons/cyclops_level_builder/art/icons/arrow_down.svg
Normal file
|
|
@ -0,0 +1,67 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 4.2333332 4.2333336"
|
||||||
|
version="1.1"
|
||||||
|
id="svg8"
|
||||||
|
xml:space="preserve"
|
||||||
|
sodipodi:docname="arrow_right.svg"
|
||||||
|
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview
|
||||||
|
id="namedview1"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#111111"
|
||||||
|
borderopacity="1"
|
||||||
|
inkscape:showpageshadow="0"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pagecheckerboard="1"
|
||||||
|
inkscape:deskcolor="#d1d1d1"
|
||||||
|
inkscape:zoom="36.283417"
|
||||||
|
inkscape:cx="8.6403109"
|
||||||
|
inkscape:cy="7.9237301"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1017"
|
||||||
|
inkscape:window-x="1912"
|
||||||
|
inkscape:window-y="-8"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg8" /><defs
|
||||||
|
id="defs2"><filter
|
||||||
|
id="selectable_hidder_filter"
|
||||||
|
width="1"
|
||||||
|
height="1"
|
||||||
|
x="0"
|
||||||
|
y="0"
|
||||||
|
style="color-interpolation-filters:sRGB;"><feComposite
|
||||||
|
id="boolops_hidder_primitive"
|
||||||
|
result="composite1"
|
||||||
|
operator="arithmetic"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
in="BackgroundImage" /></filter><clipPath
|
||||||
|
clipPathUnits="userSpaceOnUse"
|
||||||
|
id="clipPath874"><g
|
||||||
|
id="use876"
|
||||||
|
style="stroke-width:1.5"><rect
|
||||||
|
style="fill:#0e0421;stroke:#488bd4;stroke-width:0.396874;-inkscape-stroke:none;paint-order:stroke fill markers;stop-color:#000000"
|
||||||
|
id="rect1"
|
||||||
|
width="508"
|
||||||
|
height="285.75"
|
||||||
|
x="0"
|
||||||
|
y="11.249975" /></g></clipPath></defs><metadata
|
||||||
|
id="metadata5"><rdf:RDF><cc:Work
|
||||||
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><g
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(0,-11.249975)" /><path
|
||||||
|
style="fill:none;stroke:#ffffff;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="M 3.6848615,1.6788039 2.153714,3.4417449 0.75162608,1.6669365"
|
||||||
|
id="path1"
|
||||||
|
sodipodi:nodetypes="ccc" /></svg>
|
||||||
|
After Width: | Height: | Size: 2.5 KiB |
37
addons/cyclops_level_builder/art/icons/arrow_down.svg.import
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bor2x3t7fiqc2"
|
||||||
|
path="res://.godot/imported/arrow_down.svg-2e1ff08c057ea7461c9327204e454db0.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/icons/arrow_down.svg"
|
||||||
|
dest_files=["res://.godot/imported/arrow_down.svg-2e1ff08c057ea7461c9327204e454db0.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=1
|
||||||
|
svg/scale=1.0
|
||||||
|
editor/scale_with_editor_scale=false
|
||||||
|
editor/convert_colors_with_editor_theme=false
|
||||||
67
addons/cyclops_level_builder/art/icons/arrow_left.svg
Normal file
|
|
@ -0,0 +1,67 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 4.2333332 4.2333336"
|
||||||
|
version="1.1"
|
||||||
|
id="svg8"
|
||||||
|
xml:space="preserve"
|
||||||
|
sodipodi:docname="arrow_right.svg"
|
||||||
|
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview
|
||||||
|
id="namedview1"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#111111"
|
||||||
|
borderopacity="1"
|
||||||
|
inkscape:showpageshadow="0"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pagecheckerboard="1"
|
||||||
|
inkscape:deskcolor="#d1d1d1"
|
||||||
|
inkscape:zoom="36.283417"
|
||||||
|
inkscape:cx="8.6403109"
|
||||||
|
inkscape:cy="7.9237301"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1017"
|
||||||
|
inkscape:window-x="1912"
|
||||||
|
inkscape:window-y="-8"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg8" /><defs
|
||||||
|
id="defs2"><filter
|
||||||
|
id="selectable_hidder_filter"
|
||||||
|
width="1"
|
||||||
|
height="1"
|
||||||
|
x="0"
|
||||||
|
y="0"
|
||||||
|
style="color-interpolation-filters:sRGB;"><feComposite
|
||||||
|
id="boolops_hidder_primitive"
|
||||||
|
result="composite1"
|
||||||
|
operator="arithmetic"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
in="BackgroundImage" /></filter><clipPath
|
||||||
|
clipPathUnits="userSpaceOnUse"
|
||||||
|
id="clipPath874"><g
|
||||||
|
id="use876"
|
||||||
|
style="stroke-width:1.5"><rect
|
||||||
|
style="fill:#0e0421;stroke:#488bd4;stroke-width:0.396874;-inkscape-stroke:none;paint-order:stroke fill markers;stop-color:#000000"
|
||||||
|
id="rect1"
|
||||||
|
width="508"
|
||||||
|
height="285.75"
|
||||||
|
x="0"
|
||||||
|
y="11.249975" /></g></clipPath></defs><metadata
|
||||||
|
id="metadata5"><rdf:RDF><cc:Work
|
||||||
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><g
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(0,-11.249975)" /><path
|
||||||
|
style="fill:none;stroke:#ffffff;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="M 2.7437509,3.6636366 0.98080993,2.1324891 2.7556183,0.7304012"
|
||||||
|
id="path1"
|
||||||
|
sodipodi:nodetypes="ccc" /></svg>
|
||||||
|
After Width: | Height: | Size: 2.5 KiB |
37
addons/cyclops_level_builder/art/icons/arrow_left.svg.import
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ghfvfty2oswu"
|
||||||
|
path="res://.godot/imported/arrow_left.svg-014ed9bdeef2dfa2058baab18d11c5cd.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/icons/arrow_left.svg"
|
||||||
|
dest_files=["res://.godot/imported/arrow_left.svg-014ed9bdeef2dfa2058baab18d11c5cd.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=1
|
||||||
|
svg/scale=1.0
|
||||||
|
editor/scale_with_editor_scale=false
|
||||||
|
editor/convert_colors_with_editor_theme=false
|
||||||
67
addons/cyclops_level_builder/art/icons/arrow_right.svg
Normal file
|
|
@ -0,0 +1,67 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 4.2333332 4.2333336"
|
||||||
|
version="1.1"
|
||||||
|
id="svg8"
|
||||||
|
xml:space="preserve"
|
||||||
|
sodipodi:docname="arrow_right.svg"
|
||||||
|
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview
|
||||||
|
id="namedview1"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#111111"
|
||||||
|
borderopacity="1"
|
||||||
|
inkscape:showpageshadow="0"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pagecheckerboard="1"
|
||||||
|
inkscape:deskcolor="#d1d1d1"
|
||||||
|
inkscape:zoom="36.283417"
|
||||||
|
inkscape:cx="8.6403109"
|
||||||
|
inkscape:cy="7.9237301"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1017"
|
||||||
|
inkscape:window-x="1912"
|
||||||
|
inkscape:window-y="-8"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg8" /><defs
|
||||||
|
id="defs2"><filter
|
||||||
|
id="selectable_hidder_filter"
|
||||||
|
width="1"
|
||||||
|
height="1"
|
||||||
|
x="0"
|
||||||
|
y="0"
|
||||||
|
style="color-interpolation-filters:sRGB;"><feComposite
|
||||||
|
id="boolops_hidder_primitive"
|
||||||
|
result="composite1"
|
||||||
|
operator="arithmetic"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
in="BackgroundImage" /></filter><clipPath
|
||||||
|
clipPathUnits="userSpaceOnUse"
|
||||||
|
id="clipPath874"><g
|
||||||
|
id="use876"
|
||||||
|
style="stroke-width:1.5"><rect
|
||||||
|
style="fill:#0e0421;stroke:#488bd4;stroke-width:0.396874;-inkscape-stroke:none;paint-order:stroke fill markers;stop-color:#000000"
|
||||||
|
id="rect1"
|
||||||
|
width="508"
|
||||||
|
height="285.75"
|
||||||
|
x="0"
|
||||||
|
y="11.249975" /></g></clipPath></defs><metadata
|
||||||
|
id="metadata5"><rdf:RDF><cc:Work
|
||||||
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><g
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(0,-11.249975)" /><path
|
||||||
|
style="fill:none;stroke:#ffffff;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="M 1.3937594,0.73040117 3.1567004,2.2615487 1.381892,3.6636366"
|
||||||
|
id="path1"
|
||||||
|
sodipodi:nodetypes="ccc" /></svg>
|
||||||
|
After Width: | Height: | Size: 2.5 KiB |
|
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c7c2vg6lbhmfn"
|
||||||
|
path="res://.godot/imported/arrow_right.svg-487571a4e582c53960841d4b8d93eafd.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/icons/arrow_right.svg"
|
||||||
|
dest_files=["res://.godot/imported/arrow_right.svg-487571a4e582c53960841d4b8d93eafd.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=1
|
||||||
|
svg/scale=1.0
|
||||||
|
editor/scale_with_editor_scale=false
|
||||||
|
editor/convert_colors_with_editor_theme=false
|
||||||
67
addons/cyclops_level_builder/art/icons/arrow_up.svg
Normal file
|
|
@ -0,0 +1,67 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 4.2333332 4.2333336"
|
||||||
|
version="1.1"
|
||||||
|
id="svg8"
|
||||||
|
xml:space="preserve"
|
||||||
|
sodipodi:docname="arrow_right.svg"
|
||||||
|
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview
|
||||||
|
id="namedview1"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#111111"
|
||||||
|
borderopacity="1"
|
||||||
|
inkscape:showpageshadow="0"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pagecheckerboard="1"
|
||||||
|
inkscape:deskcolor="#d1d1d1"
|
||||||
|
inkscape:zoom="36.283417"
|
||||||
|
inkscape:cx="8.6403109"
|
||||||
|
inkscape:cy="7.9237301"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1017"
|
||||||
|
inkscape:window-x="1912"
|
||||||
|
inkscape:window-y="-8"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg8" /><defs
|
||||||
|
id="defs2"><filter
|
||||||
|
id="selectable_hidder_filter"
|
||||||
|
width="1"
|
||||||
|
height="1"
|
||||||
|
x="0"
|
||||||
|
y="0"
|
||||||
|
style="color-interpolation-filters:sRGB;"><feComposite
|
||||||
|
id="boolops_hidder_primitive"
|
||||||
|
result="composite1"
|
||||||
|
operator="arithmetic"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
in="BackgroundImage" /></filter><clipPath
|
||||||
|
clipPathUnits="userSpaceOnUse"
|
||||||
|
id="clipPath874"><g
|
||||||
|
id="use876"
|
||||||
|
style="stroke-width:1.5"><rect
|
||||||
|
style="fill:#0e0421;stroke:#488bd4;stroke-width:0.396874;-inkscape-stroke:none;paint-order:stroke fill markers;stop-color:#000000"
|
||||||
|
id="rect1"
|
||||||
|
width="508"
|
||||||
|
height="285.75"
|
||||||
|
x="0"
|
||||||
|
y="11.249975" /></g></clipPath></defs><metadata
|
||||||
|
id="metadata5"><rdf:RDF><cc:Work
|
||||||
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><g
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(0,-11.249975)" /><path
|
||||||
|
style="fill:none;stroke:#ffffff;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="M 0.67141265,2.8173237 2.2025602,1.0543827 3.6046481,2.8291911"
|
||||||
|
id="path1"
|
||||||
|
sodipodi:nodetypes="ccc" /></svg>
|
||||||
|
After Width: | Height: | Size: 2.5 KiB |
37
addons/cyclops_level_builder/art/icons/arrow_up.svg.import
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://gb1w6xbrq5q"
|
||||||
|
path="res://.godot/imported/arrow_up.svg-98c02f3791a0716945de0c384c85f807.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/icons/arrow_up.svg"
|
||||||
|
dest_files=["res://.godot/imported/arrow_up.svg-98c02f3791a0716945de0c384c85f807.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=1
|
||||||
|
svg/scale=1.0
|
||||||
|
editor/scale_with_editor_scale=false
|
||||||
|
editor/convert_colors_with_editor_theme=false
|
||||||
48
addons/cyclops_level_builder/art/icons/block.svg
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 4.2333332 4.2333336"
|
||||||
|
version="1.1"
|
||||||
|
id="svg8"
|
||||||
|
xml:space="preserve"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"><defs
|
||||||
|
id="defs2"><filter
|
||||||
|
id="selectable_hidder_filter"
|
||||||
|
width="1"
|
||||||
|
height="1"
|
||||||
|
x="0"
|
||||||
|
y="0"
|
||||||
|
style="color-interpolation-filters:sRGB;"><feComposite
|
||||||
|
id="boolops_hidder_primitive"
|
||||||
|
result="composite1"
|
||||||
|
operator="arithmetic"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
in="BackgroundImage" /></filter><clipPath
|
||||||
|
clipPathUnits="userSpaceOnUse"
|
||||||
|
id="clipPath874"><g
|
||||||
|
id="use876"
|
||||||
|
style="stroke-width:1.5"><rect
|
||||||
|
style="fill:#0e0421;stroke:#488bd4;stroke-width:0.396874;-inkscape-stroke:none;paint-order:stroke fill markers;stop-color:#000000"
|
||||||
|
id="rect1"
|
||||||
|
width="508"
|
||||||
|
height="285.75"
|
||||||
|
x="0"
|
||||||
|
y="11.249975" /></g></clipPath></defs><metadata
|
||||||
|
id="metadata5"><rdf:RDF><cc:Work
|
||||||
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><g
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(0,-11.249975)"><g
|
||||||
|
style="clip-rule:evenodd;fill:#5fff97;fill-opacity:1;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2"
|
||||||
|
id="g13"
|
||||||
|
transform="matrix(0.26458334,0,0,0.26458334,5.01613e-7,11.249975)"><path
|
||||||
|
id="path1-8"
|
||||||
|
style="fill:#5fff97;fill-opacity:1"
|
||||||
|
d="M 7.9999977,0.88867187 0.99999772,4.3886718 v 7.2226562 l 6.99999998,3.5 7.0000003,-3.5 V 4.3886718 Z m 0,2.11523433 4.3906253,2.1484375 -4.3867191,2.1640625 -4.375,-2.1679687 z M 3.0136696,5.9648437 7.5019508,8.1855468 V 12.708984 L 2.9999977,10.496094 Z M 12.97656,5.9726537 13,10.496092 8.4980465,12.708982 V 8.1816405 Z" /></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 2.1 KiB |
37
addons/cyclops_level_builder/art/icons/block.svg.import
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bwasqbq4iqkn6"
|
||||||
|
path="res://.godot/imported/block.svg-764d2bd43d9fe0588da4c013aa3df07b.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/icons/block.svg"
|
||||||
|
dest_files=["res://.godot/imported/block.svg-764d2bd43d9fe0588da4c013aa3df07b.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=1
|
||||||
|
svg/scale=1.5
|
||||||
|
editor/scale_with_editor_scale=false
|
||||||
|
editor/convert_colors_with_editor_theme=false
|
||||||
50
addons/cyclops_level_builder/art/icons/create_cylinder.svg
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 4.2333332 4.2333336"
|
||||||
|
version="1.1"
|
||||||
|
id="svg8"
|
||||||
|
xml:space="preserve"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"><defs
|
||||||
|
id="defs2"><filter
|
||||||
|
id="selectable_hidder_filter"
|
||||||
|
width="1"
|
||||||
|
height="1"
|
||||||
|
x="0"
|
||||||
|
y="0"
|
||||||
|
style="color-interpolation-filters:sRGB;"><feComposite
|
||||||
|
id="boolops_hidder_primitive"
|
||||||
|
result="composite1"
|
||||||
|
operator="arithmetic"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
in="BackgroundImage" /></filter><clipPath
|
||||||
|
clipPathUnits="userSpaceOnUse"
|
||||||
|
id="clipPath874"><g
|
||||||
|
id="use876"
|
||||||
|
style="stroke-width:1.5"><rect
|
||||||
|
style="fill:#0e0421;stroke:#488bd4;stroke-width:0.396874;-inkscape-stroke:none;paint-order:stroke fill markers;stop-color:#000000"
|
||||||
|
id="rect1"
|
||||||
|
width="508"
|
||||||
|
height="285.75"
|
||||||
|
x="0"
|
||||||
|
y="11.249975" /></g></clipPath></defs><metadata
|
||||||
|
id="metadata5"><rdf:RDF><cc:Work
|
||||||
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><g
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(0,-11.249975)"><g
|
||||||
|
id="g30"
|
||||||
|
transform="translate(-12.7)"><path
|
||||||
|
id="path1-9"
|
||||||
|
style="fill:#5fff97;fill-opacity:1;stroke-width:0.282222"
|
||||||
|
d="m 14.816667,11.703509 c -0.415041,0 -0.790696,0.05382 -1.083078,0.151279 -0.146183,0.04873 -0.272533,0.107361 -0.377731,0.190258 -0.105186,0.08289 -0.202323,0.209319 -0.202323,0.371234 v 1.900723 c 0,0.161916 0.09714,0.288802 0.202323,0.371699 0.105186,0.08289 0.231543,0.141548 0.377731,0.190258 0.292357,0.09747 0.668011,0.150814 1.083078,0.150814 0.415067,0 0.790696,-0.05335 1.083078,-0.150814 0.146183,-0.04871 0.272533,-0.107361 0.377731,-0.190258 0.105186,-0.08289 0.202323,-0.209783 0.202323,-0.371699 V 12.41628 c 0,-0.161915 -0.09714,-0.288337 -0.202323,-0.371234 -0.105186,-0.0829 -0.231543,-0.141524 -0.377731,-0.190258 -0.292357,-0.09747 -0.668011,-0.151279 -1.083078,-0.151279 z m 0,0.475181 c 0.753802,0 1.139742,0.200787 1.187952,0.238054 v 0.519265 0.475181 0.905813 c -0.0398,0.03072 -0.144701,0.07424 -0.25476,0.110907 -0.223579,0.07453 -0.56093,0.126683 -0.933192,0.126683 -0.58032,0 -1.012769,-0.121324 -1.163357,-0.23759 V 13.41119 12.936009 12.416744 c 0.150708,-0.116502 0.585663,-0.238054 1.163357,-0.238054 z" /><path
|
||||||
|
id="rect13-6"
|
||||||
|
style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#5fff97;fill-opacity:1;stroke-width:1.00013;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0;-inkscape-stroke:none;paint-order:stroke fill markers;stop-color:#000000;stop-opacity:1"
|
||||||
|
d="m 15.821443,12.626595 v 0.259213 c -0.281899,0.101907 -0.56598,0.153264 -1.00501,0.153306 -0.361855,-0.0094 -0.631385,-0.04148 -0.947178,-0.168371 V 12.61153 c 0.22839,0.107461 0.452276,0.200661 0.94367,0.200661 0.636587,0 0.844447,-0.102531 1.008518,-0.185596 z" /></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 3.3 KiB |
|
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://0vye3ue3ayvf"
|
||||||
|
path="res://.godot/imported/create_cylinder.svg-476a4bc6152ac152d747a20ef15c4e74.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/icons/create_cylinder.svg"
|
||||||
|
dest_files=["res://.godot/imported/create_cylinder.svg-476a4bc6152ac152d747a20ef15c4e74.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=1
|
||||||
|
svg/scale=1.5
|
||||||
|
editor/scale_with_editor_scale=false
|
||||||
|
editor/convert_colors_with_editor_theme=false
|
||||||
50
addons/cyclops_level_builder/art/icons/create_prism.svg
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 4.2333332 4.2333336"
|
||||||
|
version="1.1"
|
||||||
|
id="svg8"
|
||||||
|
xml:space="preserve"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"><defs
|
||||||
|
id="defs2"><filter
|
||||||
|
id="selectable_hidder_filter"
|
||||||
|
width="1"
|
||||||
|
height="1"
|
||||||
|
x="0"
|
||||||
|
y="0"
|
||||||
|
style="color-interpolation-filters:sRGB;"><feComposite
|
||||||
|
id="boolops_hidder_primitive"
|
||||||
|
result="composite1"
|
||||||
|
operator="arithmetic"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
in="BackgroundImage" /></filter><clipPath
|
||||||
|
clipPathUnits="userSpaceOnUse"
|
||||||
|
id="clipPath874"><g
|
||||||
|
id="use876"
|
||||||
|
style="stroke-width:1.5"><rect
|
||||||
|
style="fill:#0e0421;stroke:#488bd4;stroke-width:0.396874;-inkscape-stroke:none;paint-order:stroke fill markers;stop-color:#000000"
|
||||||
|
id="rect1"
|
||||||
|
width="508"
|
||||||
|
height="285.75"
|
||||||
|
x="0"
|
||||||
|
y="11.249975" /></g></clipPath></defs><metadata
|
||||||
|
id="metadata5"><rdf:RDF><cc:Work
|
||||||
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><g
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(0,-11.249975)"><g
|
||||||
|
id="g31"
|
||||||
|
transform="translate(-16.811652,-0.06692131)"><path
|
||||||
|
id="path19"
|
||||||
|
style="color:#000000;fill:#5fff97;fill-opacity:1;stroke-width:1;-inkscape-stroke:none"
|
||||||
|
d="m 20.694344,11.541947 -3.53105,0.726054 v 5.16e-4 l -0.001,1.647962 3.183785,1.4087 z m -0.453675,0.617016 -0.338888,2.274819 -2.23184,-0.868186 V 12.70415 Z" /><path
|
||||||
|
id="path21"
|
||||||
|
style="fill:#5fff97;fill-opacity:1;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 18.520851,12.754701 1.296654,0.415917 -0.03446,0.228507 -1.636982,-0.572245 z" /></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 2.1 KiB |
|
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cbmwkjbju75er"
|
||||||
|
path="res://.godot/imported/create_prism.svg-c58e90aecfc90ad3bbb2700eb92eba47.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/icons/create_prism.svg"
|
||||||
|
dest_files=["res://.godot/imported/create_prism.svg-c58e90aecfc90ad3bbb2700eb92eba47.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=1
|
||||||
|
svg/scale=1.5
|
||||||
|
editor/scale_with_editor_scale=false
|
||||||
|
editor/convert_colors_with_editor_theme=false
|
||||||
59
addons/cyclops_level_builder/art/icons/create_stairs.svg
Normal file
|
|
@ -0,0 +1,59 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 4.2333332 4.2333336"
|
||||||
|
version="1.1"
|
||||||
|
id="svg8"
|
||||||
|
xml:space="preserve"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"><defs
|
||||||
|
id="defs2"><filter
|
||||||
|
id="selectable_hidder_filter"
|
||||||
|
width="1"
|
||||||
|
height="1"
|
||||||
|
x="0"
|
||||||
|
y="0"
|
||||||
|
style="color-interpolation-filters:sRGB;"><feComposite
|
||||||
|
id="boolops_hidder_primitive"
|
||||||
|
result="composite1"
|
||||||
|
operator="arithmetic"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
in="BackgroundImage" /></filter><clipPath
|
||||||
|
clipPathUnits="userSpaceOnUse"
|
||||||
|
id="clipPath874"><g
|
||||||
|
id="use876"
|
||||||
|
style="stroke-width:1.5"><rect
|
||||||
|
style="fill:#0e0421;stroke:#488bd4;stroke-width:0.396874;-inkscape-stroke:none;paint-order:stroke fill markers;stop-color:#000000"
|
||||||
|
id="rect1"
|
||||||
|
width="508"
|
||||||
|
height="285.75"
|
||||||
|
x="0"
|
||||||
|
y="11.249975" /></g></clipPath></defs><metadata
|
||||||
|
id="metadata5"><rdf:RDF><cc:Work
|
||||||
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><g
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(0,-11.249975)"><g
|
||||||
|
id="g12"
|
||||||
|
transform="translate(-21.020531,0.04997549)"><path
|
||||||
|
style="fill:none;stroke:#5fff97;stroke-width:0.529167;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m 21.51624,14.061338 v -0.772729 l 0.723894,-0.388747 v -0.770837 l 0.951807,-0.435672 1.566214,0.71049 v 1.687494 l -1.494732,0.840097 z"
|
||||||
|
id="path8" /><path
|
||||||
|
style="fill:none;stroke:#5fff97;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 21.67486,13.376392 1.568466,0.733763 0.723894,-0.415855 0.0067,-0.767002 0.777512,-0.415574"
|
||||||
|
id="path9" /><path
|
||||||
|
style="fill:none;stroke:#5fff97;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="M 23.263423,14.911318 V 14.127095"
|
||||||
|
id="path10" /><path
|
||||||
|
style="fill:none;stroke:#5fff97;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="M 23.927007,13.694267 22.392062,12.980915"
|
||||||
|
id="path11" /><path
|
||||||
|
style="fill:none;stroke:#5fff97;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="M 23.953815,12.927298 22.392062,12.210096"
|
||||||
|
id="path12" /></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 2.7 KiB |
|
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bwq4w4vf8um1f"
|
||||||
|
path="res://.godot/imported/create_stairs.svg-d5c3678feb9fe435beb3be7ad9e116de.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/cyclops_level_builder/art/icons/create_stairs.svg"
|
||||||
|
dest_files=["res://.godot/imported/create_stairs.svg-d5c3678feb9fe435beb3be7ad9e116de.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=1
|
||||||
|
svg/scale=1.5
|
||||||
|
editor/scale_with_editor_scale=false
|
||||||
|
editor/convert_colors_with_editor_theme=false
|
||||||
59
addons/cyclops_level_builder/art/icons/edit_clip.svg
Normal file
|
|
@ -0,0 +1,59 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 4.2333332 4.2333336"
|
||||||
|
version="1.1"
|
||||||
|
id="svg8"
|
||||||
|
xml:space="preserve"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"><defs
|
||||||
|
id="defs2"><filter
|
||||||
|
id="selectable_hidder_filter"
|
||||||
|
width="1"
|
||||||
|
height="1"
|
||||||
|
x="0"
|
||||||
|
y="0"
|
||||||
|
style="color-interpolation-filters:sRGB;"><feComposite
|
||||||
|
id="boolops_hidder_primitive"
|
||||||
|
result="composite1"
|
||||||
|
operator="arithmetic"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
in="BackgroundImage" /></filter><clipPath
|
||||||
|
clipPathUnits="userSpaceOnUse"
|
||||||
|
id="clipPath874"><g
|
||||||
|
id="use876"
|
||||||
|
style="stroke-width:1.5"><rect
|
||||||
|
style="fill:#0e0421;stroke:#488bd4;stroke-width:0.396874;-inkscape-stroke:none;paint-order:stroke fill markers;stop-color:#000000"
|
||||||
|
id="rect1"
|
||||||
|
width="508"
|
||||||
|
height="285.75"
|
||||||
|
x="0"
|
||||||
|
y="11.249975" /></g></clipPath></defs><metadata
|
||||||
|
id="metadata5"><rdf:RDF><cc:Work
|
||||||
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><g
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(0,-11.249975)"><g
|
||||||
|
id="g32"
|
||||||
|
transform="translate(-29.654216,-0.05007034)"><g
|
||||||
|
style="clip-rule:evenodd;fill:#e0e0e0;fill-opacity:1;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2"
|
||||||
|
id="g13-0"
|
||||||
|
transform="matrix(0.26458334,0,0,0.26458334,29.633335,11.249975)"><path
|
||||||
|
id="path1-8-2"
|
||||||
|
style="fill:#e0e0e0;fill-opacity:1"
|
||||||
|
d="M 8.1324533,1.2853382 1.6944274,4.6096434 V 11.185232 L 5.2558548,13.091213 5.2831985,12.05437 2.5896573,10.615712 2.6033292,5.6492327 5.3437454,7.1191406 5.3515579,6.6093749 5.9511673,6.2988281 3.2185636,4.8328265 8.1401793,2.2681915 10.765361,3.6677869 11.707553,3.1991322 Z" /></g><path
|
||||||
|
style="color:#000000;fill:#ffb730;-inkscape-stroke:none"
|
||||||
|
d="m 32.897743,11.660359 -2.09178,1.065844 3.88e-4,2.517167 0.459272,-0.266162 v -1.883867 l 1.619865,-0.84195 z"
|
||||||
|
id="path16" /><g
|
||||||
|
style="clip-rule:evenodd;fill:#e0e0e0;fill-opacity:1;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2"
|
||||||
|
id="g27"
|
||||||
|
transform="matrix(0.26458334,0,0,0.26458334,29.633335,11.249975)"><path
|
||||||
|
id="path27"
|
||||||
|
style="fill:#e0e0e0;fill-opacity:1"
|
||||||
|
d="M 11.707553,3.1991322 10.765361,3.6677869 12.95872,4.7420056 8.0039016,7.3164062 5.9492142,6.2968749 5.3515579,6.6093749 5.3437479,7.1171874 7.501951,8.1855468 V 13.15084 l -2.2207031,-1.091797 -0.029297,1.016411 2.7480469,1.373047 6.4634162,-3.310633 V 4.5780384 Z m 1.837105,2.3631859 0.02344,4.9652939 -5.0700527,2.623228 V 8.1816405 Z" /></g></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 3 KiB |