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

Actions example #42

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Actions example #42

wants to merge 11 commits into from

Conversation

mwcz
Copy link
Member

@mwcz mwcz commented Nov 15, 2018

Don't merge yet! Still in progress. Just opening for in-progress discussion.

This PR takes @nwforrer's activate_object example and adds an action system as described in the spec.

Then the scope spread a bit and I also added automatically preloading assets based on the contents of the map json file.

  • draft action system and wire up light switch to ceiling light with action chain
  • automatically preload assets based on the map.json file
  • automatically create objects based on the map.json file (map.createFromObjects())

Copy link
Member

@Jared-Sprague Jared-Sprague left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love it! The only improvement I think would be to include an example of how to run a custom action.

@Jared-Sprague
Copy link
Member

reference to #45

@mwcz mwcz changed the title WIP: Action example Actions example Dec 6, 2018
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