Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.
/ ridder Public archive

A straightforward game engine for simple data-driven games in JavaScript

Notifications You must be signed in to change notification settings

patrickswijgman/ridder

Repository files navigation

Ridder

A zero-dependency and simple data-oriented game engine for JavaScript that has everything you need to get started and to get things done.

There won't be extensive documentation as the game engine is intended to be simple, the documentation in the code and the examples below should get you in the right direction.

Getting started

You can get started instantly by copying the Ridder template repo with the following command, be sure to replace <project-name> with the name of your game.

npx degit patrickswijgman/ridder-template#main <project-name>
cd <project-name>
npm ci
npm start

Or install manually in your own project with the following command.

npm install ridder

Examples

See the table below for the code of each example or play it instantly (using Github Pages).

Play Code Keywords
input link link keyboard mouse
font link link ttf
mobile link link vectors mouse transforms
platformer link link collision gravity camera transforms
polygon link link hitbox mouse
render-texture link link render-texture transforms
sprite link link sprite animation transforms
top-down link link vectors depth-sorting render-texture camera camera-shake transforms
tween link link animation

Or you can clone this project and run an example from the examples folder like so:

# make sure to install the dependencies first, you only need to do this once:
npm ci

# run an example
npm start -w <example> # e.g. npm start -w platformer

About

A straightforward game engine for simple data-driven games in JavaScript

Topics

Resources

Stars

Watchers

Forks