-
Notifications
You must be signed in to change notification settings - Fork 8
GameController
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.
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
RoomStartand also tracks the browser window size and will adapt the canvas instantly, if it changes.
Raptor free: Animation ● StateMachine ● Files(Sync) ● Macros ● Logger ● Controllers ● LG Localization ● Particle Effects ● Tools, other Objects and Helpers
Raptor pro: RACE (The Random Content Engine) ● Savegame System ● UI Subsystem ● Shaders ● Files(Async) ● RichJson ● Scriptor
Back to Repo ● Wiki Home ● Copyright © coldrock.games
- Home
- Working with raptor
- Create a Game
- raptor's object model
- Macros
- Logger
- Controllers
- StateMachine
- Animation
- Particle Effects
- LG Localization
- Interfaces
- Tools, other Objects and Helpers
Raptor Pro Modules