MCPcopy Create free account

hub / github.com/coldi/r3f-game-demo / functions

Functions155 in github.com/coldi/r3f-game-demo

FunctionSceneStoreProvider
({ children }: ProviderProps)
src/@core/useGameObjectStore.tsx:95
FunctionSceneSwitch
({ targetScene }: Props)
src/@core/SceneSwitch.tsx:10
FunctionSound
(props: SoundProps)
src/@core/Sound.tsx:56
FunctionSprite
({ sheet, state: initialState = 'default', flipX: initialFlipX, color: initialColor, opaci
src/@core/Sprite.tsx:22
FunctionTileMap
({ data, resolver, definesMapSize = false }: Props)
src/@core/TileMap.tsx:22
FunctionWorkstation
(props: GameObjectProps)
src/entities/Workstation.tsx:30
FunctionWorkstationScript
()
src/entities/Workstation.tsx:11
MethodangleDeg
(t: TileLike)
src/@core/utils/tileUtils.ts:108
Functionbegin
()
src/@core/Moveable.tsx:108
FunctionblockMovement
(delayMs)
src/@core/Moveable.tsx:63
FunctioncanCrossEdge
()
src/@core/Collider.tsx:63
FunctioncanInteract
()
src/@core/Interactable.tsx:55
FunctioncanMove
(position)
src/@core/Moveable.tsx:55
FunctioncanReceiveInteraction
()
src/@core/Interactable.tsx:58
FunctioncombineStyles
(...args: any[])
src/@core/utils/styleUtils.ts:7
Methodconstructor
(public x = 0, public y = 0)
src/@core/utils/tileUtils.ts:7
FunctioncreateMapData
( width: number, height: number, callback: MapDataCallback )
src/@core/utils/mapUtils.ts:7
MethoddiagonalNeighbor
(index: number)
src/@core/utils/tileUtils.ts:132
FunctionenterNextLevel
()
src/@core/Scene.tsx:109
FunctionenterPrevLevel
()
src/@core/Scene.tsx:106
FunctionfindGameObjectById
(id)
src/@core/Game.tsx:117
FunctionfindGameObjectsByLayer
(layer)
src/@core/Game.tsx:126
FunctiongetSceneState
(key)
src/@core/SceneManager.tsx:83
FunctiongetTilesFromMapData
( data: TileMapData, filter: (value: TileMapDataValue) => boolean )
src/@core/utils/mapUtils.ts:29
FunctiongetTilesFromRect
(offset: Position, width: number, height: number)
src/@core/utils/mapUtils.ts:19
FunctionglobalStyles
()
src/styles/global.ts:3
FunctionhandleCanPlay
()
src/@core/Sound.tsx:14
FunctionhandleClick
(event: PointerEvent)
src/@core/usePointerClick.ts:12
FunctionhandleLoad
(event: Event)
src/@core/AssetLoader.tsx:37
FunctionhandleResize
()
src/@core/useWindowSize.ts:7
FunctioninjectMapData
( source: TileMapData, data: TileMapData, { x, y }: Position // bottom left )
src/@core/utils/mapUtils.ts:64
Functioninteract
({ x, y })
src/@core/Interactable.tsx:31
FunctionisMoving
()
src/@core/Moveable.tsx:60
FunctionmakeRandom
(seed: Seed)
src/@core/utils/seedRandom.ts:16
Functionmove
(targetPosition, type = 'move')
src/@core/Moveable.tsx:68
Methodnegate
()
src/@core/utils/tileUtils.ts:78
Methodnormalize
()
src/@core/utils/tileUtils.ts:90
FunctiononCollision
(ref)
src/@core/Collider.tsx:66
FunctiononInteract
(gameObject)
src/@core/Interactable.tsx:46
FunctiononTrigger
(ref)
src/@core/Collider.tsx:69
FunctiononTriggerExit
(ref)
src/@core/Collider.tsx:72
MethodouterRangeNeighbors
(rangeX: number, rangeY = rangeX)
src/@core/utils/tileUtils.ts:146
Functionport
(target = targetProp)
src/@core/ScenePortal.tsx:47
FunctionresetScene
()
src/@core/SceneManager.tsx:68
FunctionresolveMapTile
(type, x, y)
src/scenes/OfficeScene.tsx:27
FunctionresolveMapTile
(type, x, y)
src/scenes/OtherScene.tsx:20
MethodringNeighbors
(radius: number)
src/@core/utils/tileUtils.ts:157
FunctionsetSceneState
(key, value)
src/@core/SceneManager.tsx:80
FunctionsetSeed
(seed: Seed)
src/@core/utils/seedRandom.ts:7
MethodtoArray
()
src/@core/utils/tileUtils.ts:205
Functionupdate
()
src/@core/Moveable.tsx:112
FunctionuseCircleOfSight
()
src/@core/useCircleOfSight.ts:6
FunctionuseGameObjectStoreValue
(key: string)
src/@core/useGameObjectStore.tsx:66
FunctionuseLevel
()
src/@core/Scene.tsx:43
FunctionuseSightTest
(options: Options = { sight: true })
src/@core/useSightTest.ts:11
← previous101–155 of 155, ranked by callers