Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

impact-worldmaster

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

impact-worldmaster

node and weltmeister (http://impactjs.com)

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

#node-impact

##Initial Setup

To be clear, this node module is actually a full boilerplate. First, after running npm install impact-worldmaster, you'll now have your node_modules, and within that, the impact worldmaster folder.

the files within the impact worldmaster filder? That's your project root. You can copy these and put them elsewhere, or just work right out of this folder. Nontheless, this is your project root for the game. You can ignore all the preceding directories.

##Adding impact

Now, You'll need to provide the following:

  1. src/public/lib/impact

    This is the actual impact game folder, that you must have purchased

  2. src/public/lib/weltmeister

    Same with this - its the weltmeister folder, just paste it right in, you should own this.

  3. src/public/weltmeister.html

    And the weltmeister point of entry. Add this. You can locally access it by going to localhost:port/weltmeister once you are running.

If necessary, run npm install.

Configuration


The weltmeister/config.js might still be pointing to old php files. You don't want this. Make sure you're calling the right node routes for everything now, you no longer need the .php extensions! Edit this in the config file in the /weltmeister folder you added to the project.

'api': {
	'save': '/worldmaster/save',
	'browse': '/worldmaster/browse',
	'glob': '/worldmaster/glob'
}

Run It

-- At the root of the project, you can run npm start and it should start running on he default port. Instead of the ususal php backend, it will use the node code in this boilerplate. You might also note there is no tools folder. This will be eventually replaced with gulp. / should go to the "it works" screen. This is your game. /weltmesiter.html will take you, as expected to the world editor.

Have fun.

Keywords

FAQs

Package last updated on 26 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc