Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.39 KB

README.md

File metadata and controls

39 lines (32 loc) · 1.39 KB

Elooly Block Engine Notes

Elooly Block Engine Is A Game Engine for platform games that is loosely based of blocklooly. It uses the same tech is blocklooly (position css based element loading)

It is currently IN DEVELOPMENT!

How to use

Use file magic.js to run the libary

Functions

MagicBlock[]

Defines all class styles of ONE Block (Via sources like ['block_type_1.svg', 'block_type_2.svg', 'block_type_3.svg']

Used like:

Magicblock = [svg_src, svg_src...];

setMagicBlock(usedMagicSet);

setMagicBlock(usedMagicSet);

Used to transfer MagicBlock to game storage. usedMagicSet is the location of the block in the set of blocks, and if ommited, will go to the next location for a block.

Used Like:

Magicblock = [svg_src, svg_src...];

setMagicBlock(usedMagicSet);

Magic{}

An object used soley within the libary to hold everything relating to the game, excluding GameProto()

Used Like

Should not be used in code

DEBUG ONLY:console.log(Magic)

Game

The default GameProto().

Game.end(next)

A function to change levels. Next can be ommited, and game will go onto the next level.

Game.start(level)

Used to start levels. level is the level to start at.

Currently Needed

  • Charectars
  • Way to load levels
  • Way to create levels
  • Players