Skip to content

4nc3str4l/LD55

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ludum Dare 55

This project has been developed in Linux (no Windows support for now)

How to build

Make sure that you follow:

Setup raylib for Linux (at least the prerequisites)

Setup raylib for HTML5 (emscriptem, again at least the prerequisites)

Once you have all the prerequisites you can run:

chmod +x setup.sh & ./setup.sh

(This command will automatically build raylib for Linux and HTML5.)

Build for web:

make web

To play the native game you can do:

cd dist
python3 -m http.server

Then open a browser and you should see the game on the server port.

Build native:

make native

To play the native game you can do:

cd dist
./ludum_dare_55

Real-Time Development with make watch

To enhance your development workflow, you can use the make watch command which enables automatic recompilation of your project when source files change. This feature requires inotify-tools to be installed on your system. You can install it with the following command:

sudo apt-get install inotify-tools

To start automatic recompilation, run:

make watch

This will monitor changes in the source directory and rebuild the web version of your game whenever a file is modified.

Pairing make watch with a Live Server:

For a WYSIWYG-like experience, you can pair make watch with a live server. While make watch rebuilds the game, running a local server allows you to see changes reflected immediately in your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published