blackears / cyclopsLevelBuilder

A Godot plugin to let you block in levels inside the Godot editor.
MIT License
920 stars 36 forks source link

Issue with getting the plugin to work #160

Open roxxsbr opened 2 months ago

roxxsbr commented 2 months ago

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

image

blackears commented 2 months ago

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.

aranasaurus commented 2 months ago

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.

blackears commented 2 months ago

I've updated the intro tutorial to use the new workflow.