-
-
Notifications
You must be signed in to change notification settings - Fork 80
SourceCodeOverview
Li, Xizhi edited this page Mar 13, 2016
·
5 revisions
This is a brief overview of NPL source code. The best way to learn NPL is to read its source code. It is recommended to keep a copy of NPL source code in your application's development tree, like below:
./ :Your own source code
./src :NPL source code reference
When you program, you can search by text in all NPL source code. In ParacraftSDK, the source code is kept in the ./src folder.
Click here to view source code online.
- script/ide/
- script/ide/commonlib.lua: common include file for frequently used libraries without GUI.
- script/ide/System: Core library
- script/ide/STL: Like C++ stl, simple dData structures
- script/ide/timer.lua: time class
- script/ide/math: vector, matrix, etc.
- script/ide/oo.lua: class inheritance implementation
- script/ide/System/Core/ToolBase.lua: a power base class with signal/property support.
- script/apps/WebServer: implementation of a web server (like Apache) in NPL.
- script/apps/WebServer/WebServer.lua: entry file
- script/apps/WebServer/admin: A php-like web site framework in NPL
Lots of code here. If you are developing Paracraft plugins or 3d client applications in NPL. It is important to read source here.
- script/apps/Aries/Creator/Game: main source code of Paracraft
- [script/apps/Aries/Creator/Game/Areas](https://github.com/LiXizhi/ParaCraftSDK/tree/master/src/script/apps/Aries /Creator/Game/Areas): desktop GUI
- script/apps/Aries/Creator/Game/Entity: All movable entity types
- script/apps/Aries/Creator/Game/blocks: All block types
- [script/apps/Aries/Creator/Game/Commands](https://github.com/LiXizhi/ParaCraftSDK/tree/master/src/script/apps/Aries /Creator/Game/Commands): In-Game Commands
- [script/apps/Aries/Creator/Game/Tasks](https://github.com/LiXizhi/ParaCraftSDK/tree/master/src/script/apps/Aries /Creator/Game/Tasks): Commands with GUI
- [script/apps/Aries/Creator/Game/GUI](https://github.com/LiXizhi/ParaCraftSDK/tree/master/src/script/apps/Aries /Creator/Game/GUI): editor GUIs
- [script/apps/Aries/Creator/Game/Network](https://github.com/LiXizhi/ParaCraftSDK/tree/master/src/script/apps/Aries /Creator/Game/Network): Paracraft server implementation
- [script/apps/Aries/Creator/Game/Shaders](https://github.com/LiXizhi/ParaCraftSDK/tree/master/src/script/apps/Aries /Creator/Game/Shaders): GPU shaders
- [script/apps/Aries/Creator/Game/Mod](https://github.com/LiXizhi/ParaCraftSDK/tree/master/src/script/apps/Aries /Creator/Game/Mod): Plugin interface
- script/apps/Aries/Creator/Game/SceneContext: User input like keyboard and mouse
Download Paracraft | ParacraftSDK | copyright by tatfook 2016 | upload image