GameController - coldrockgames/gml-raptor GitHub Wiki
This controller is a very silent one, it has no impact on game performance.
It provides a global Sender
object (see Broadcasting) so you can always send messages and register receivers without the need of creating your own broadcaster. However, the Broadcasting subsystem allows the existence of multiple senders, so if you need your own specialized senders for some Achievements or other engines in your game, feel free to create as many as you like.
The global sender can be accessed through the BROADCASTER
macro. Anytime, in any room.
HTML Games
This controller offers all the functionality you need to launch a successful game in the browser window:
- It detects, whether the game is running in HTML5 mode and turns completely silent in all HTML-functionality, if not, so no fear on performance. You can use it in a steam game without any negative consequences.
- If in HTML5 mode, it adapts the canvas size on
RoomStart
and also tracks the browser window size and will adapt the canvas instantly, if it changes.