Объект-аксессор ко всей функциональности библиотеки SG2D
Properties:
Name | Type | Description |
---|---|---|
SG2D.Application |
SG2D.Application | Сцена |
SG2D.Clusters |
SG2D.Clusters | Кластеры |
SG2D.Cluster |
SG2D.Cluster | Кластер |
SG2D.Camera |
SG2D.Camera | Камера |
SG2D.Pointer |
SG2D.Pointer | Мышь/тач |
SG2D.Tile |
SG2D.Tile | Тайл. Может содержать несколько спрайтов и анимаций |
SG2D.TileBody |
SG2D.TileBody | Тайл с физическим телом (MatterJS) |
SG2D.CustomSprite |
SG2D.CustomSprite | Кастомный одиночный спрайт |
SG2D.Effects |
SG2D.Effects | Графические эффекты, в т.ч. шейдеры |
SG2D.Fonts |
SG2D.Fonts | Графические шрифты |
SG2D.Bounds |
SG2D.Bounds | Границы |
SG2D.Math |
SG2D.Math | Математические функции |
SG2D.Utils |
SG2D.Utils | Графические утилиты |
SG2D.Consts |
SG2D.Consts | Константы |
SG2D.Plugins |
SG2D.Plugins | Загрузчик плагинов |
SG2D.PluginBase |
SG2D.PluginBase | Базовый класс для плагинов |
SG2D.Sound |
SG2D.Sound | Звуки и музыка. Поддержка 2D окружения |
SG2D.MessageToast |
SG2D.MessageToast | Плавно исчезающее уведомление |
SG2D.pixi |
object | PIXI instance |
SG2D.matter |
object | MatterJS instance |
SG2D.version |
string | SG2D version |
Classes
- Application
- Bounds
- Camera
- Cluster
- Clusters
- CustomSprite
- Deferred
- Effects
- Label
- LabelCanvas
- Math
- PluginBase
- Plugins
- Pointer
- Sound
- Tile
- TileBody