Comments (8)
@BenjaminAmos Thanks, that was quick! I've just tested it. There's a small typo in the shell script (an X
missing from the jre directory name, I've commented on the relevant line). After fixing that, the game starts for me!
from destinationsol.
That's unfortunately due to being on an M2 (or M1 really) Mac :-( Thank you for including that information, that makes it very clear.
I'm not sure if there's a native lib ready for that OS flavor quite yet, but if there is then we might be able to fix it. @BenjaminAmos may be able to find out at some point 👍
from destinationsol.
We'll need to use at least libGDX 1.11
for macOS ARM support (changelog). We're currently on 1.9.14
. Upgrades in the past have been fairly trouble-free, so it shouldn't be too difficult.
from destinationsol.
I've attempted to fix this with #689.
@hesselink
If you've got time then I'd appreciate if you could test the changes and let me know if they work. You can get a build of the game with the M1/M2 changes here. To start the game, run the solOSX.sh
script.
from destinationsol.
any progress on this?
from destinationsol.
The changes I proposed apparently work, so I'll try and give #689 another test this week and see if I can merge them in. I can't test that it works personally but it should work after that. The project is very slowly maintained on my part at the moment, unfortunately.
from destinationsol.
@BenjaminAmos I've copypasted everything from this into my project and it compiled and started.
But now the buttons are messed up and I can't press them. Can you move me into the right directinon where to dig in?
from destinationsol.
I think you've just resized the game window to be too small. Can you make it a bit larger by dragging the window corners around?
Not being able to press the buttons at all is a bit concerning. Is the display using any sort of DPI scaling? There's some code that checks the display density on Android but I'm not sure if that code is used in the desktop build.
DestinationSol/engine/src/main/java/org/destinationsol/ui/nui/NUIManager.java
Lines 174 to 182 in 0263edf
If all else fails, you can try to manually adjust the window size and scale by editing engine/src/main/resources/settings.ini
. The x
value is width and the y
value is height. nuiUiScale
is the UI scaling factor. I've previously found that 800x600
is the smallest playable resolution.
from destinationsol.
Related Issues (20)
- Opening map causes camera to zoom out HOT 5
- Improve in-game tutorial
- Adapt existing UI screens to use NUI
- Weapons failing to fire. HOT 5
- Sound Volume Button changes the volume of Music
- Wormholes grab trading posts and drag them away from planets HOT 4
- Follow-ups for Gestalt-DI HOT 1
- form bearkilla HOT 2
- Miner knockback ability is too powerful HOT 2
- Release 2.1.0 HOT 1
- Tutorial Waypoint crash HOT 1
- Gradle sync failed: Could not GET 'http://.../cr-destsol-4.0.0.pom' 502 Bad Gateway HOT 12
- No sound at all HOT 7
- Game crashes by fatal error: SIGSEGV (0xb) when the hero is fighting on a planet HOT 2
- Unable to run the Physics Body Editor, due to missing libraries HOT 4
- `W: An illegal reflective access operation has occurred` when creating a module. HOT 2
- java.lang.NullPointerException: ... because "environment" is null HOT 15
- Starting a tutorial overwrites main game save data HOT 1
- Crash at end of tutorial
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from destinationsol.