Mainframe is a GameMaker system for managing execution of logic within a frame. Its major components are:
- Mainframe events, which allow specific ordering and activation/deactivation of individual actions
- Post-frame processing, which uses the free time after core gameplay logic to perform tasks in the background
You can also check out the itch.io page.
- download the latest package version: Alphish.Mainframe.*.yymps
- in your project, use the Import Local Package feature
- import everything from the package
- put an instance of the
sys_Mainframe
object in the initial room - enjoy!
For more details, read instructions in the Overview documentation page.
The following pages describe the package functionality in more detail:
- Overview - roughly describes the package in general and has installation instructions
- Mainframe Events - describes how to set up and use Mainframe events to organise the game logic
- Post-frame Processing - describes how to use post-frame processing to do additional work in the background
Additionally, there's a simple demonstration of the package functionality, available here: Mainframe Demo.yyz
The Demo Example documentation page explains how Mainframe features are applied in the demo application, step by step.