#quad #url #quad-url

quad-url

Plugin for macro-, mini-quad (quads) to do anything with url

2 releases

0.1.1 Aug 22, 2021
0.1.0 Mar 22, 2021

#1046 in Game dev

Download history 539/week @ 2024-12-16 185/week @ 2024-12-23 298/week @ 2024-12-30 483/week @ 2025-01-06 774/week @ 2025-01-13 624/week @ 2025-01-20 361/week @ 2025-01-27 944/week @ 2025-02-03 710/week @ 2025-02-10 377/week @ 2025-02-17 701/week @ 2025-02-24 446/week @ 2025-03-03 741/week @ 2025-03-10 587/week @ 2025-03-17 644/week @ 2025-03-24 373/week @ 2025-03-31

2,365 downloads per month
Used in 13 crates (2 directly)

MIT/Apache

17KB
239 lines

quad-url

Docs Crates.io version

This is the crate to work with URL and open links in miniquad/macroquad environment.

Web demo.

Usage

Add this to your Cargo.toml dependencies:

quad-url = "0.1.0"

Usage in WASM

Add file quad-url/js/quad-url.js to your project.

Add file sapp-jsutils/js/sapp_jsutils.js file to your project. (version 0.1.4, compatible with current crate)

Add this lines after loading of gl.js and before loading of your wasm in your index.html:

<script src="sapp_jsutils.js"></script>
<script src="quad-url.js"></script>

Done! Now you can use this crate.

Dependencies

~0–1.7MB
~29K SLoC