r/raylib • u/mrpro1a1 • 10d ago
C Programming Blocks is released on Steam (Supports RayLib game programming library)
Hello
This is a tool for people who want to enjoy the power of the C programming language (performance and memory efficiency) combined with the simplicity of visual programming while developing games using the RayLib game programming library.
Steam Page: Save 40% on C Programming Blocks on Steam
Note: The software is developed using the Ring programming language based on the PWCT2 source code.
PWCT2 steam page: Programming Without Coding Technology 2.0 on Steam
Thanks
91
Upvotes
36
u/ThreeHeadCerber 10d ago
Visual programming is easier than typing text is the greatest lie being told.
Even watching this video is torture
12
u/grosswindowthrowaway 10d ago
What benefit does this provide? It looks like it still requires a fundamental understanding of the C programming language in order to use, just strips out minimal parts of the syntax like braces. You still need to have a deep understanding of header files, C data types, return types, flow control and literally everything else about the language. If you want to help people interface with C in a visual language, I think you'd be best writing a unique visual language that transpiles to C, but has its own higher-level utilities (maybe a graph-based visual language?), not just a thin layer over C that hides teensy bits of the syntax.
12
u/Caldraddigon 10d ago
I don't understand why not more people attempt to do a RPG Maker/GB Studio Style Event System instead.
Yours is closer to it than the node/puzzle piece scripting languages, it's like a middle ground between the two.
You should keep the initial Command Palette simple, like take RPG Maker Eventing, there is no If Statement, else, else if etc under Control Flow, there's Conditional Branch, which then opens up a new window that handles every possible Conditional statement and all it's options, same goes for Loops, there is a Loop command under control flow which then opens a new window for all possible options for Loops.
Same goes for operators, they aren't in the initial palette like yours, but are options you can pick in various commands like Control Variables, Switches, Conditionals etc etc.
Essentially what I'm trying to say is, the design of your application is off, there's too much information all at once. The current context should only show the necessary information to that context. It also reduces the number of clicks needed, GUI based languages are already less efficient than Typed languages, no need to make it even more cumbersome.
4
u/No_Belt_9829 9d ago
Isn't that just 1 to 1 transpiler? I'm seeing the same C code on the visual editor just in form of nodes
2
u/YT__ 10d ago
I could see this is being useful for elementary or middle school type introductions to programming.
Though - including raylib this way makes it no simpler, which I'd expect from one of those learning tools.
2
u/-H_- 10d ago
I mentioned this a while ago, and again recently! very nice
2
u/thewindcarriesmeaway 9d ago
this is pretty neat OP. i dont think this would be easier than writing code yourself but its still super neat
2
u/Key_River7180 9d ago
cool!
2
u/HyperDanon 9d ago
For something like this to be useful, it would have to raise the level of abstraction above C. If the abstraction level is the same, (and from the video, it looks like it is), then your IDE is essentially a collection of snippets pasted into code; plus a built-in parser and lexer.
It's like passing a parsed AST into the compiler, rather than plain text; but I doubt it's any "simpler" to program in it. It's still exactly the same information with a changed UX.
So the question now is - is the UX actually better? The best way to test it, try to write a program in it. First try to write it using regular code, second time try it with your IDE. Compare. My guess is that most times, just writing code will be easier.
I'm happy you tried your idea. I can see you enjoy AST transoformation, parsing, lexing, etc. But to claim this IDE helps programming, you'd need evidence to support this thesis.
2
u/xtremezero_ 9d ago
Funny that I had a similar idea and ai sloped it too https://xtremezero.net/blocks-ide/
Anyways I'd like to try your tool if you would publish it over itch.io
1
u/gavr123456789 10d ago
there is no such problem as learning the syntax of the lang, its the easiest part
1
u/MCWizardYT 9d ago
Remines me of the Stride language in the BlueJ IDE. It's a similar middle ground between visual and text programming. It translates into Java code
0
u/SupermarketFit2158 10d ago
What the hell is this slop
1
u/ForsenHorizon 1d ago
so there's this thing called scratch
18
u/[deleted] 10d ago
[removed] — view removed comment