-
Notifications
You must be signed in to change notification settings - Fork 348
Running the examples
drywolf edited this page Jul 15, 2016
·
6 revisions
- Clone or Download the Examples directory of the Unreal.js repository
- Create the
Examples\Plugins\
directory - Copy the already built plugin content to the
Examples\Plugins\UnrealJS
directory - Open the
Examples\JavascriptPlayground.uproject
file in the UE Editor - Load one of the example levels from the editor's Content Browser
- Run the level in the editor to see Unreal.js in action
- If something goes wrong while running the level you can probably get useful information in the Javascript Console (
Window > Developer Tools > Javascript Console
)
- For the
helloSpringy.js
example you will need to install some external Node.js dependency packages - This is done by using the npm command line utility
- Open the OS command prompt / shell and
cd
to theExamples\Content\Scripts\
directory - Install the required dependencies by using the
npm install
command - The
node_modules
directory with the downloaded dependencies should have been created - You can then try out and run the helloSpringy.js example