Let's discuss: Conduits - The Game Logic System

Hello everyone! This is the place where we can discuss about the future Conduit system: the system that will allow logic inside games. Conduits will give users the ability to build dynamic systems and interactive objects inside their projects, such as buttons, doors, counters and even GUIs!

Feel free to talk about how it should work here.

I really dig the idea of being able to define the signal input and output terminals kind of like you do with Arduino pins, would open up a lot of opportunities I think?

It could do the same in Kogama with logic blocks where you only need to connect one end to the other or you can have a logic block that when you click on it a code system similar to scratch will appear

1 Like

I think we should deviate as far as we can from Kogama’s system. Conduits should allow us to build logic and game components in whatever way we want, not be a top-level system that limits us.

I know this is an old post, but here is my opinion:
Something I really like about the logic systems of other platforms is that you’re able to modify any part of the code, including the core ones. For example, in Roblox, you can change the camera behavior, the chat system, the script of a tool, and more. This also means that coding offers much more freedom than connecting dots in pre-made functions (which makes visual coding way less flexible than coding itself).

I agree. We have other plans for a “spatial block-scripting“ tool which is related to game interactions, but not game logic. Sorta like a cutscene creator, albeit not animated.

This is probably the path we’ll follow to give creators a flexible environment for building custom games, while also providing entry-level creators and people who just want to have fun with a good editor. Nice idea

geting all the goods from programing plataforms that i worked on, the besst solution i can give is:

Method Block

Get the Logic Cubes from Kogama, treat them as Scripts from Roblox and make those scripts be treated in Code block format like Scratch

(AKA: Minecraft Command Block++ )

The Method Block is a single method that the input and output can be all entity’s ( Models, Conduits, Players) except map blocks

when selected, it will cast, or be casted, a ray in the direction of the blocks that it affects with visual identity based if the code is, or are being, “read, write, execute” (rwx)

when you connect a entity in the block, it will create a section where it will show what you can manipulate in it

in this way, for me at least, all the codes will show the entity’s it affect without looking inside of it, with scripts that can make complex actions, being able to transform into generic methods that can be compacted into commands

example:

bruh

já é 8 da manhã eu tó ficando maluco

Yeahhh!
This
is what I was talking about. I need modularity, where I can use a portion of code as just a part of another larger system. That alone could remove the tediousness of making hundreds of logic blocks just to achieve something, because you could just copy, merge, paste, and iterate with these Method Blocks.

(Even if the base capabilities would be simple, repetition can make almost anything. It’s how software is constructed, from simple memory commands repeated THOUSANDS of times to achieve amazing things you’d never imagine could be created.)

We could take a few pages from the niche platform Fancade. It allows you to program in a way that looks like computer chips.

  • The blocks have inputs and outputs with different colors for different operations.
  • The wires re-organize themselves automatically, streamlining everything and reducing mental clutter.
  • Everything is modular, so you can stick blocks inside another custom block and use that as a “chip” or “block” as well.

How about we make an entire scripting language thats for blokoto.

i have made a basic language before, that contained:

basic flow control (if, else-if, else)

loops (while, for)
var declaration obv

it had types as: Numbers, Strings, Booleans, Nil, Functions and Arrays

well i was lazy to code the OOP part but yk

i mean lets make conduit a language thats written like python , easy to read and to maintain that will enchance the way the game maker is going to interact with the world elements and players on a certain logic