Skip to content

Paperdomo101/WebDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raylib Web Demo

the demo

Prerequisites

Download WASM build of Raylib

Download and Install Emscripten

Running the Demo

Open 'raylib-5.0_webassembly'. Copy raylib.h to 'include' and libraylib.a to 'include/web'

Set EMSDK_PATH and BROWSER in the makefile

Run make test_web and enjoy the demo

Modifying the Demo

Change PROJECT_NAME, PROJECT_VERSION, BASE_WIDTH, BASE_HEIGHT in the makefile

Add build targets for other platforms in the makefile (more info here)

Customize the embed shell

itch.io Integration

Install itch.io butler. Create an itch.io page for your game, set ITCH_USER and ITCH_PAGE in the makefile

Run make release_web to build and zip your game. Run make publish_web to upload directly to your itch.io page

About

A web-embeddable Raylib project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published