Skip to content

altef/gamelayout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

gamelayout

Manages scenes and is probably super buggy. Each scene is basically a Sprite

###Usage ######Import the classes

import com.gigglingcorpse.gamelayout.System;
import com.gigglingcorpse.gamelayout.Memory;
import com.gigglingcorpse.gamelayout.Scene;

######Instantiate the system

system = new System();
addChild( system );

######Add scenes

// Add some scenes (Scenes extend com.gigglingcorpse.gamelayout.Scene)
system.addScene( "Splash", new MenuScene() );
system.addScene( "game", new Level1() );

######Set a scene(or switch between them)

// Switch to a scene
system.scene( "Splash" );

About

manages scenes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages