cyclopsLevelBuilder
cyclopsLevelBuilder copied to clipboard
Issue with getting the plugin to work
When i try installing the addon (following the instructions on here with setting up the autoload and everything) after creating a CyclopsBlocks node and selecting it, the ui at the top doesnt show up at all and the console prints these errors
these two lines appear on installation
res://addons/cyclops_level_builder/snapping/snapping_system_grid.gd:63 - Invalid set index 'tool' (on base: 'PanelContainer (SnappingSystemGridPropertiesEditor)') with value of type 'Resource (SnappingSystemGrid)'.
res://addons/cyclops_level_builder/snapping/snapping_system_grid.gd:63 - Invalid set index 'tool' (on base: 'PanelContainer (SnappingSystemGridPropertiesEditor)') with value of type 'Resource (SnappingSystemGrid)'.
then (and after restarting Godot and trying again) it prints
`Create Node`
and then
res://addons/cyclops_level_builder/tools/cyclops_tool.gd:110 - Invalid get index 'global_transform' (on base: 'Nil').
res://addons/cyclops_level_builder/tools/tool_block.gd:112 - Trying to assign value of type 'Nil' to a variable of type 'Vector3'.
repeating infinitely for as long as i drag the mouse around
You're using the old CyclopsBlocks node. This has been deprecated and will be removed in the future. Instead, you need to create a CyclopsBlock. Or you can click on the Cyclops tab in the bottom window to open a panel that has a button that will set everything up for you. You can also click the Upgrade CyclopsBlocks button in the toolbar.
I ran into this as well since https://github.com/blackears/cyclopsLevelBuilder/blob/master/doc/index.md still tells you creating one of those is the first thing you need to do 😬. I noticed that wasn't the case in one of the videos though and assumed the usage guide was just out of date.
I've updated the intro tutorial to use the new workflow.