macroquad
Cross-platform game engine in Rust. (by not-fl3)
wasm-pack-template
a template for starting a rust-wasm project to be used with wasm-pack (by rustwasm)
Our great sponsors
macroquad | wasm-pack-template | |
---|---|---|
56 | 4 | |
2,758 | 589 | |
- | 2.4% | |
7.8 | 0.8 | |
8 days ago | 8 months ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
macroquad
Posts with mentions or reviews of macroquad.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-14.
-
Deploying your Rust WASM Game to Web with Shuttle & Axum
See the macroquad docs for full details on building a WASM game.
- Not only Unity...
- Macroquad: Cross-platform game engine in Rust
-
What would you recommend for simple 2D game (in The Binding of Isaac style)?
Any opinion on ggez? I don't like how everything in macroquad is global state https://github.com/not-fl3/macroquad/issues/333
-
Help with egui basics?
I prefer examples like the ones in Macroquad: https://github.com/not-fl3/macroquad/tree/master/examples. I'm not against advanced examples, but the priority should be extremely clear, minimal, self contained ones.
-
HELP: Unique ID's starting at 0 for each Type, advancing by one.
There were even discussions about deprecating static mut. Even if you think you got it right, there are too many things that might go wrong, like aliasing. For example, macroquad needs a complete rewrite because of their static mut.
-
Learning project - board game Yinsh using macroquad
It's based on macroquad and you can play the wasm version here: https://unvirtual.github.io/yinsh-rs/
-
I love rust, I have a pet peeve with the community
The reality is that I have used unsafe that is also unsound out of convenience because fixing it is a papercut too many. And this tends to be common! I know enough to spot unsoundness in other projects (sometimes even early). But not enough to be confident in my own abilities to write sound unsafe code. Why? Because it's really flipping hard, that's why!
-
Limitations of wasm for a small board game?
Given that you are making a game, you might want to consider using a game framework such as https://github.com/not-fl3/macroquad/.Macroquad has full support for WASM, and will allow you to render your game both locally and in the browser via WASM depending on how you compile it.
wasm-pack-template
Posts with mentions or reviews of wasm-pack-template.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-07.
-
Implement React v18 from Scratch Using WASM and Rust - [1] Build the Project
. ├── Cargo.toml ├── package.json ├── examples │ └── hello-world // React project initialized by vite ├── packages │ ├── react // WASM project created by cargo generate --git https://github.com/rustwasm/wasm-pack-template │ ├── react-dom // WASM project created by cargo generate --git https://github.com/rustwasm/wasm-pack-template │ ├── react-reconciler // Rust project created by cargo new │ └── shared // Rust project created by cargo new
-
What's the best way to generate WASM programmatically?
I use this https://github.com/rustwasm/wasm-pack-template
-
Hey Rustaceans! Got an easy question? Ask here (30/2021)!
Ah, it looks like it requires for tests to be prepended with #[wasm_bindgen_test]; not sure if this will help you, then :-//
-
Rust on the front-end
The first tutorial step focuses on the setup. It's short and is the most "copy-pastey" of all. The reason for that is that it leverages cargo-generate, a Cargo plugin that allows creating a new project by using an existing Git repository as a template. In our case, the template is a Rust project ready to compile to Wasm. The project's structure is:
What are some alternatives?
When comparing macroquad and wasm-pack-template you can also consider the following projects:
miniquad - Cross platform rendering in Rust
create-wasm-app - npm init template for consuming rustwasm pkgs
bevy - A refreshingly simple data-driven game engine built in Rust
cargo-generate - cargo, make me a project
ggez - Rust library to create a Good Game Easily
wasm-pack - 📦✨ your favorite rust -> wasm workflow tool!
pixels - A tiny hardware-accelerated pixel frame buffer. 🦀
wasm-bindgen - Facilitating high-level interactions between Wasm modules and JavaScript
raylib - A simple and easy-to-use library to enjoy videogames programming
cargo-generate - cargo, make me a project [Moved to: https://github.com/cargo-generate/cargo-generate]
gdnative - Rust bindings for Godot 3
rust-game-of-life
macroquad vs miniquad
wasm-pack-template vs create-wasm-app
macroquad vs bevy
wasm-pack-template vs cargo-generate
macroquad vs ggez
wasm-pack-template vs wasm-pack
macroquad vs pixels
wasm-pack-template vs wasm-bindgen
macroquad vs raylib
wasm-pack-template vs cargo-generate
macroquad vs gdnative
wasm-pack-template vs rust-game-of-life