0
$\begingroup$

When I make something in logic bricks, I try to have everything always neat. I always end up with a lot of bricks that lead to a brick way upwards and/or way downwards. When I make edits, I would usually erase everything and start again. I would like to organize this in any way. Is there a way you can put a little divider to just store a certain function? This way, when I start a new function, everything would be leveled. Is there a plugin for this if this does not exist? I know you can do this in programming in just about every language. Any help is appreciated, thanks!

EDIT: I have been given a question that, in some ways, can be seen as a duplicate. I am not looking to have my logic bricks behind the scene, by unselecting the link button. I am looking to have layers of logic organized by what can be a divider; this feature is most likely not in the engine, so I am probably looking at an addon.

$\endgroup$
  • $\begingroup$ possible duplicate of How do I hide irelevant game logic? $\endgroup$ – X-27 the fluffy unicorn Mar 16 '15 at 23:46
  • $\begingroup$ @X-27 His question seems quite different. I am looking for some sort of a divider, not what he wanted and found. $\endgroup$ – blackhole Mar 17 '15 at 0:08
  • 2
    $\begingroup$ Then no, as of now there is no possible way to do this. However It should be closed as a feature request, Not a duplicate. $\endgroup$ – X-27 the fluffy unicorn Mar 17 '15 at 0:45
  • 2
    $\begingroup$ I'm voting to close this question as off-topic because it is a feature request. $\endgroup$ – VRM Mar 17 '15 at 1:49
  • $\begingroup$ I'm voting to close as a duplicate. @BlenderDev did you read the answers given? they could help you. $\endgroup$ – Scalia Mar 18 '15 at 23:30
4
$\begingroup$

Organizing with states

You can use the states of the build-in state machine to group your bricks.

This allows to quickly show/hide/switch logical groups. You can do that by selecting/deselecting states in the visible-state-bar.

Requirements

Make sure all states with logic are enabled in the initial-state-bar.

Example

This way you can group this logic: enter image description here

into movement logic: enter image description here

using logic by keyboard

enter image description here

and using logic by mouse

enter image description here

Hints

  • You do not need to use the state machine operations (state switching).
  • You can select multiple states at the same time by holding when selecting/deselecting a state.
  • If you need more than the 30 available states I think it is time to review your design. Most-likely this object simply does too much. It would be better to spread the logic over multiple objects.
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.