Skip to content

Commit

Permalink
update docs to 4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
electronstudio committed Nov 5, 2023
1 parent 080f351 commit a07f74e
Show file tree
Hide file tree
Showing 102 changed files with 65,119 additions and 19 deletions.
13 changes: 13 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

1 change: 1 addition & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Jaylib - JNI bindings for [Raylib](https://github.com/raysan5/raylib/) 4.2 + RLGL + Raymath + Physac + RayGui
# Jaylib - JNI bindings for [Raylib](https://github.com/raysan5/raylib/) 4.5 + RLGL + Raymath + Physac + RayGui

JNI is the fastest kind of native binding for Java, but is difficult to write. Therefore
we are using [JavaCPP](https://github.com/bytedeco/javacpp) to automatically generate the bindings.
Expand All @@ -15,13 +15,13 @@ they are auto-generated. See [How To Build](#how-to-build)

## Platforms

Current release includes binaries for:
4.5 release includes binaries for:
* Windows x86_64
* Macos x86_64
* Macos ARM64
* Linux x86_64
* Linux arm (Raspberry Pi only)

For Macos arm64 and any other arm platforms you will need to build your own.
The 4.2 release included Linux ARM64 for Raspberry Pi, but I no longer have a Pi on which to build them.

## Docs

Expand All @@ -46,7 +46,7 @@ Download [the Gradle example project](https://github.com/electronstudio/jaylib-e
```
dependencies {
implementation 'uk.co.electronstudio.jaylib:jaylib:4.2.+'
implementation 'uk.co.electronstudio.jaylib:jaylib:4.5.+'
}
```
Expand All @@ -59,7 +59,7 @@ dependencies {
<dependency>
<groupId>uk.co.electronstudio.jaylib</groupId>
<artifactId>jaylib</artifactId>
<version>[4.2.0,4.3)</version>
<version>[4.5.0,4.6)</version>
</dependency>
</dependencies>
Expand Down Expand Up @@ -106,19 +106,19 @@ public class Demo {

Compile it:

javac -cp jaylib-4.2.0-1.jar Demo.java
javac -cp jaylib-4.5.0-0.jar Demo.java

Run it:

java -cp jaylib-4.2.0-1.jar:. Demo
java -cp jaylib-4.5.0-0.jar:. Demo

On MacOS you need this additional option:

java -XstartOnFirstThread -cp jaylib-4.2.0-1.jar:. Demo
java -XstartOnFirstThread -cp jaylib-4.5.0-0.jar:. Demo

On weirdy Windows you use semi-colons:

java -cp jaylib-4.2.0-0.jar;. Demo
java -cp jaylib-4.5.0-0.jar;. Demo

## Known issues

Expand Down
Loading

0 comments on commit a07f74e

Please sign in to comment.