Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Es6 refactoring + game architecture #29

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from
Open

Conversation

lmatiolis
Copy link
Contributor

  • Configure Babel on grunt
  • Configure babel to run on specs
  • Change all files to es6 classes and modules
  • Change Engine to Game
  • Change createjs stage access inside our class Stage.
  • Create factories for Item, Background, Scene, etc
  • Create separate module to access assets
  • Start using class Item and remove methods from ObjectManager
  • Organize it like MVC

Change Engine to Game

Game will be dealing with actions related to the game itself (save, pause, screen size, etc). It will have a GameFactory that will handle all objects creation through each individual factory. (SceneFactory, ItemFactory, etc).

Change createjs stage access inside our class Stage.

Just to remove horrible syntax stage.stage.

Start using class Item and remove methods from ObjectManager

Remove methods that are more related to the item (interactions with the item like objectClicked)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants