Moondust Engine

The PGE Engine is part of the PGE project, and will allow users to play episodes and levels.

Developement

 * 0.0.1-pre-alpha....0.0.6-pre-alpha, The first test application had the basic physics system and is able to read and play levels, and can display blocks, BGOs, and backgrounds, but without NPCs and effects. Engine development started with usage of Box2d physics engine. It is possible to use warps, but was no visual entering/exiting effect. The player's character was represented by a blue rectangle. It is also possible to travel between levels by using level-to-level warps. There also was implemented a message box system, which able to display special characters and different languages.
 * Into 0.0.7-pre-alpha has been added partial support of world map without rendering of textures.
 * Starts from 0.0.8-pre-alpha engine finally can render animation of playable characters and has partial implementation of sound and music system. Engine can play sounds on world map and can play musics.
 * On the level some sounds are plays but music was implemented since 0.0.9-pre-alpha.
 * Starts from 0.0.10 completely supports render of world map and has been improved some physics parts.
 * 0.0.11 finally can render NPC graphics and do iteration of their movements.
 * 0.1-Alpha finally got a new coded from scratch physical engine which completely replaces Box2d.
 * 0.2-alpha has basic NPC-AI system where NPCs are can be coded in a lua and has a support of placing items from editor into the engine.
 * 0.2.2.2-alpha got a forked SDL Mixer library named as "SDL2_Mixer_ext" which adds support of OGG files with looped fragment
 * 0.2.2.4-alpha has working events system include better auto-scrollig, except "Game end", "Player controls" and "Layer movement" event actions.
 * 0.2.4-alpha has full features world map path opener which will open paths on level completion, has more advanced NPC-AI system with adding of new things like to ContactDetector, ability to spawn any other NPC, full-featured transforming of NPC's, etc.
 * 0.2.5-alpha is a bugfix update which also includes internal optimizations and performance boost

Planned Features

 * Ability to test levels with engine directly from editor (Currently being developed)
 * Customizable in-game text boxes (Currently being developed)
 * Title Screen (Currently being developed)
 * Settings menu and save/load of game settings (Currently being developed)
 * Scripting in lua (Currently being developed)
 * Improvement of start menu screen
 * World map player [in process]
 * Own physical engine for level player
 * Save/load of game save, episode intro screen to choice character and file with recent game save.
 * Sound and music system [in process]
 * Better camera and ability to switch playable character and state in real time

Improvements in comparison with original SMBX Game engine

 * PGE Engine has configurable TPS which can be used with V-Sync
 * less CPU load which gives ability to play games on PGE Engine together with background works or on slow PC's.
 * Cross-platform support: Linux, Windows, Mac OS X. SMBX works on Windows only.
 * World maps are supports music boxes with plugged custom music files
 * After saving on the HUB-based episode, player resumes game from recent warp instead of start point of hub level.
 * Autoscroll can work in multiple sections and can be launched from any event and from any section independent to level begin. Autoscroll can be launched inside another section while player starts from non-scrollable section. Player repeats whole path inside autoscrollable sections when it enter into them again.
 * Screen fade effects between sections and between different screens of game: level<->world map<->main menu
 * Unicode-supported message boxes which can print text in any available language, but requires additional font maps to have fine render of raster text.
 * Message boxes, menu boxes are have fade effects when appears/disappears.
 * True semi-transparency support with alpha-channel
 * Built-in usage of OpenGL to render stuff
 * Built-in support of lua scripts to have customized levels, NPC-AI, custom gameplay features, etc.
 * Less usage of memory because PGE Engine loads stuff dynamically by first request of specific object (NPC, block, BGO, Effect, background, playable character sprite).
 * Almost instant loading of game than SMBX.
 * Built-in support of command line features: you can run playing of any level by opening of that file by opening with pge_engine application or run any episode by same way.
 * With SDL Mixer, PGE Engine supports many various music formats which can be used as built-in or custom in-game musics.
 * Support of musics with looped fragment (OGG only).

Command line arguments
PGE Engine supports command line which allows you launch debug mode, start playing of the level or episode. (Also via drag&drop of the file into PGE Engine application icon in a file managers which are supports that)

Command syntax:
 * --config="{path}" - allow you to define a specific configuration pack with escaping a selection screen
 * --debug  - Enables debug mode
 * filename - actual file path

Examples: Start testing of a level file (UNIX-Like: Linux, Mac OS X, etc.)

Start testing of a level file (Microsoft Windows)

Start testing of a level file with specified configuration package (UNIX-Like: Linux, Mac OS X, etc.)

Start testing of a level file with specified configuration package (Microsoft Windows)

Start PGE Engine with interprocessing mode Note: Interprocessing using to commnuicate with PGE Editor to receive file data without saving to the disk, and also accepting special commands from editor which are allows you to place additional elements into the game

Print current version of PGE Engine

Videos

 * First demonstration
 * Warps and level wrap Functions Demo
 * Test walkthrough of hub-based episode on 0.0.2-pre-alpha
 * Long test of 0.0.7-pre-alpha
 * Gameplay Footage of 0.0.8-pre-alpha made by Bossedit8
 * Playthrough of v0.0.10 pre-alpha made by Bossedit8