Skip to content

danzen/zim-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

game

ZIM Game is a helper module for the ZIM JavaScript Canvas Framework at https://zimjs.com. The module includes the following classes:

gamezaps_4

ZIM already comes with many features for games as described in the ZIM Games. Open the MORE section:

uiux_2

Plus all the conveniences, components and controls of general Interactive Media.

CDN

Usually we use ES Modules to bring in ZIM and if we want Game then we the code below - see the starting template at the top of the https://zimjs.com/code page. If physics is needed, just import zim_physics and it will include the game module by default. (Note, the NPM Physics does not).

import zim from "https://zimjs.org/cdn/016/zim_game";

NPM

This repository holds the NPM package so you can install from @zimjs/game on NPM. The ZIM package must be installed to work.

import zim from "zimjs"
import { Board, Scorer, Timer, Dialog } from "@zimjs/game"

Examples

There are hundreds of examples many including games in ZIM Examples. The ZIM Games page feature a bunch for instance:

oddrobots2

dazzlefinger

droid2

ZIM

See the ZIM repository at https://github.com/danzen/zimjs for information on ZIM and open source license, etc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published