More actions
(Created page with "{{Infobox Switch Homebrews |title=SwitchGDX |image=switchgdxswitch.png |description=A LibGDX Switch Backend. |author=TheLogicMaster |lastupdated=2022/08/28 |type=Developments |version=0.2 |license=GPL-2.0 |download=https://dlhb.gamebrew.org/switchhomebrews/switchgdxswitch.7z |website=https://gbatemp.net/threads/switchgdx-a-libgdx-switch-backend.611772/ |source=https://github.com/TheLogicMaster/switch-gdx |donation= }} {{#seo: |title=Switch Homebrew PC Tools (Developments...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Infobox Switch Homebrews | {{Infobox Switch Homebrews | ||
|title=SwitchGDX | |title=SwitchGDX | ||
|image= | |image=switchgdxnx.png | ||
|description=A LibGDX Switch Backend. | |description=A LibGDX Switch Backend. | ||
|author=TheLogicMaster | |author=TheLogicMaster | ||
Line 8: | Line 8: | ||
|version=0.2 | |version=0.2 | ||
|license=GPL-2.0 | |license=GPL-2.0 | ||
|download=https://dlhb.gamebrew.org/switchhomebrews/ | |download=https://dlhb.gamebrew.org/switchhomebrews/switchgdxnx.7z | ||
|website=https://gbatemp.net/threads/switchgdx-a-libgdx-switch-backend.611772/ | |website=https://gbatemp.net/threads/switchgdx-a-libgdx-switch-backend.611772/ | ||
|source=https://github.com/TheLogicMaster/switch-gdx | |source=https://github.com/TheLogicMaster/switch-gdx | ||
|donation= | |donation= | ||
}} | }} | ||
This is a Nintendo Switch Homebrew and Xbox UWP backend for the [https://libgdx.com/ LibGDX] game framework. It uses the [https://github.com/TheLogicMaster/clearwing-vm Clearwing VM] project to transpile Java to C++ along with custom native bindings for LibGDX. | |||
It supports Nintendo Switch Homebrew builds using LibNX, and Xbox/Windows Store with UWP. See the SwitchGDX [https://discord.com/channels/348229412858101762/965372515285352468 thread] on the LibGDX Discord server for support. | |||
==Features== | |||
*Full GDX Reflection support. | |||
*GDX Controllers support for all Switch controller layouts. | |||
*GDX Preferences for persistent data. | |||
*Desktop builds for debugging with emulated controller inputs. | |||
*Xbox UWP builds. | |||
*Supported extensions: FreeType, Controllers, and Box2D. | |||
==User guide== | |||
===Compatibility=== | |||
The majority of LibGDX is fully supported. A few features such as GL30 and audio recording are currently unsupported. | |||
===JVM Languages=== | |||
Since Clearwing takes Bytecode as an input, it can support any JVM language. The main limitation would be the Clearwing runtime library, which is limited and may not support all required functionality, though this can typically be easily added as needed. Java and Kotlin have been tested and work. | |||
===Libraries=== | |||
Pure Java libraries should work without any extra work, assuming they don't use unsupported runtime library features or JNI. Libraries compiled with a JDK version greater than 8 could also pose an issue. If a library uses JNI, custom native bindings could be provided and things should just work, the shared library loading API has no effect. See Libraries for a list of tested libraries. | |||
===Ports=== | |||
These are some LibGDX games that have been ported using SwitchGDX. | |||
*[[Shattered Pixel Dungeon Switch|Shattered Pixel Dungeon]] | |||
*[[Pixel Wheels Switch|Pixel Wheels]] | |||
*[[BombermanGDX Switch|Bomberman GDX]] | |||
*[[Pepper and Carrot Switch|Pepper and Carrot Running Game]] | |||
*[[TriPeaks Switch|TriPeaks]] | |||
*[[A Square Astray Switch|A Square Astray]] | |||
*[[Unlucky Switch|Unlucky]] | |||
*[[Klooni 1010 Switch|Klooni 1010]] | |||
*[[Jewel Thief Switch|Jewel Thief]] | |||
*[[nO mooRe Switch|nO mooRe]] | |||
===Links=== | |||
*[https://github.com/TheLogicMaster/switch-gdx Source code and documentation] | |||
*[https://github.com/TheLogicMaster/clearwing-vm Java to C++ transpiler] | |||
*[https://github.com/TheLogicMaster/switch-gdx/blob/master/TESTS.md LibGDX compatibility] | |||
==Screenshots== | ==Screenshots== | ||
https://dlhb.gamebrew.org/switchhomebrews/ | https://dlhb.gamebrew.org/switchhomebrews/switchgdxnx3.png | ||
https://dlhb.gamebrew.org/switchhomebrews/ | |||
https://dlhb.gamebrew.org/switchhomebrews/ | https://dlhb.gamebrew.org/switchhomebrews/switchgdxnx4.png | ||
https://dlhb.gamebrew.org/switchhomebrews/ | |||
https://dlhb.gamebrew.org/switchhomebrews/ | https://dlhb.gamebrew.org/switchhomebrews/switchgdxnx5.png | ||
https://dlhb.gamebrew.org/switchhomebrews/ | |||
https:// | https://dlhb.gamebrew.org/switchhomebrews/switchgdxnx6.png | ||
https://dlhb.gamebrew.org/switchhomebrews/ | |||
https://dlhb.gamebrew.org/switchhomebrews/switchgdxnx7.png | |||
https://dlhb.gamebrew.org/switchhomebrews/switchgdxnx8.png | |||
'''LibGDX library [https://hyperlap2d.rednblack.games/ HyperLap2D's] example project'''<br> | |||
{| style="width: 80%; margin-left:0em;" | |||
| | |||
https://dlhb.gamebrew.org/switchhomebrews/switchgdxnx2.png | |||
|} | |||
==Changelog== | ==Changelog== | ||
''' | '''v0.2''' | ||
* | * Multi-controller input, single-threaded Timer, Sound fixes. | ||
'''v0.1''' | |||
* Fix SwitchGDX transitive dependencies. | |||
== External links == | == External links == | ||
* | * GitHub - https://github.com/TheLogicMaster/switch-gdx | ||
* GBAtemp - https://gbatemp.net/threads/switchgdx-a-libgdx-switch-backend.611772/ | |||
Latest revision as of 02:07, 4 Haziran 2023
SwitchGDX | |
---|---|
General | |
Author | TheLogicMaster |
Type | Developments |
Version | 0.2 |
License | GPL-2.0 |
Last Updated | 2022/08/28 |
Links | |
Download | |
Website | |
Source | |
This is a Nintendo Switch Homebrew and Xbox UWP backend for the LibGDX game framework. It uses the Clearwing VM project to transpile Java to C++ along with custom native bindings for LibGDX.
It supports Nintendo Switch Homebrew builds using LibNX, and Xbox/Windows Store with UWP. See the SwitchGDX thread on the LibGDX Discord server for support.
Features
- Full GDX Reflection support.
- GDX Controllers support for all Switch controller layouts.
- GDX Preferences for persistent data.
- Desktop builds for debugging with emulated controller inputs.
- Xbox UWP builds.
- Supported extensions: FreeType, Controllers, and Box2D.
User guide
Compatibility
The majority of LibGDX is fully supported. A few features such as GL30 and audio recording are currently unsupported.
JVM Languages
Since Clearwing takes Bytecode as an input, it can support any JVM language. The main limitation would be the Clearwing runtime library, which is limited and may not support all required functionality, though this can typically be easily added as needed. Java and Kotlin have been tested and work.
Libraries
Pure Java libraries should work without any extra work, assuming they don't use unsupported runtime library features or JNI. Libraries compiled with a JDK version greater than 8 could also pose an issue. If a library uses JNI, custom native bindings could be provided and things should just work, the shared library loading API has no effect. See Libraries for a list of tested libraries.
Ports
These are some LibGDX games that have been ported using SwitchGDX.
- Shattered Pixel Dungeon
- Pixel Wheels
- Bomberman GDX
- Pepper and Carrot Running Game
- TriPeaks
- A Square Astray
- Unlucky
- Klooni 1010
- Jewel Thief
- nO mooRe
Links
Screenshots
LibGDX library HyperLap2D's example project
|
Changelog
v0.2
- Multi-controller input, single-threaded Timer, Sound fixes.
v0.1
- Fix SwitchGDX transitive dependencies.