Installation

SDK Directory & Files

[Audio] [config] [database] [EBooks] [fonts][packages] [ParaChat] [plugins] [Prerequisites] [Screen Shots] [script] [temp] [Texture] [worlds] changes.txt copyright.txt copyright_product.txt jabber-net.dll log.txt main.pkg MozHTMLRenderer.dll MyApp.vcproj NPLWebServiceClient.dll NPLWebServiceClientLib.dll ParaAllInOne.dll ParaEngine.sig ParaEngineManaged.dll ParaIDE.dll ParaWorld.exe perf.txt PhysXLoader.dll readme.txt script.sln script.vcproj
ParaEngine SDK can be installed on top of any ParaEngine powered product. ParaWorld is the recommended free product built by ParaEngine. Please follow steps below.

  • Download and install the latest version of ParaWorld from DownloadCenter. It provides all the latest binaries of the game engine.
    • e.g. the installation directory may be set as D:\ParaEngineSDK\, this is where you'll store all of the SDK files
  • Download and install the latest version of ParaEngineSDK. Please select the same installation folder as the ParaWorld.
    • e.g. D:\ParaEngineSDK\ This directory should be automatically selected for you if installed ParaWorld prior to install ParaEngineSDK.
    • During installation, it will prompt you to install NPL language service. You can install it anywhere on your disk or just leave it with the default.

After installation, your SDK directory should look like the folder shown to the right. You will see the files ParaWorld.exe, ParaEngine.sig, script.sln

Compiling NPL source code

Visual studio 2008 is required in order to benefit from our development tools. Make sure it is installed prior to install SDK.
  • Open script.sln. it contains two projects: script and myapp.
  • The script project provides all NPL source code files (or their placeholders according to the SDK license you have). Normally we shall not edit the script project, they are kept there for quick references.
  • The myapp project is where you should place your application specific files. You can modify the project name or add new projects to the solution.

Source code syntax highlight and code sense

NPL/Lua Syntax highlighting is provided as a visual studio package (vspackage) called NPL language service. It provides syntax highlighting and code sense for all major NPL classes.
Topic revision: r1 - 2008-10-23 - LiXizhi
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback