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

Question - Is this binding in a usable state #6

Closed
unklnik opened this issue Mar 2, 2025 · 9 comments
Closed

Question - Is this binding in a usable state #6

unklnik opened this issue Mar 2, 2025 · 9 comments

Comments

@unklnik
Copy link

unklnik commented Mar 2, 2025

Just wondering if this binding is usable for everyday yet or still needs a work? Considering SDL3 is new I assume probably not, though just wanted to check. BTW great work, will definitely use in future.

@Zyko0
Copy link
Owner

Zyko0 commented Mar 2, 2025

Thanks!

I'd say it's not usable yet!
All examples work on windows, ubuntu (should on macOS too but couldn't test yet) and webassembly (browser), but I need to expose and validate more functions.

The next steps are:

  • Expose/Wrap more functions (remove the panic statement)
  • Have binaries for more platforms/architectures, I think I need help with the github workflows: Embedded static binaries #1 => still usable by loading the library manually
  • ^ Have binaries for ttf, image, mixer too

I'm working on a "coverage" command line tool, in order to track what functions are missing and/or implemented and ready-to-use for each platform.

It's also difficult to know what's required for everyday use and to figure what to expose first (see JupiterRider/purego-sdl3#4 having the same issue).

Feel free to ask for some functions that you'd like to see in priority if you have some in mind!

@unklnik
Copy link
Author

unklnik commented Mar 2, 2025

OK thanks for the reply, nothing is a priority for me, I just mess around making games with Go, currently using SDL2. I wish I could help with the bindings though I looked at the code and it is too complicated for me, I am not good enough to be able to help. OK, I will keep checking on progress, thanks a lot

@unklnik unklnik closed this as completed Mar 2, 2025
@Zyko0
Copy link
Owner

Zyko0 commented Mar 4, 2025

Hey, just wanted to say that I added this file https://github.com/Zyko0/go-sdl3/blob/main/COVERAGE.md#api-coverage
It's generated also, so whenever I make changes, I'll update this file.
The emojis are clickable and point to the function that might need a refactor/remove a panic statement. (javascript is another thing
to test though)

@unklnik
Copy link
Author

unklnik commented Mar 4, 2025

Had a look, lot done though still a lot to do though useful list to have. I am currently making a game with SDL2 and Go, once that is done, say in 2-3 months then I will make another game (it is my hobby making very average games with Go) and I will try and use these bindings so then I can give you some feedback on problems etc. Wish I could help more though I am actually a web designer (low level stuff) and taught myself Go so my coding knowledge is not great.

@Zyko0
Copy link
Owner

Zyko0 commented Mar 4, 2025

Cool! Good luck on your games!
Don't worry about the help haha, I'll keep figuring stuff!

@unklnik
Copy link
Author

unklnik commented Mar 6, 2025

Just to let you know I ditched the SDL2 game I was messing around with and started using these bindings last night so I will let you know how it goes and if I run into any issues

@Zyko0
Copy link
Owner

Zyko0 commented Mar 6, 2025

Thanks for letting me know!
If you can't find a function, you can try to CTLR+F it in the documentation https://pkg.go.dev/github.com/Zyko0/go-sdl3, because I did a massive rename of methods function.
If you still can't find it, it's possible that I haven't implemented it (or if it panics and says so), so feel free to tell me (in other issues for better tracking preferably) so that I can fix/implement!

@unklnik
Copy link
Author

unklnik commented Mar 6, 2025

OK I will definitely post issues as I find them, only just started last night so didn't have much of a chance to see what is going on. I am planning to try and make a game with this binding so I am sure I will stumble across something. If you need anything tested or anything then just let me know. What timezone are you in (what country)? I am in Cape Town, South Africa (UTC/GMT+2) so if I don't reply immediately it might be the time zone

@Zyko0
Copy link
Owner

Zyko0 commented Mar 6, 2025

No worries about the response time!
I'm in France (UTC+1)

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

2 participants