-
Notifications
You must be signed in to change notification settings - Fork 4
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
macOS support #2
Comments
The project isn't set up correctly to use jar files. I've always just been running it with |
log2.txt looks like you're running either tetris or dr.mario . You can see towards the end there's stray I'm trying to track down a OS X machine to do more testing and see what comes of it. |
So I went and made an OS X virtual machine and was able to reproduce the issue. Initial research suggests I might not be using a proper cross-platform way of painting the GUI components. It appears to be a GUI issue, but more troubleshooting is needed. This is probably the problematic spot: |
Nice! I also suspected it might be something to do with swing/awt, but never got the chance to debug it. How is the macOS VM? I've tried once before, but it was super slow. |
Surprisingly usable tbh. I only gave it like 4GB ram and 3 vCPUs and the only real slowness was in launching stuff like chrome, but once chrome, terminal, or whatever is up and running it runs at full speed. Some animations have frame drops but no showstoppers. I don't have much time lately to look into redoing the swing/awt stuff but I'll get to it eventually >.> |
When starting any game, nothing gets written to the Java GUI.
I've turned all loggers to DEBUG and run the command:
$ java -cp target/java-gb-1.0-SNAPSHOT.jar Main > log.txt
This generated a 90MB file available to download via Google Drive.
The other file, log2.txt, is with CPU's logger turned to INFO.
I've tried with and without OpenGL with no luck.
I will compare linux vs mac and see where values are different. I'm not sure if it's a GUI or code problem yet.
The text was updated successfully, but these errors were encountered: