Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows example #651

Open
caioraphael1 opened this issue Jan 22, 2025 · 3 comments
Open

Windows example #651

caioraphael1 opened this issue Jan 22, 2025 · 3 comments

Comments

@caioraphael1
Copy link

I would love to have a fully functional project on Windows to use as an example of how to make this integration work.

I've been facing a LOT of issues trying to use Swift with Godot on Windows for the past WEEKS, and at this point, I'm considering giving up and hoping for a solution.

I don't have a specific bug to report, a lot of things go wrong, so I'm just struggling overall...

Apologies if I come across as demanding, I just wish this process were simpler.

Thanks!

@silverhammermba
Copy link

You can try https://github.com/silverhammermba/SwiftGodotTemplate which has Windows instructions and simpler setup.

It's still not painless due to general issues with compiling Swift code on Windows, but those are not Godot- or SwiftGodot-specific issues. You will likely face excruciating build times and BS errors even if you manage to get it working.

@lorenalexm
Copy link
Contributor

I have created a port of Kenney's 3D Platformer with SwiftGodot. In the repository I have an action which builds the project for Windows and saves the DLLs as an artifact. I've used the results of this action to build and run on Windows and the SteamDeck.

One caveat that @silverhammermba called out, the build times.. They are painful. It doesn't make much of a difference using a GitHub provided runner or a self-hosted one.

Check it out, it might give you a jumping off point!

https://github.com/lorenalexm/Starter-Kit-3D-Platformer-Swift

@migueldeicaza
Copy link
Owner

Wow, that is incredible, thank you so much Alex!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants