Why the heck wouldn't it be? Game design - especially in 3D environments - is an incredibly visual process! Unless you are incredibly familiar with programming to start - why, if you were approaching game design, and - for instance - had level layouts, character and enemy designs, etc - prepared in advance - wouldn't you? It's literally the most logical way to approach filling in those gaps with functionality with a…
Ask HN: Why is visual programming so popular for game programming?
21–30 of 155 posts
Re: Ask HN: Why is visual programming so popular for game programming?
#22If you can use a Domain Specific Language (DSL) for a task, or in this case a Domain Specific Modelling Language (DSML), why wouldn't you use one? It's no different from using SQL for database access. Basically, someone has to do a ton of upfront work designing a domain specific language for a task, in this case game scripting then it's easier for people to do the game scripting using the domain specific language tha…
I hate coding stuff that I know could be better expressed with a visual graph or say, an animation curve. As a software dev on a team I view my job as making tools that the actual game designers and artists can then use to make better games with less effort and while having more fun doing so.
I work with Mecanim in Unity a lot, so it’s not quite Blueprints but it’s similar in that you need to think like a coder still when you’re setting things up.
Re: Ask HN: Why is visual programming so popular for game programming?
#23Re: Ask HN: Why is visual programming so popular for game programming?
#24If you can use a Domain Specific Language (DSL) for a task, or in this case a Domain Specific Modelling Language (DSML), why wouldn't you use one? It's no different from using SQL for database access. Basically, someone has to do a ton of upfront work designing a domain specific language for a task, in this case game scripting then it's easier for people to do the game scripting using the domain specific language tha…
Re: Ask HN: Why is visual programming so popular for game programming?
#25Re: Ask HN: Why is visual programming so popular for game programming?
#26Re: Ask HN: Why is visual programming so popular for game programming?
#27Is it? You make a generalization giving just one example: Unreal Blueprints. As somebody not familiar with game programming but familiar with critical thiking I am unconvinced.
Re: Ask HN: Why is visual programming so popular for game programming?
#28A counter question to programmers in other fields - do you visualise the structure of code in your head almost like a graph, or do you think in code blocks? I feel like more visual thinkers would naturally also be drawn to games. I’m a visual thinker myself, so I can’t imagine not thinking about code as a diagram. But it seems that from the way most tools are designed , this is not the majority view.
Re: Ask HN: Why is visual programming so popular for game programming?
#29I'll admit a node based system is much more preferable for some systems, like UI or animation. But otherwise, I've yet to meet a technical person who prefers Blueprints over simply typing out the logic. There's a reason why there are several articles and videos out there dedicated to trying to organize "blueprint spaghetti" once our project scales up. It gets messy fast
Re: Ask HN: Why is visual programming so popular for game programming?
#30Even for me as a programmer, waiting for a lengthy compile cycle in order to test something like a simple logical change is pretty painful. Game programming is overwhelmingly done in low-level languages like C++/Rust which have awful compilation performance and very limited hot-reloading support.