Skip to content

How much you work, you'll gain the amount for your work!

Notifications You must be signed in to change notification settings

green-momentum/packer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PACKER

A roguelike game using procedural map generation.

Installation

First, install required packages using apt:

sudo apt install -y cmake libxrandr-dev libxinerama-dev \
    libxcursor-dev libxi-dev mesa-common-dev libgl1-mesa-dev \
    libgles2-mesa-dev

Also you need to install emsdk manually:

git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh

Then, run this commands to build project:

emcmake cmake -S . -B build -DPLATFORM=Web
cd build
make
emrun packer.html --no_browser --port=8080 --kill_start

After the emrun command, it will be worked automatically on your browser.

Sources

Mockups & Examples

TODO

  • mockups (matrix)
  • dungeon/room generation (porklike) (matrix)
  • state management (goedev)
  • player stats
  • items
  • inventory or limited item slots
  • mobs
  • include audio files (goedev)
  • turn-based movement (goedev)
  • carriage movement (cutter) (goedev)
  • web export
  • create project structure

CHECKLIST

  • +1 point if you use the C programming language
    • +1 point for -Werror -Wfloat-conversion -Wpedantic
    • +1 point for -std=c99
    • +1 point for reaching 2000 lines of code in a single file.
  • +1 point if you use any of the following:
    • Raylib (Highly Recommended for folks new to C)
    • SDL2 (Recommended for people wanting to do more engine building)
    • OpenGL (Recommended for people wanting to do even more engine building)
    • Vulkan (Only the insane would use this for a jam... like heroseh)
  • +1 point for each of these elements from the game Rogue that you use in your game:
    • Grid based world (the player doesn't have to be fixed to a grid)
    • Ascii bitmap graphics, limited to 256 glyphs
    • Turn-based gameplay
    • Has dungeons (a series of connected rooms)
    • Visible player/ally stats (attack, defense etc)
  • +1 point for open sourcing your game
  • +1 point for streaming your development 3 times on twitch
  • +1 point for posting about your game on the Discord server or Twitter using #rlejam

About

How much you work, you'll gain the amount for your work!

Resources

Stars

Watchers

Forks