Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0x0funky/agent-game-forge
/ functions
Functions
996 in github.com/0x0funky/agent-game-forge
⨍
Functions
996
◇
Types & classes
257
↓ 2 callers
Function
piece
(p: LibPiece | undefined)
apps/daemon/src/web-scene.ts:555
↓ 2 callers
Function
platformColliders
(level)
apps/daemon/src/templates/foundation/side-scroll/seed/src/platforms.js:1
↓ 2 callers
Function
playNoise
(duration = 0.16, options = {})
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/audio.js:70
↓ 2 callers
Function
preloadImageList
(paths)
apps/daemon/src/templates/foundation/side-scroll/seed/src/assets.js:77
↓ 2 callers
Function
readMetadata
(section: Section)
apps/daemon/src/scenes.ts:354
↓ 2 callers
Function
readPackLayout
(metaPath: string)
apps/daemon/src/server.ts:748
↓ 2 callers
Function
readSceneContext
(projectAbs: string)
apps/daemon/src/scene-context.ts:70
↓ 2 callers
Function
refresh
()
apps/web/src/components/SpecProgressCard.tsx:71
↓ 2 callers
Function
removeRef
(rel: string)
apps/web/src/components/Dropzone.tsx:102
↓ 2 callers
Function
requireJsonRef
( op: T, kind: string, )
apps/daemon/src/scenes.ts:761
↓ 2 callers
Function
resResolve
Resolve a Godot-style "res://..." path to a project-relative POSIX path.
apps/daemon/src/scenes.ts:51
↓ 2 callers
Function
resetGame
()
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/dialogue.js:158
↓ 2 callers
Function
resolveActualScenePath
When a scene has no Sprite2D/etc. of its own and just instances a * PackedScene, redirect to the inner scene so OGF actually shows / edits * the e
apps/daemon/src/scenes.ts:277
↓ 2 callers
Function
resolveAxis
(entity, colliders, axis, previous)
apps/daemon/src/templates/foundation/side-scroll/seed/src/physics.js:16
↓ 2 callers
Function
resolveTexture
(spriteSection: Section)
apps/daemon/src/scenes.ts:367
↓ 2 callers
Function
resolveTop
(value: boolean)
apps/web/src/lib/dialog.tsx:82
↓ 2 callers
Function
resolveXpKind
(kind)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/battle.js:22
↓ 2 callers
Function
rowToConversation
(r: { id: string; project_path: string; title: string | null; codex_thread_id: string | null; agent_
apps/daemon/src/server.ts:2366
↓ 2 callers
Function
save
()
apps/web/src/components/FileEditor.tsx:381
↓ 2 callers
Function
save
()
apps/web/src/components/SpriteSlicerModal.tsx:95
↓ 2 callers
Function
save_transparent_gif
(frames: list[Image.Image], out_path: Path, duration: int)
apps/daemon/src/templates/skills/generate2dsprite/scripts/generate2dsprite.py:720
↓ 2 callers
Function
sceneBounds
(s: SceneModel, bank: ImageBank)
apps/web/src/components/SceneEditor.tsx:5141
↓ 2 callers
Function
sceneKey
(projectPath: string, relPath: string)
apps/web/src/lib/api.ts:298
↓ 2 callers
Function
scheduleTreeRefresh
()
apps/web/src/App.tsx:1020
↓ 2 callers
Function
secretsDir
()
apps/daemon/src/secrets.ts:46
↓ 2 callers
Function
secretsPath
()
apps/daemon/src/secrets.ts:50
↓ 2 callers
Function
selectedShape
()
apps/web/src/components/SceneEditor.tsx:843
↓ 2 callers
Function
setConversationThreadId
(id: string, threadId: string)
apps/daemon/src/conversations.ts:73
↓ 2 callers
Function
setConversationTitle
(id: string, title: string)
apps/daemon/src/conversations.ts:79
↓ 2 callers
Function
setTouchStick
(x = 0, y = 0)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/touch.js:12
↓ 2 callers
Function
shakeOffset
()
apps/daemon/src/templates/foundation/side-scroll/seed/src/camera.js:31
↓ 2 callers
Function
shapeContains
(shape, x, y)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/collision.js:60
↓ 2 callers
Function
shortPath
(p: string)
apps/web/src/components/Turn.tsx:443
↓ 2 callers
Function
spendItem
(id, amount = 1)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/progression.js:49
↓ 2 callers
Function
spriteFrame
(sheet, cols, rows, index)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/render.js:1
↓ 2 callers
Function
startMusic
(themeName)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/audio.js:112
↓ 2 callers
Function
startNewRun
()
apps/daemon/src/templates/foundation/side-scroll/seed/src/scene.js:65
↓ 2 callers
Function
starterById
(id)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/progression.js:1
↓ 2 callers
Function
subscribeRun
( runId: string, onEvent: (e: StreamEvent) => void, )
apps/web/src/lib/api.ts:539
↓ 2 callers
Function
subscribeToRun
Wires up the SSE handler for a running codex. Used by both send() * (after createRun spawns a fresh codex) and selectConversation * (after rec
apps/web/src/App.tsx:774
↓ 2 callers
Function
suggestGrid
Suggest a reasonable cols × rows grid for a frame count. * Prefers wider-than-tall (cols >= rows); falls back to N×1 for primes.
apps/web/src/components/RegenerateOptionsModal.tsx:135
↓ 2 callers
Function
summarizeConventions
()
apps/daemon/src/templates/conventions.ts:84
↓ 2 callers
Function
timeAgo
(ts: number)
apps/web/src/App.tsx:2645
↓ 2 callers
Function
toUrl
(relPath: string)
apps/web/src/components/PackReviewModal.tsx:58
↓ 2 callers
Function
to_absolute
Daemon requires absolute paths. Resolve relative paths against CWD.
apps/daemon/src/templates/agent-tools/gen-image.py:85
↓ 2 callers
Function
tone
(freq, duration, type, gainNode, gainValue)
apps/daemon/src/templates/foundation/side-scroll/seed/src/audio.js:38
↓ 2 callers
Function
trySceneExit
()
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/interaction.js:9
↓ 2 callers
Function
typeBonus
(attacker, defender)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/battle.js:107
↓ 2 callers
Function
updateCommentThread
(threadId: string, req: UpdateCommentThreadRequest)
apps/web/src/lib/api.ts:423
↓ 2 callers
Function
updateStageMetrics
()
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/dialogue.js:54
↓ 2 callers
Function
updateTouchJoystick
(clientX, clientY)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/touch.js:28
↓ 2 callers
Function
uploadFiles
(files: File[] | FileList)
apps/web/src/components/Dropzone.tsx:66
↓ 2 callers
Function
vendoredAgentToolFiles
()
apps/daemon/src/templates/bootstrap.ts:200
↓ 2 callers
Function
vendoredConventionFiles
Walk vendored conventions/ tree and produce ScaffoldFile entries * rooted at `.ogf/conventions/`.
apps/daemon/src/templates/bootstrap.ts:81
↓ 2 callers
Function
vendoredRecipeFiles
()
apps/daemon/src/templates/bootstrap.ts:168
↓ 2 callers
Function
vendoredSkillFiles
Walk the vendored skills tree and produce ScaffoldFile entries * rooted at `.agents/skills/`. Recursive so SKILL.md + references/* + * scripts/*.p
apps/daemon/src/templates/bootstrap.ts:40
↓ 2 callers
Function
walk
(dirAbs: string, relPosix: string)
apps/daemon/src/files.ts:73
↓ 2 callers
Function
walk
(absDir: string)
apps/daemon/src/server.ts:724
↓ 2 callers
Function
walkSessionFiles
(rootAbs: string, onFile: (abs: string, name: string) => void)
apps/daemon/src/codex-sessions.ts:64
↓ 2 callers
Function
webConventions
()
apps/daemon/src/templates/conventions.ts:77
↓ 2 callers
Function
worldPositionOf
Walk up the parent chain from a node, summing position vectors of every * Transform2D-bearing ancestor. Returns the node's WORLD-SPACE position *
apps/daemon/src/scenes.ts:244
↓ 2 callers
Function
writeSseSafe
Safe wrapper around writeSse: if the client socket is already dead * (ECONNRESET / write EOF when the browser closed the SSE before the * daemon f
apps/daemon/src/runs.ts:256
↓ 2 callers
Function
writeSseSafe
Same crash-shield as runs.ts's writeSseSafe — dropped Godot SSE * clients had the same potential to crash the daemon via unhandled * write-EOF on
apps/daemon/src/godot.ts:377
↓ 1 callers
Function
GODOT_PROJECT
(name: string)
apps/daemon/src/templates/bootstrap.ts:239
↓ 1 callers
Function
WEB_INDEX
(name: string)
apps/daemon/src/templates/bootstrap.ts:326
↓ 1 callers
Method
activeRunForProject
Returns the active run for a project (if any). Useful for the UI to reconnect on reload.
apps/daemon/src/godot.ts:335
↓ 1 callers
Function
activeShapes
()
apps/web/src/components/SceneEditor.tsx:836
↓ 1 callers
Function
addOwnedMitama
(id)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/progression.js:61
↓ 1 callers
Function
addPlatformAtRect
Insert a new platform into level.platforms[]. Used by the "+ platform" * toolbar tool after the user drags a rect. Tile is copied from an * ex
apps/web/src/components/SceneEditor.tsx:2144
↓ 1 callers
Function
addPropFromAsset
(image: string)
apps/web/src/components/SceneEditor.tsx:2049
↓ 1 callers
Function
analyzeProject
(rootAbs: string, engine: EngineKind)
apps/daemon/src/analyze.ts:35
↓ 1 callers
Function
anchorScreenPos
World coords of the anchor → CSS-pixel offset within the canvas wrap.
apps/web/src/components/SceneEditor.tsx:3082
↓ 1 callers
Function
applyAssetManifest
(manifest)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/config.js:89
↓ 1 callers
Function
applyAudioConfig
(config)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/audio.js:19
↓ 1 callers
Function
applyBattleStrings
(data)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/config.js:67
↓ 1 callers
Function
applyCatalogData
({ starters, enemies, items })
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/catalogs.js:17
↓ 1 callers
Function
applyFrames
(n: number)
apps/web/src/components/RegenerateOptionsModal.tsx:227
↓ 1 callers
Function
applyJsonArrayPush
Push an entry to <relPath>[<section>] WITHOUT dedup-by-id checks. * For sidecar arrays where entries don't have `id` (walkBounds polygons, * walka
apps/daemon/src/scenes.ts:1010
↓ 1 callers
Function
applyJsonDictKeyedDelete
( rootAbs: string, ref: ColliderRef & { backend: 'json' }, )
apps/daemon/src/colliders.ts:680
↓ 1 callers
Function
applyJsonDictKeyedSet
( rootAbs: string, ref: ColliderRef & { backend: 'json' }, entry: Record<string, unknown>, )
apps/daemon/src/colliders.ts:652
↓ 1 callers
Function
applyJsonPathPointEdit
Patch a single point inside `paths[id].points[index]` of a JSON * level file. Used by the Scene editor when the user drags a path * waypoint. Path
apps/daemon/src/scenes.ts:1070
↓ 1 callers
Function
applyJsonSingleFieldEdit
( rootAbs: string, ref: ColliderRef & { backend: 'json' }, patch: { x?: number; y?: number }, )
apps/daemon/src/colliders.ts:479
↓ 1 callers
Function
applyLevelMetadata
(levels)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/constants.js:12
↓ 1 callers
Function
applyMusicThemes
(themes)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/audio.js:15
↓ 1 callers
Function
applyOpToScene
(s: SceneModel, op: SceneOp)
apps/web/src/components/SceneEditor.tsx:4103
↓ 1 callers
Function
applyOpsToJsonScene
Web-scene apply path. Operates only on JSON files; never touches .tscn. * All ops MUST carry a json-backend `ref`; otherwise we can't know where to
apps/daemon/src/scenes.ts:760
↓ 1 callers
Function
applyPack
Apply a single pack atomically — copy every file in staging to live, * then unlink staging files + remove empty dirs.
apps/daemon/src/server.ts:777
↓ 1 callers
Function
applyRegen
(projectPath: string, relPath: string)
apps/web/src/lib/api.ts:248
↓ 1 callers
Function
applyRegenChange
()
apps/web/src/components/FileEditor.tsx:290
↓ 1 callers
Function
applyRuntimeConfig
(config)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/config.js:29
↓ 1 callers
Function
applyTuningData
({ progression, overworld, battle })
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/config.js:94
↓ 1 callers
Function
applyUiData
(ui)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/constants.js:8
↓ 1 callers
Function
askCodexToApplySlicing
(m: SliceMetadata)
apps/web/src/components/FileEditor.tsx:412
↓ 1 callers
Method
attach
(run: Run, res: Response, after?: number)
apps/daemon/src/runs.ts:132
↓ 1 callers
Method
attach
(runId: string, res: Response, after?: number)
apps/daemon/src/godot.ts:299
↓ 1 callers
Function
attachResult
(toolUseId: string, content: string, isError: boolean)
apps/web/src/lib/blocks.ts:65
↓ 1 callers
Function
base64Url
base64url-encode a string the same way Node's Buffer does, so the frontend * produces the same slug the daemon's /api/web-play/:slug route decodes.
apps/web/src/components/PlayPane.tsx:25
↓ 1 callers
Function
base64Url
base64url-encode the same way Node's Buffer does, so the slug matches * the daemon's /api/web-play/:slug decoder.
apps/web/src/lib/api.ts:154
↓ 1 callers
Function
battleActionEnabled
(index)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/input.js:19
↓ 1 callers
Function
battleReturnPoint
(kind)
apps/daemon/src/templates/foundation/top-down-rpg/seed/src/overworld.js:75
← previous
next →
301–400 of 996, ranked by callers