You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,10 @@
9
9
10
10
good-web-game is a wasm32-unknown-unknown implementation of a [ggez](https://github.com/ggez/ggez) subset on top of [miniquad](https://github.com/not-fl3/miniquad/). Originally built to run [Zemeroth](https://github.com/ozkriff/zemeroth) on the web.
11
11
12
-
It has been recently updated to support much of the ggez 0.6.1 API. If you're already working with ggez you might use this library to port your game to the web (or even mobile).
12
+
It currently supports most of the ggez 0.7.0 API. If you're already working with ggez you might use this library to port your game to the web (or even mobile).
13
13
Since it also runs well on desktop it also offers an alternative implementation of ggez, which might always come in handy.
14
14
15
-
If you are just looking for a well supported minimal high-level engine on top of miniquad you might want to take a look at [macroquad](https://github.com/not-fl3/macroquad/).
15
+
If you are just looking for a well supported, more serious, minimal high-level engine on top of miniquad you might want to take a look at [macroquad](https://github.com/not-fl3/macroquad/).
16
16
17
17
## Supported Platforms
18
18
@@ -22,22 +22,23 @@ The idea behind good-web-game is to offer a way to easily port ggez games to the
Note that we don't give any guarantees for iOS / macOS support, as we currently simply don't have Macs lying around to test it on. It _should_ work just fine though.
25
+
Note that we don't give any guarantees for iOS / macOS support, as we currently simply don't have Macs lying around to test it on. In theory, it _should_ work though.
26
26
27
27
## Status
28
28
29
-
"good-web-game" implements most of the ggez 0.6.1 API.
29
+
"good-web-game" implements most of the ggez 0.7.0 API.
* audio API differs slightly due to use of `quad-snd` instead of `rodio` for easy portability
34
+
* audio API differs somewhat due to use of `quad-snd` instead of `rodio` for easy portability
35
35
* if you want to run on the web, shaders have to be written in GLSL100, due to support for WebGL1
36
36
* API for creation of shaders and their corresponding uniform structs differs slightly, but the workflow remains the same, see [the `shader` example](examples/shader.rs)
37
37
38
38
### Missing / Not available:
39
39
40
-
* ggez (and therefore good-web-game) loads files in a blocking fashion, which doesn't work on Wasm (and is also currently not supported on mobile)
40
+
* ggez (and therefore good-web-game) usually loads files in a blocking fashion, which doesn't work on WASM
41
+
* loading files asynchronously is possible through [`load_file_async`](https://docs.rs/good-web-game/0.5.0/good_web_game/filesystem/fn.load_file_async.html) everywhere though
41
42
* filesystem with writing access (if you need it take a look at [`quad-storage`](https://github.com/optozorax/quad-storage))
42
43
* writing your own event loop (doesn't make much sense on callback-only platforms like HTML5)
43
44
* spatial audio (overall audio support is still relatively limited)
@@ -59,13 +60,13 @@ You can also check out [astroblasto running on the web](https://psteinhaus.githu
0 commit comments