Skip to content

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())

@mwcz mwcz requested a review from Jared-Sprague November 15, 2018 19:08
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.

3 participants