If you can abstract that technical knowledge away from making the art, it can lower your costs. Plus, it becomes easier to hire programmers as they don't necessarily need skills in the visual arts or design.
Ask HN: Why is visual programming so popular for game programming?
11–20 of 155 posts
Re: Ask HN: Why is visual programming so popular for game programming?
#12* makes the engine api very discoverable, which is huge. It’s a step above intellisense and auto complete. The api is likely the reason it’s so dominate in games. It’s the bulk of game programming. Visual programming isn’t very good for coding new things from scratch.
* let’s you read code and clearly follow execution from start to finish.
* let’s you visually document concepts with collapsed nodes, and colored containers and what not. Good blueprints are literally written as long form pseudo code, with double clicks to see actual implementation.
* concepts like const functions are just conceptually clearer. Const functions have no execution pin. They (should) have no side effects. Just a calculation. The engine doesn’t enforce this I don’t think but it’s close…
What it explicitly does not do is allow you to code games without knowing how to code. Countless beginners just die on the first steps. You still need to understand object oriented design and basic coding concepts to do well.
Re: Ask HN: Why is visual programming so popular for game programming?
#13Re: Ask HN: Why is visual programming so popular for game programming?
#14I’m a huge fan of blueprints. A few things it does well: * makes the engine api very discoverable, which is huge. It’s a step above intellisense and auto complete. The api is likely the reason it’s so dominate in games. It’s the bulk of game programming. Visual programming isn’t very good for coding new things from scratch. * let’s you read code and clearly follow execution from start to finish. * let’s you visually…
Re: Ask HN: Why is visual programming so popular for game programming?
#15If 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…
Mental overhead
Re: Ask HN: Why is visual programming so popular for game programming?
#16Re: Ask HN: Why is visual programming so popular for game programming?
#17Re: Ask HN: Why is visual programming so popular for game programming?
#18From a programming perspective, this often leads to poor data access patterns and poor performance (walking over a scene graph and running arbitrary code for each object is not cache friendly at all).
Re: Ask HN: Why is visual programming so popular for game programming?
#19I remember hearing that studies have shown that the biggest impediment to absolute beginner programmers is the strictness of language syntax. Visual programming makes syntax errors impossible, and that's a huge benefit to those who don't have programming experience. (This was the whole motivation underlying Scratch's visual programming language, by the way.)
If kids can do Redstone, and business people can do Excel, there's probably a lot more possibilities for average citizen programming.
Re: Ask HN: Why is visual programming so popular for game programming?
#20Removing the engineer from the content loops lets a lot of work happen really quickly.