Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ad044/lainTSX
/ functions
Functions
541 in github.com/ad044/lainTSX
⨍
Functions
541
◇
Types & classes
168
↓ 409 callers
Function
vec3
(x?: number, y?: number, z?: number)
src/util.ts:4
↓ 57 callers
Function
get_texture
(texture: Texture)
src/engine.ts:292
↓ 57 callers
Function
play_audio
(sfx: SFX, loop = false)
src/engine.ts:214
↓ 41 callers
Method
set
(title: string, protocol_lines: string[], position: MatrixPosition2D)
src/site.ts:793
↓ 31 callers
Method
map
( callbackfn: (value: T, index: number, array: T[]) => U, this_arg?: any )
src/global.d.ts:4
↓ 26 callers
Function
euler
(x?: number, y?: number, z?: number)
src/util.ts:8
↓ 26 callers
Function
o
(initial_position: Vec3, final_position: Vec3, start_time: number)
src/gate.ts:96
↓ 26 callers
Method
set_texture
(textures: Texture)
src/objects.ts:548
↓ 23 callers
Method
process_animation_queue
(time_ctx: TimeContext)
src/objects.ts:1082
↓ 22 callers
Function
try_spawn_process
(cmd, process_args, spawn_args = {})
scripts/util.mjs:3
↓ 22 callers
Method
update
(time_ctx: TimeContext)
src/site.ts:1318
↓ 21 callers
Method
add_position_animation
(target: Vec3, speed: number, props?: AnimationProps)
src/objects.ts:1086
↓ 20 callers
Method
is_animating
()
src/media.ts:189
↓ 18 callers
Function
z
(initial_position: Vec3, final_position: Vec3, start_time: number)
src/gate.ts:92
↓ 17 callers
Function
secs_to_ms
(s: number)
src/util.ts:39
↓ 14 callers
Method
add_opacity_animation
(target: number, speed: number)
src/objects.ts:863
↓ 14 callers
Function
save_state
(game_state: GameState, key: string = SAVE_KEY)
src/save.ts:41
↓ 14 callers
Method
set_animation
(animation: LainAnimationKind, time: number, start_frame: number = 0)
src/lain.ts:75
↓ 13 callers
Method
is_too_early_to_animate
(animation: Animations | BaseAnimation, time: number)
src/objects.ts:150
↓ 13 callers
Method
update_save_editor
()
public/scripts/modal.js:223
↓ 12 callers
Function
get_texture_atlas
()
src/engine.ts:328
↓ 11 callers
Method
add_animations
(animations: Animations[])
src/objects.ts:1094
↓ 11 callers
Method
noise_animation
(target: number)
src/site.ts:394
↓ 11 callers
Method
pos_y_offset_animation
(target_y_offset: number, speed: number)
src/site.ts:402
↓ 10 callers
Function
create_point_light
({ position = vec3(0, 0, 0), intensity = 1, color = 0xffffff, distance = 0, }: LightParameters
src/objects.ts:999
↓ 9 callers
Method
get_character
(position: MatrixPosition2D)
src/boot.ts:282
↓ 9 callers
Function
get_level_count
(site: SiteKind)
src/site.ts:175
↓ 9 callers
Function
reset_camera_tilt
(site: SiteScene)
src/site.ts:2121
↓ 8 callers
Method
load
(media_src: string, track_src?: string)
src/media_player.ts:71
↓ 8 callers
Method
play
()
src/media_player.ts:98
↓ 8 callers
Function
random_from
(arr: T[])
src/util.ts:12
↓ 8 callers
Method
scale_hide
()
src/objects.ts:907
↓ 8 callers
Method
set_uniform
(this: Mesh<G, THREE.ShaderMaterial>, key: string, value: any)
src/objects.ts:1131
↓ 7 callers
Method
activate
()
src/media.ts:97
↓ 7 callers
Method
close
()
src/prompt.ts:119
↓ 7 callers
Method
deactivate
()
src/media.ts:101
↓ 7 callers
Function
get_level_y
(level: number)
src/site.ts:171
↓ 7 callers
Method
log_error
(err: any)
src/media_player.ts:112
↓ 7 callers
Method
scale_show
()
src/objects.ts:915
↓ 7 callers
Method
set_text
(str: string)
src/text.ts:650
↓ 7 callers
Method
update
(time_ctx: TimeContext)
src/media.ts:201
↓ 6 callers
Method
clear_animations
()
src/objects.ts:1139
↓ 6 callers
Function
get_bounding_box
(object: THREE.Object3D)
src/util.ts:103
↓ 6 callers
Function
get_node_segment_matrix
( segment: number, level: number, site_layout: SiteLayout<T> )
src/node.ts:331
↓ 6 callers
Function
navigate
(site: SiteScene, direction: Direction, time: number, rotate_immediately?: boolean)
src/site.ts:1702
↓ 6 callers
Function
random_between
(min: number, max: number)
src/util.ts:16
↓ 6 callers
Method
reset_and_pause
()
src/media_player.ts:54
↓ 6 callers
Method
set_animations
(animations: Animations[])
src/site.ts:409
↓ 6 callers
Method
set_mode
(mode: PauseMenuMode, time: number)
src/pause.ts:588
↓ 6 callers
Function
set_node_as_viewed
(node_id: NodeID, game_state: GameState)
src/node.ts:1106
↓ 6 callers
Method
update_modal_content
()
public/scripts/console.js:161
↓ 6 callers
Method
update_polytan_part
(is_unlocked, id, name)
public/scripts/modal.js:213
↓ 5 callers
Function
adjust_node_animations
(node_animations: Animations[], node: Node, angle: number)
src/node.ts:612
↓ 5 callers
Function
animate_number_towards
(from: number, target: number, speed: number)
src/objects.ts:1358
↓ 5 callers
Function
animate_object_position
(mesh: THREE.Object3D, target: Vec3, speed: number)
src/objects.ts:1198
↓ 5 callers
Function
clamp_between
(n: number, a: number, b: number)
src/util.ts:47
↓ 5 callers
Function
create_path_curve
(target_positions: Vec3[], node: Node, angle: number)
src/node.ts:607
↓ 5 callers
Function
extract_frame
( atlas: THREE.Texture, atlas_w: number, atlas_h: number, x: number, y: number, frame_
src/util.ts:85
↓ 5 callers
Function
get_audio_media_file_path
(media_file: string)
src/media_player.ts:7
↓ 5 callers
Function
get_current_location
(game_state: GameState)
src/save.ts:231
↓ 5 callers
Method
get_current_word
()
src/media.ts:193
↓ 5 callers
Method
get_length
()
src/text.ts:176
↓ 5 callers
Function
get_name_selection_character_index
(position: MatrixPosition2D)
src/boot.ts:44
↓ 5 callers
Function
get_node
(cursor_location: CursorLocation, layout: SiteLayout<T>)
src/node.ts:523
↓ 5 callers
Function
get_talk_lapk
(index: number)
src/engine.ts:406
↓ 5 callers
Function
get_track_path
(node_name: string)
src/media_player.ts:15
↓ 5 callers
Method
is_navigating
()
src/lain.ts:95
↓ 5 callers
Method
is_standing
()
src/lain.ts:87
↓ 5 callers
Function
node_small_scale
()
src/node.ts:229
↓ 5 callers
Method
open
()
src/prompt.ts:115
↓ 5 callers
Method
position_towards
(target: Vec3, speed: number)
src/objects.ts:1106
↓ 5 callers
Function
set_plane_object_scale_proportionally
(mesh: THREE.Mesh<T, M> | THREE.Sprite, scale_factor: number)
src/objects.ts:1181
↓ 5 callers
Method
update_console_button
()
public/scripts/console.js:25
↓ 4 callers
Function
animate_object_x_rotation
(mesh: THREE.Object3D, target: number, speed: number)
src/objects.ts:1265
↓ 4 callers
Function
any_key_pressed
(key_states: boolean[])
src/util.ts:81
↓ 4 callers
Method
flip_texture
(this: Mesh<G, THREE.MeshBasicMaterial>, flip_x: boolean, flip_y: boolean)
src/objects.ts:1143
↓ 4 callers
Method
get_all_elements
()
src/site.ts:764
↓ 4 callers
Method
get_elapsed_percentage
()
src/media_player.ts:103
↓ 4 callers
Function
get_node_matrix_row
(full_row: SiteRow<T>, segment: number)
src/node.ts:322
↓ 4 callers
Function
get_node_name_position
(node_matrix_position: MatrixPosition2D)
src/site.ts:184
↓ 4 callers
Function
get_text_y_placement_below
(text: Sprite3D)
src/boot.ts:529
↓ 4 callers
Method
is_paused
()
src/media_player.ts:50
↓ 4 callers
Method
set_item
(item: PauseMenuItem)
src/pause.ts:571
↓ 4 callers
Function
set_node
( site: SiteScene, new_cursor_location: CursorLocation, time: number, is_instant: boolean = fa
src/site.ts:1518
↓ 4 callers
Method
set_position
(position: Vec3)
src/text.ts:184
↓ 4 callers
Method
update_glyphs
()
src/boot.ts:179
↓ 4 callers
Method
wobble_animation
(target: number)
src/site.ts:386
↓ 3 callers
Function
activate_node
( node_mesh: Mesh<M, THREE.ShaderMaterial>, time: number )
src/node.ts:1092
↓ 3 callers
Method
add_scale_animation
(target: Vec3, speed: number)
src/objects.ts:1098
↓ 3 callers
Method
all_in_place
()
src/text.ts:405
↓ 3 callers
Function
animate_object_rotation
(mesh: THREE.Object3D, target: THREE.Euler, speed: number)
src/objects.ts:1252
↓ 3 callers
Function
animate_object_scale
(mesh: THREE.Object3D, target: Vec3, speed: number)
src/objects.ts:1240
↓ 3 callers
Function
animate_object_y_rotation
(mesh: THREE.Object3D, target: number, speed: number)
src/objects.ts:1280
↓ 3 callers
Method
clear_selection
()
public/scripts/emotewheel.js:51
↓ 3 callers
Function
component_to_hex
(c)
scripts/extract_sprites.mjs:45
↓ 3 callers
Function
create_digit_geometry
(digit: number)
src/level_selector.ts:19
↓ 3 callers
Method
decode
(io)
scripts/lain_compress.cjs:5
↓ 3 callers
Function
get_lain_animation_frame
(kind: LainAnimationKind, frame_number: number)
src/lain.ts:49
↓ 3 callers
Function
get_lain_talk_animation_frame
(kind: LainTalkAnimationKind, frame_number: number)
src/lain.ts:182
↓ 3 callers
Function
get_lain_visibility_change_interval
()
src/end.ts:99
next →
1–100 of 541, ranked by callers