Skip to content

Small crate to work with URL in miniquad/macroquad.

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
Unknown
LICENSE-MIT
Notifications You must be signed in to change notification settings

optozorax/quad-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Small crate to work with URL in miniquad/macroquad.

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
Unknown
LICENSE-MIT

Stars

Watchers

Forks