More actions
jmedialayer | |
---|---|
General | |
Author | soywiz |
Type | Developments |
Version | wip |
License | Mixed |
Last Updated | 2016/09/19 |
Links | |
Download | |
Website | |
Source | |
jmedialayer is a project that aims to create a simple layer for graphics/audio and input like SDL but for Java that will provide several backends using jtransc to target browser, PS Vita, 3DS and so on.
jmedialayer for PS Vita is a mixed Java+Kotlin demo that can run in the JVM, the browser and PS Vita, and could be easily ported to other platforms like 3DS among others.
In PS Vita/C++ it uses ARC instead of GC, so the performance is constant and doesn't have any delays. It works thanks to JTransc + the great new C++ target in 0.4.0 done by dsp-omen. For drawing without dependencies on PS Vita, it uses xerpi's draw.c from a sample in libftpvita, but you can hook any C library/code easily in order to for example run libvita2d or raw gxm calls.
You can develop your application directly in intelliJ and test it using your favourite debugger, and then when ready compile it for the psvita and install it in just one click (installFtp
gradle task).
User guide
Go to demo1
directory, and with the vitasdk installed and VITASDK
environment variable properly set, execute gradlew buildVita
. That will generate a vpk file that can be uploaded to a psvita with henkaku.
You can also execute: installFtp
that will upload via ftp to the ip in env VITAFTP
, and will promote it with VitaShell >= 0.95.
demo2
available using jmedialayer (include png support). No external dependencies required (except for VITASDK).
demo3
available using jmedialayer + gradle plugin. Just requires gradle. Gradle plugin will download VITASDK automatically. Just supported x86/x64 windows/linux/mac.
Screenshots