this post was submitted on 13 Dec 2023
62 points (98.4% liked)

Godot

5888 readers
39 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

!roguelikedev@programming.dev

Credits

founded 1 year ago
MODERATORS
 

By supporting Direct3D 12, Godot gains support for multiple new platforms, such as:

  • Windows Store (UWP).
  • Windows on ARM.
  • GDK.
  • XBox —which can't be supported officially by Godot, but for which Direct3D 12 support is essential—.

Depending on the complexity of the scene, effects used, etc., this first version of the renderer performs generally worse than the Vulkan one. In some tests, D3D12 has not been able to deliver more than 75% of the Vulkan frames per second. In some other, D3D12 has been able to outperform Vulkan by a small margin. Performance improvements will be ironed out over time.

Expect it to come in Godot 4.3

top 21 comments
sorted by: hot top controversial new old
[–] notfromhere@lemmy.one 3 points 11 months ago (3 children)

What’s with the xbox comment? Why can’t it be officially supported?

[–] popcar2@programming.dev 12 points 11 months ago (1 children)

I'm not keen on the specifics but part of the reason W4 exists is because the Godot Foundation can't just pass around console SDKs. Only publishers and larger companies can use them and they're usually under NDA.

So your options are going to a publisher like W4 Games (which is an entity by Godot's founders) to handle that for you, or you can try porting it yourself and going through all the legal shenanigans.

[–] notfromhere@lemmy.one 1 points 11 months ago (3 children)

What about homebrew games? I thought xbox had something like that.

[–] popcar2@programming.dev 8 points 11 months ago

You can turn on "dev mode" in your xbox console to be able to mess around with it and run homebrew, but that still doesn't mean you're allowed to publish your game to Xbox I don't think.

[–] merthyr1831@lemmy.world 3 points 11 months ago

Xbox dev mode lets you run UWP apps but you don't get the Xbox SDK or the lower-level APIs, nor can you publish it without getting access to the SDKs first.

[–] MJBrune@beehaw.org 3 points 11 months ago

You can't get access to the SDK without a license. A license takes moments to get but makes it so you can't just pass it around. Unreal is the same way but they have plugins to add the SDK support for unreal

[–] fartsparkles@sh.itjust.works 9 points 11 months ago

I think it’s because you can’t build for Xbox without Microsoft signing the binary. This is one of the reasons the Godot team founded W4 Games.

[–] laxe@lemmy.world 2 points 11 months ago (1 children)

They claim that they cannot support any consoles for legal reasons: https://godotengine.org/article/godot-consoles-all-you-need-know/

it is impossible for Godot to include first-party console support out of the box. Even if someone would contribute it, we simply could not host this code legally in our Git repository for anyone to use.

Maybe that’s true, I’m not a lawyer. But Godot’s founders own one of the companies that provide console support: https://lonewolftechnology.com/

It could be a conflict of interest or an honest way to provide console support in Godot while also being compensated for their work on Godot. After all, food on the table is not open source.

The full list of Godot companies providing console support is here: https://docs.godotengine.org/en/stable/tutorials/platform/consoles.html

[–] guildz@lemmy.blahaj.zone 8 points 11 months ago* (last edited 11 months ago)

Everything is locked down and filled with NDAs when it comes to console development. To access the xbox game development documentation - you need to sign an NDA (https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/getstarted/gc-getstarted-toc). To access the SDK (https://www.microsoft.com/en-us/software-download/gdk) you need to be a "Registered Dev Center Partner" which requires a publisher, fee payment, and agreement (https://learn.microsoft.com/en-us/windows/apps/publish/partner-center/open-a-developer-account). BUT even more specifically section 3 of the public GDK license agreement (https://github.com/microsoft/GDK/blob/Main/LICENSE-EN-US.MD) gives an idea of what you are allowed to do with that SDK code once given access and you can only use the code for "internal" use and only make one copy for backup use. This isnt even getting into how using the GDK makes your app subject to the usage agreement (https://support.microsoft.com/en-us/windows/usage-rules-for-digital-goods-rules-83812b1f-1ecd-9a46-d3a7-ad1eadce49d1).

[–] lordxakio@lemmy.world 0 points 11 months ago

I wonder what 19 lines they removed. Could be breaking change!

[–] tabular@lemmy.world 0 points 11 months ago (1 children)

Since when was directx open source?

[–] koles@mastodon.social 9 points 11 months ago (1 children)

@tabular @popcar2 who says it is? It's just a wrapper for this api. You could say that all API's are open source :)
Do you dislike godot as an OOS supporting closed source like windows/directx?

[–] tabular@lemmy.world -5 points 11 months ago (2 children)

I want to encourage people to value software freedom. I am unsure of the effect of supporting proprietary platforms has on that. This feels uncomfortable.

[–] koles@mastodon.social 4 points 11 months ago (1 children)

@tabular still, it's just an api. Freedom is also ability to use windows if you want. Besides, what if someone wants to use ReactOS?

[–] tabular@lemmy.world -4 points 11 months ago

You should be free to choose something which isn't in your own best interests.

I feel bad even giving a Windows build as I am responsible for enabling that self injury, but hope their use of free software will help them switch in the end.

[–] Daxtron2@startrek.website 4 points 11 months ago (1 children)
[–] tabular@lemmy.world -2 points 11 months ago (2 children)

This comment every time 😐

[–] popcar2@programming.dev 2 points 11 months ago (1 children)

What else do you want to happen? DX is essential for porting to xbox and some versions of Windows. It's not about open source, devs need this. By your logic should everyone just make a Linux build and nothing else because they're proprietary and evil?

[–] tabular@lemmy.world -2 points 11 months ago* (last edited 11 months ago)

One dev succeeding without those won't prove all other devs can but I hope if I do succeed that will convince some devs maybe they don't "need" proprietary solutions.

I am uncertain if building just for Linux would be better or worse became there is some merit to uninformed users having free software on their proprietary devices.

[–] version_unsorted@lemmy.ml 1 points 11 months ago (1 children)

Maybe it helps to think of it as a transitional state?

[–] tabular@lemmy.world -1 points 11 months ago* (last edited 11 months ago)

Perhaps this may help people learn of Godot, and maybe see that they could be playing some game made by Godot on open platforms. Vulkan does a good job though so I think it would be better if devs stopped depending on directX/box.