Skip to content

pause-drink/canvas-subgames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

canvas-subgames

Are you interested in coding your own interactive subgame for Pause...drink!?

In this repo I've added the code for the "Spin the bottle" subgame. It's fairly well commented and demonstrates how a subgame can be coded.

The files

createjs.min.js

The HTML5 canvas javascript library used by all interactive subgames

spin-the-bottle-assets.js

This file is output by Adobe Animate's HTML5 Canvas publishing feature. It simply provides the graphic assets used in the subgames. In this case just the bottle object.

spin-the-bottle.js

This file is where the subgame is written in an IIFE. Follow along with the comments. You'll need to get learn about CreateJS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published