News for hackers. Stuff that matters.
Re:Godot 4.0 will discontinue visual scripting by phire on Tuesday August 23, 2022 @09:45PM (#32574062)
Reading between the lines:

It seems like one of the primary reasons why Blueprints are well-loved in Unreal Engine, is that the only mainstream alternative is full-on c++ (and it's not an easy c++ codebase to work with).

But without that pressure of limited choice, blueprint visual scripting seems to have a hard time gaining ground in godot.

I do wonder how much of this is because godot's visual scripting never got the polish it needed, and how much is because gdscript is a superior approach.

Re:Godot 4.0 will discontinue visual scripting by gmjosack on Tuesday August 23, 2022 @10:34PM (#32574338)
While looking into new engines recently I bailed on Unreal because all the docs and tutorials push towards Blueprint. I'd happily use C++ over Blueprint but everything is pushing Blueprint hard to the point I just moved on. Been looking at Godot lately and I really like it and if I need something more than GDScript provides there are bindings to GDNative. I think for some people Visual scripting is probably nice but for me it's an inscrutable mess of flow charts that's way more difficult to use, debug, build understanding of quickly, etc.
Re:Godot 4.0 will discontinue visual scripting by snarfy on Wednesday August 24, 2022 @12:05AM (#32574858)
Epic is working on verse script now. Even they realized visual scripting is not the best way to do development. It's very limiting. I was much happier with UE when it had unrealscript. I still do game development on the old engines, but I don't like doing anything with the new engines that force you into c++ or blueprints. Code is simply more expressive than flow charts.
Re:Godot 4.0 will discontinue visual scripting by bodge5000 on Wednesday August 24, 2022 @04:02AM (#32576170)
If Unreal got proper scripting language support, I'd seriously consider giving it another go. I'd rather they go the Unity approach than the Godot approach and use a real-world language (C# is used outside Unity of course, GDScript is only used in Godot, though it does have bindings), but I'll take what I can get, clearly as I use Godot rather than Unity.

As it stands, picking up blueprints feels like I have to learn a whole new system which will go to waste if I decide not to stick with Unreal, and C++ seems like it'd be a pain to work with.

Edit: Forgot Godot had C# support. It still doesn't feel as "first-class" as GDScript, but its certainly more closely integrated than bindings, so maybe something to consider. Also, whilst I generally prefer a single language being tied to a single tool (trying to learn Raylib taught me this, where every example you find is in a different language), its nice knowing I can use C# without being locked into Microsoft

Re:Godot 4.0 will discontinue visual scripting by seanstrom on Wednesday August 24, 2022 @06:13AM (#32577330)
I wonder if building a custom language is a simpler way to optimize stuff later on?

For example, Unity uses C# but then you need either all of Mono at runtime or something like IL2CPP to compile to C++. And then eventually that compiler is constantly needing to keep up with language releases and new features. Or in .Net’s case new languages like F#.

Re:Godot 4.0 will discontinue visual scripting by bodge5000 on Wednesday August 24, 2022 @10:45AM (#32580142)
I'm sure it is, no doubt its easier to pick an existing language than build a whole new one.

For me however, the benefits of an existing language outweigh the costs. If Godot were to use Python for example, you'd gain the full benefit of pip alongside it. If you use C# with Godot, I know you can use Nuget. I'd also personally rather a more performant language than one thats easier to write, but thats personal preference.

Re:Godot 4.0 will discontinue visual scripting by teworks on Wednesday August 24, 2022 @07:43AM (#32578053)
There are scripting languages integrations for Unreal done in form of plugins. For example: https://angelscript.hazelight.se/
Re:Godot 4.0 will discontinue visual scripting by bodge5000 on Wednesday August 24, 2022 @10:48AM (#32580166)
I guess the problem with plugins is that you can only ever get a small subset of the community. For example, if I wanted to figure out how to create a new object instance in Unreal, I'd have to look pretty hard for Angelscript specific examples. Whereas if its native, presumably it'd reach a lot more people and the community would be larger for it (not always the case, but a fairly safe assumption)
Re:Godot 4.0 will discontinue visual scripting by gridspy on Wednesday August 24, 2022 @12:27AM (#32574980)
I really liked unrealscript.

Part of my love was how both object State and networking were first class features of the language.

You could override a function based on "is the current object in the idle or shooting" state TRIVIALLY.

Re:Godot 4.0 will discontinue visual scripting by Beltalowda on Wednesday August 24, 2022 @02:02AM (#32575443)
I found its use of inheritance very confusing; could be quite hard to figure out what something does exactly because it could be in one of the 6 parent classes. The experience turned me off from OOP for many years (later nuanced to just inheritance rather than all of OOP).

I was also very much a beginner back in the late 90s/early 00s (my only previous experience was BASIC), so I'd probably struggle less now, but from what I recall it definitely overdid it on the inheritance (which, to be fair, was still fairly new back then).

Re:Godot 4.0 will discontinue visual scripting by badsectoracula on Wednesday August 24, 2022 @04:31AM (#32576459)
That is just Unreal Engine in general, UnrealScript just exposed the C++ classes. But UE's C++ classes have very deep hierarchies even in UE5 and many classes have tons of methods.

In general UE often feels like its programmers took all the best practices and then ignored every single one of them - which, considering how popular the engine is and for how long it had been around (the codebase started in the early/mid-90s), is a good indicator how much that stuff actually matter in practice.

Re:Godot 4.0 will discontinue visual scripting by jay_kyburz on Wednesday August 24, 2022 @01:51AM (#32575384)
Where did you read about verse? Last I heard about it was Carlos talking about it in a video a few years ago. I haven't heard anything since.
Re:Godot 4.0 will discontinue visual scripting by MattRix on Wednesday August 24, 2022 @01:57AM (#32575419)
They seem to be designing it to launch with their special Fortnite version of the Unreal Editor which is supposed to launch sometime this year.
Re:Godot 4.0 will discontinue visual scripting by general_pizza on Wednesday August 24, 2022 @02:37AM (#32575630)
It’s not text but there’s a podcast with Simon Peyton Jones (Haskell person) talking about his new job at Epic working on verse. Starts around 50s in:

https://podcasts.apple.com/us/podcast/the-haskell-interlude/...

Re:Godot 4.0 will discontinue visual scripting by hgs3 on Tuesday August 23, 2022 @11:22PM (#32574630)
I still find it perplexing that Unreal ditched Unreal Script in favor of Blueprints and full C++.
Re:Godot 4.0 will discontinue visual scripting by subb on Tuesday August 23, 2022 @11:36PM (#32574720)
Engineers wants C++, scripters and artists wants Visual Scripting. Seems like an obvious choice to make everyone happy instead of trying to find a middle ground where nobody is?
Re:Godot 4.0 will discontinue visual scripting by adnzzzzZ on Tuesday August 23, 2022 @11:47PM (#32574764)
I think Godot shows there's a clear subset of people (generally indie developers) who are fine with the middle ground of a proper scripting language instead of either extreme. It's why languages like Lua are still fairly popular when the option to use it exists.
Re:Godot 4.0 will discontinue visual scripting by Arelius on Wednesday August 24, 2022 @07:26AM (#32577901)
The problem is that at least until very recently, That subset of people have not been Epic's target market. UE had been targeting larger studios, and in that space, UnrealScript was largely a hindurance.
Re:Godot 4.0 will discontinue visual scripting by prox on Wednesday August 24, 2022 @03:08AM (#32575839)
This is it for me. GDscript allows for quick prototyping and structural changes without fuss. If I really need it I could outsource some GDExtension (formerly GDNative) development.
Re:Godot 4.0 will discontinue visual scripting by snarfy on Wednesday August 24, 2022 @12:07AM (#32574868)
The error is believing engineers can't draw and artists can't code. Skill is not a zero sum game.
Re:Godot 4.0 will discontinue visual scripting by jcelerier on Wednesday August 24, 2022 @02:57AM (#32575768)
I'm working with media artists and the very best way to make them flee is to tell them that they have to use the keyboard. Yes, there's the occasional geek but the overwhelming majority really doesn't like it - I'm not even talking about coding (I saw people get up and leave when showing code stuff in art contexts), just for instance having to use some keyboard shortcuts to do something is already too much in many cases, things have to be doable through mouse interaction exclusively.
Re:Godot 4.0 will discontinue visual scripting by greggman3 on Wednesday August 24, 2022 @03:39AM (#32576029)
every AAA game artist I've ever worked with uses extensive keyboard shortcuts in Photoshop, Maya, 3DSMax, Blender, Zbrush, etc... Tons.
Re:Godot 4.0 will discontinue visual scripting by jcelerier on Wednesday August 24, 2022 @04:00AM (#32576159)
> AAA game artist

those are salaried people who have to do a job and get paid for it each month, the artists I work with are independent artists who do stuff like art installations, etc. on their name. It's really really not the same mindset.

Re:Godot 4.0 will discontinue visual scripting by badpun on Wednesday August 24, 2022 @05:07AM (#32576751)
In the context of game engines, the former are much more relevant than the latter.
Re:Godot 4.0 will discontinue visual scripting by TillE on Wednesday August 24, 2022 @12:47AM (#32575113)
I've been a C++ developer for 20 years, and when I was playing around with UE4 back when it was first released, I found both options to be extremely clunky.

There's a lot to be said for C#, at the very least. I know a ton of not-very-technical people who have learned enough C# to write simple Unity games.

Re:Godot 4.0 will discontinue visual scripting by adastra22 on Tuesday August 23, 2022 @11:00PM (#32574489)
I wonder how much it is because Godot a type of developer who is probably more at home in code.