Visual Logic Proof of Concept
Filed under: Game Maker
![]()
This is a little proof of concept for a visual approach to programming.
You create a logic chain by placing links between the ‘input’ and ‘output’ points of actions/conditionals/loops/whatever. The rule is that at least one point of a link must be blue, and you can not link two blue points. Basically, make sure you only connect outputs and inputs, not two of the same kind.
The execution starts from the function entry-point, the tag with only a white output.
Currently you can not break links
Currently you can link two outputs to the same input as a legal operation. Do you think this should be kept that way?
Currently there is no checking for infinite loops (such as an output of a function linking straight back to it’s own input)
On an IF, the green output links to what’s executed if the IF returned true, red for false, and white for whatever happens afterwards.
Once you’re done with the diagram, hit Return, and it will compile a script which will be saved to the same path as the program as ‘out.txt’
If it freezes or throws an error, you created an infinite loop or other non-logical thing in the diagram.
It’s limited to random IFs and one function right now, but that can now easily grow.
The editable to this was lost with my hdd in 2006 so this is an exe.
Related posts
Tags: concept, development, interface







October 3rd, 2007 at 9:29 pm
Do you consider it worth your time to hack the exe’s to get your code?
October 4th, 2007 at 7:25 am
The way ‘decompilers’ for later GM versions work is by allowing you to extract scripts only. If the code is in objects, its really hard to recover. But no, I don’t think I went far enough with it to worry too much.
I’ll get back to this one day because its one of the ideas for a major project of mine.
November 1st, 2007 at 2:23 am
Haha, I also stuck on that. Triggering the debug window and extract resources is easy but extracting code from an object is quite impossible. I tried many methods with no luck
.
March 12th, 2009 at 3:37 pm
this is where i think Blender is going with its programming. the system is currently used for there material and rendering nodes which would be something you may want to take a look at. there logic system(Game system) works similar to this aswell… if you haven’t seend blender before you may want to have a look as it could give you some ideas. blender.org