Справочник15 / 15

Справочник методов и типов SDK

Найдём нужный класс или тип и урок с примером.

Откроем нужный модуль в списке ниже. Например, классы для сцен находятся в scenes, для анимации — в tween. Рядом с каждым модулем есть ссылка на урок.

import { Engine } from '@gamedevland/engine';
import { BaseTypedCommand } from '@gamedevland/engine/commands';
import { SchemaDecoder } from '@gamedevland/engine/validation';
import type { GameConfig } from '@gamedevland/engine/core';
Открыть список модулей SDK 20
@gamedevland/engine/assets21 Ресурсы и наборы →
  • AssetDescriptorтип
  • AssetGlobInputтип
  • AssetGlobRecordтип
  • AssetIdтип
  • AssetIdStrategyтип
  • AssetManagerAPI
  • AssetManagerOptionsтип
  • AssetManifestBuilderAPI
  • AssetManifestBuilderOptionsтип
  • AssetTypeтип
  • AudioLoaderAPI
  • BundleBuildPolicyтип
  • BundleDescriptorтип
  • ConcurrencyConfigтип
  • DefaultBundleBuildPolicyAPI
  • FontLoaderAPI
  • ImageLoaderAPI
  • JsonLoaderAPI
  • Loaderтип
  • PathRelativeAssetIdStrategyAPI
  • RetryConfigтип
@gamedevland/engine/audio8 Звук →
  • AudioBackendтип
  • AudioChannelтип
  • AudioHandleтип
  • AudioIdтип
  • AudioManagerAPI
  • AudioManagerOptionsтип
  • AudioSourceDescriptorтип
  • PlayAudioOptionsтип
@gamedevland/engine/commands6 Команды →
  • AppCommandContextтип
  • BaseCommandAPI
  • BaseTypedCommandAPI
  • CommandBusAPI
  • CommandEventPayloadReaderAPI
  • CommandPointerPayloadтип
@gamedevland/engine/configs28 Конфигурация и сохранения →
  • ConfigDecoderResolverтип
  • ConfigEntryAPI
  • ConfigStoreAPI
  • DecodedConfigStoreAPI
  • IndexedDbStorageAdapterAPI
  • IStateStoreтип
  • IStorageAdapterтип
  • JsonConfigPathтип
  • LocaleCatalogAPI
  • LocaleDictionaryтип
  • LocaleDictionaryConfigDecoderAPI
  • LocalesServiceAPI
  • LocalStorageAdapterAPI
  • PersistentStorageAdapterAPI
  • PersistentStorageBrowserConfigтип
  • PersistentStorageCoordinatorAPI
  • Settingsтип
  • SettingsEntryAPI
  • SettingsServiceAPI
  • StorageNamespaceAPI
  • SupportedLocaleCodeтип
  • TextStyleDefтип
  • TextStyleDropShadowDefтип
  • TextStylesConfigтип
  • TextStylesConfigDecoderAPI
  • TextStyleStrokeDefтип
  • TypedStateStoreAPI
  • TypedStateStoreOptionsтип
@gamedevland/engine/core14 Запуск движка →
  • CommandRuntimeтип
  • EngineAPI
  • EngineCompositionRuntimeтип
  • EngineOptionsтип
  • GameConfigтип
  • InputRuntimeтип
  • LayoutRuntimeтип
  • PhysicsRuntimeтип
  • PrefabRuntimeтип
  • RuntimeActivityAPI
  • RuntimeActivitySnapshotтип
  • RuntimePauseReasonтип
  • SceneConfigтип
  • SceneManagerRuntimeтип
@gamedevland/engine/di38 Внедрение зависимостей →
  • BuiltSceneDiEntryтип
  • CommandClassтип
  • CommandsGroupAPI
  • CommandTokenClassтип
  • ComponentClassтип
  • ComponentsGroupAPI
  • ComponentTokenClassтип
  • DiBootstrapValidatorAPI
  • DiContainerAPI
  • DiContainerInterfaceтип
  • DiTokenтип
  • DiTokensAPI
  • ElementFactoriesGroupAPI
  • ElementFactoryтип
  • ElementNodeClassтип
  • EngineDiAPI
  • GameDiConfigAPI
  • GameDiConfigOptionsтип
  • GameDiDefinitionAPI
  • GlobalDiDefinitionAPI
  • Providerтип
  • ProviderBaseтип
  • ProviderGroupAPI
  • ProviderUseClassтип
  • ProviderUseFactoryтип
  • ProviderUseValueтип
  • registerElementFactoryAPI
  • registerSystemProvidersAPI
  • SceneDiConfigтип
  • SceneDiDefinitionAPI
  • SceneDiEntryтип
  • SceneServiceTokenRegistryAPI
  • SystemServicesAPI
  • Tokenтип
  • TokenObjectтип
  • ValueFactoryтип
  • ValuesGroupAPI
  • ValuesGroupRegistrarAPI
@gamedevland/engine/errors11 Диагностика →
  • EngineErrorAPI
  • EngineErrorCodeAPI
  • EngineErrorCodeValueтип
  • EngineErrorDetailsтип
  • EngineErrorDetailValueтип
  • EngineErrorFactoryAPI
  • EngineErrorFormatterAPI
  • EngineErrorGuardAPI
  • EngineErrorInputтип
  • EngineSubsystemAPI
  • EngineSubsystemValueтип
@gamedevland/engine/events5 События →
  • AppEventтип
  • EventBusAPI
  • EventBusEmitInputтип
  • EventHandlerтип
  • IEventBusтип
@gamedevland/engine/fsm9 Конечный автомат →
  • DefaultEventNormalizerAPI
  • EventNormalizerтип
  • FSMConfigтип
  • FSMContextтип
  • FSMStateConfigтип
  • RawEventтип
  • SceneEventтип
  • SceneFSMAPI
  • TransitionRuleтип
@gamedevland/engine/input14 Ввод →
  • BrowserInputGuardAPI
  • BrowserInputGuardConfigтип
  • defaultInputConfigAPI
  • DragEndReasonтип
  • EngineInputEventInitтип
  • HitTargetтип
  • InputChannelAPI
  • InputConfigтип
  • InputEventBaseтип
  • InputHandlerтип
  • InputManagerAPI
  • InputRouterAPI
  • InputTypeтип
  • PointerTypeтип
@gamedevland/engine/interactions13 Перетаскивание →
  • BeginDragCoreCommandBaseAPI
  • DragCoreRuntimeContextтип
  • DragCoreSessionAccessorтип
  • DragCoreSessionServiceAPI
  • DragInputBridgeComponentAPI
  • DragInputPhaseтип
  • DragInputRequestedPayloadтип
  • DragPointerPayloadтип
  • EndDragCoreCommandBaseAPI
  • HandleDragInputCommandBaseAPI
  • PointerOwnedEndDragCoreCommandBaseAPI
  • PointerOwnedUpdateDragCoreCommandBaseAPI
  • UpdateDragCoreCommandBaseAPI
@gamedevland/engine/layouts45 Вёрстка и узлы →
  • ActionConfigтип
  • ActionRegistryAPI
  • BaseActionAPI
  • BaseComponentAPI
  • BaseTypedActionAPI
  • BaseTypedComponentAPI
  • BuildContextтип
  • BuildOptionsтип
  • BuildResultтип
  • BuiltElementтип
  • ComponentConfigтип
  • ComponentRegistryAPI
  • ContainerAPI
  • ContainerNodeтип
  • CreatedElementтип
  • DisplacementFilterComponentAPI
  • DisplayConfigтип
  • DisplayNodeтип
  • ElementConfigтип
  • ElementFactoryContextтип
  • EmptyAPI
  • GraphicsAPI
  • GraphicsNodeтип
  • LayoutFileтип
  • LayoutValidationIssueтип
  • LayoutValidationResultтип
  • NodeBaseAPI
  • ParticleEmitterComponentAPI
  • PlayParticlesActionAPI
  • ResponsiveLayoutComponentAPI
  • ResponsiveLayoutRectтип
  • ResponsiveLayoutSnapshotтип
  • RopePointOffsetтип
  • SceneLayoutAPI
  • SpriteAPI
  • SpriteNodeтип
  • SpriteTextureSizeтип
  • TextAPI
  • TextNodeтип
  • TextureAssetResolverAPI
  • TexturedRopeAPI
  • TexturedRopeNodeтип
  • TexturedRopeTextureSizeтип
  • TilingSpriteAPI
  • TilingSpriteNodeтип
@gamedevland/engine/physics24 Физика →
  • PhysicsBodyForceтип
  • PhysicsBodyHandleтип
  • PhysicsBodyImpulseтип
  • PhysicsBodyMaterialтип
  • PhysicsBodyMotionтип
  • PhysicsBodySnapshotтип
  • PhysicsBodyVelocityтип
  • PhysicsBoundsтип
  • PhysicsCircleBodyParamsтип
  • PhysicsCollisionEventTypeтип
  • PhysicsCollisionHandlerтип
  • PhysicsCollisionPairтип
  • PhysicsCompoundPolygonBodyParamsтип
  • PhysicsConfigDecoderAPI
  • PhysicsCreateWorldParamsтип
  • PhysicsErrorsAPI
  • PhysicsManagerAPI
  • PhysicsPointтип
  • PhysicsPolygonBodyParamsтип
  • PhysicsRectangleBodyParamsтип
  • PhysicsSceneServiceAPI
  • PhysicsSceneServiceConfigтип
  • PhysicsWorldAPI
  • PhysicsWorldConfigтип
@gamedevland/engine/particles11 Частицы →
  • ParticleEmitterOptionsтип
  • ParticleHandleтип
  • ParticlePresetтип
  • ParticlePresetIdтип
  • ParticlePresetManifestтип
  • ParticlePresetResolverAPI
  • ParticlesFactoryAPI
  • ParticlesManagerAPI
  • ParticleSpawnFromAssetParamsтип
  • ParticleSpawnParamsтип
  • ParticleVec2тип
@gamedevland/engine/platforms14 Платформы →
  • GameDistributionBootstrapContractAPI
  • GameDistributionPlatformConfigтип
  • NullPlatformAdapterAPI
  • PlatformAdapterтип
  • PlatformAdBreakHooksтип
  • PlatformCatalogAPI
  • PlatformDataStorageBackendтип
  • PlatformIdтип
  • PlatformIntegrationsConfigтип
  • PlatformIntegrationsConfigContractAPI
  • PlatformManagerAPI
  • PlatformManagerOptionsтип
  • PlatformRewardResultтип
  • PlatformRuntimeHooksтип
@gamedevland/engine/prefabs6 Префабы →
  • EnsuredPrefabChildтип
  • PrefabDefinitionтип
  • PrefabManagerAPI
  • PrefabRepositoryAPI
  • PrefabSpawnParamsтип
  • SpawnedPrefabтип
@gamedevland/engine/scenes18 Сцены →
  • BaseSceneAPI
  • BaseSceneServiceAPI
  • FsmDrivenSceneAPI
  • FsmDrivenSceneLifecycleEventsAPI
  • Sceneтип
  • SceneContextтип
  • SceneManagerAPI
  • SceneManagerOptionsтип
  • SceneRuntimeтип
  • SceneServiceтип
  • SceneServiceContextтип
  • SceneServiceHostAPI
  • SceneServiceTickContextтип
  • SceneServiceTickPhaseтип
  • SceneServiceTickPhaseResolverAPI
  • SceneTransitionOperationтип
  • SceneTransitionOptionsтип
  • SceneTransitionPhaseтип
@gamedevland/engine/screen11 Адаптивность →
  • FitModeтип
  • Orientationтип
  • ResizeSchedulerAPI
  • ScalerAPI
  • ScreenConfigтип
  • ScreenManagerAPI
  • ScreenProfileтип
  • ScreenRenderConfigтип
  • ScreenStateSnapshotтип
  • ViewportSizeтип
  • VirtualSizeтип
@gamedevland/engine/tween10 Анимации →
  • GsapTimelineBuilderAPI
  • GsapTweenHandleAPI
  • GsapTweenManagerAPI
  • TimelineBuilderтип
  • TweenHandleтип
  • TweenManagerтип
  • TweenOptionsтип
  • TweenPathOptionsтип
  • TweenPointтип
  • TweenTargetтип
@gamedevland/engine/validation12 Проверка данных →
  • DecodeContextтип
  • Decoderтип
  • InferDecodedтип
  • InferObjectтип
  • Ruleтип
  • RuleBasedValidatorAPI
  • SchemaDecoderAPI
  • ValidationContextтип
  • ValidationIssueтип
  • ValidationResultтип
  • Validatorтип
  • ValidatorRegistryAPI

Инструменты Vite

createGameViteConfig, GameViteConfig, GameViteConfigFactory, GameViteConfigFactoryOptions

Сборка ZIP для Poki · Загрузка в Poki

К программе курса →