How do I…
I was wondering if you can make coding blocks in gdevelop. Just basic If/Then blocks like scratch. Have anyone tried that or have some ideas that they wont to share.
Please answer if you think you know.
I was wondering if you can make coding blocks in gdevelop. Just basic If/Then blocks like scratch. Have anyone tried that or have some ideas that they wont to share.
Please answer if you think you know.
basically gdevelop is only that
I meant making blocks that the player can code with.
If you mean using Blockly style visual scripting (what Scratch uses) instead of events, this isn’t possible as the IDE is not extendable.
If you mean building out something that lets users playing your game see blockly style visual scripting options that they can put together, maybe. However that will require you to set up events for every possible event that exists, link them all to variables, and figure out a way to deal with advanced logic like loops/for each/etc.
If you’re talking about creating a project where the user can create blocks like if… then.
Custom objects (prefabs) would make this so much easier. Once you create one prefab, you can use it either as a template or you could make it dynamic and change the style as needed. You could give the prefab objects inputs and output properties and conditions. One output could be feed to another input.
This doesn’t use custom object but I think it shares some concepts.