MCPcopy Create free account

hub / github.com/TheSeekerGame/TheSeeker / functions

Functions559 in github.com/TheSeekerGame/TheSeeker

↓ 88 callersMethodinsert
(&mut self, entity: Entity, label: &str)
engine/src/script/label.rs:18
↓ 78 callersMethodget
(&self)
game/src/game/pickups.rs:52
↓ 71 callersMethodspawn
(&mut self, bundle: B)
game/src/ui.rs:136
↓ 70 callersFunctionupdate_field
A utility type for loading config values. Use like: ``` let mut errors = Vec::new(); update_field(&mut errors, &dynamic_cfg.0, "jump_vel_init", |val|
engine/src/assets/config.rs:66
↓ 52 callersMethodset_slot
(&mut self, slot: &str, state: bool)
engine/src/script.rs:824
↓ 39 callersMethodtext
(&mut self, value: impl Into<String>)
game/src/ui/popup.rs:111
↓ 37 callersMethodplay_key
(&mut self, key: &str)
engine/src/script.rs:744
↓ 35 callersMethodcontrol_icon
(&mut self, value: impl Into<String>)
game/src/ui/popup.rs:125
↓ 26 callersMethodtick
Get the current tick number to be simulated Increments with every run of the `GameTickUpdate` schedule, until it reaches the `total_ticks` target val
engine/src/time.rs:120
↓ 21 callersMethodremove
(&mut self, id: PreciseAudioId)
engine/src/audio/mixer.rs:74
↓ 20 callersMethodget
(&self, stat: StatType)
game/src/game/player/mod.rs:1104
↓ 19 callersMethodrow
(&mut self)
game/src/ui/popup.rs:93
↓ 16 callersMethodadd
(&mut self, next: T)
game/src/game/gentstate.rs:48
↓ 16 callersMethodset
(&mut self, stat: StatType, value: f32)
game/src/game/player/mod.rs:1108
↓ 15 callersMethoddirection
(&self)
game/src/game/gentstate.rs:77
↓ 13 callersMethodnext
(&self)
game/src/game/merchant.rs:153
↓ 10 callersMethodnext
(&mut self)
engine/src/audio/mixer.rs:303
↓ 10 callersMethodresolve_frame
( &self, bm: Option<&String>, frame: &FrameIndexOrBookmark, )
engine/src/animation.rs:76
↓ 9 callersMethodcontainer
(&mut self)
game/src/ui/popup.rs:70
↓ 9 callersMethodis_changed
(&self)
game/src/game/player/player_weapon.rs:129
↓ 8 callersFunctioninto_vec
Utility to convert from [`Vec2`] to rapier compatible structure
engine/src/physics.rs:544
↓ 7 callersMethodadd
(self, rhs: FrameId)
engine/src/assets/animation.rs:207
↓ 7 callersMethodas_sprite_index
(self)
engine/src/assets/animation.rs:188
↓ 7 callersMethodchannels
(&self)
engine/src/audio/mixer.rs:484
↓ 7 callersMethodcurrent_key
Get the asset key of the script that is currently playing, if known. Note: since it is possible to play assets using handles, the key might not be kn
engine/src/script.rs:931
↓ 7 callersMethodray_cast
( &self, origin: Vec2, cast: Vec2, max_toi: f32, solid: bool,
engine/src/physics.rs:269
↓ 6 callersMethodinit
( &mut self, entity: Entity, settings: &Self::Settings, _metadata: &ScriptMeta
engine/src/animation.rs:447
↓ 6 callersFunctionis_zero
(value: f64)
engine/src/ballistics_math.rs:6
↓ 5 callersMethodintersect
( &self, origin: Vec2, shape: &dyn Shape, interaction: InteractionGroups,
engine/src/physics.rs:304
↓ 5 callersMethodis_down_dash
(&self)
game/src/game/player/mod.rs:613
↓ 5 callersMethodresolve_bookmark
(&self, bm: Option<&String>)
engine/src/animation.rs:62
↓ 5 callersMethodshape_cast
( &self, origin: Vec2, direction: Direction2d, shape: &dyn Shape, max_
engine/src/physics.rs:235
↓ 4 callersMethodability_widget
Draws a 96.0x96.0 tile with a progress bar overlaid. modify
game/src/ui/ability_widget.rs:25
↓ 4 callersMethodcheck
Check if a value matches
engine/src/data.rs:287
↓ 4 callersMethodcollider2entity
Small utility function that gets the entity associated with the collider; panics if entity does not exist.
engine/src/physics.rs:362
↓ 4 callersMethoddecoder
(&self)
engine/src/audio.rs:51
↓ 4 callersFunctionenemy_anim_prefix
Outputs "anim.{enemy}{tier}"
game/src/game/enemy.rs:2050
↓ 4 callersMethodfactor
(&'a mut self, factor: f32)
game/src/ui/ability_widget.rs:138
↓ 4 callersMethodget_anim_key
(&self, action: &str)
game/src/game/player/player_weapon.rs:135
↓ 4 callersMethodget_asset
(&self, key: &str)
engine/src/assets.rs:128
↓ 4 callersMethodget_single_asset
(&self, key: &str)
engine/src/assets.rs:136
↓ 4 callersMethodpopup
(&mut self)
game/src/ui/popup.rs:174
↓ 4 callersMethodset_auto_next_frame
(&mut self, current: FrameId)
engine/src/animation.rs:98
↓ 4 callersMethodset_slot
( &mut self, timing: ScriptActionTiming, slot: &str, state: bool, )
engine/src/script/common.rs:351
↓ 4 callersFunctionsolve_quadric
(c0: f64, c1: f64, c2: f64, s0: &mut f64, s1: &mut f64)
engine/src/ballistics_math.rs:20
↓ 4 callersMethodspecialize
(&self, key: Self::Key)
game/src/graphics/dof/mod.rs:960
↓ 4 callersMethodupdate
Every Bevy frame, this gets called to advance the tick counters
engine/src/time.rs:154
↓ 3 callersMethoddash_duration
(&self, config: &PlayerConfig)
game/src/game/player/mod.rs:606
↓ 3 callersFunctionget_cubic_root
(value: f64)
engine/src/ballistics_math.rs:10
↓ 3 callersFunctioninto_vec2
Utility to convert from rapier type to [`Vec2`]
engine/src/physics.rs:549
↓ 3 callersMethodplay_at_sample_number
( &self, label: Option<&str>, start_at_sample_number: Option<i64>, source: T,
engine/src/audio/mixer.rs:193
↓ 3 callersMethodsliding
Player is sliding if f32 value is less then the coyote time f32 starts incrementing when the player stops pressing into the wall
game/src/game/player/mod.rs:749
↓ 3 callersMethodspacer
(&mut self)
game/src/ui/popup.rs:158
↓ 3 callersMethodtime_in_seconds
returns the amount of time since start; ie: ticks * tick length
engine/src/time.rs:167
↓ 2 callersMethodadd_action
( mut self, run_if: &T::RunIf, action: &T::Action, params: &T::ActionParams,
engine/src/script.rs:303
↓ 2 callersMethodbuild
(&self, app: &mut App)
game/src/locale.rs:11
↓ 2 callersMethodbuild
(&self, app: &mut App)
engine/src/script.rs:16
↓ 2 callersMethodbuild
(&self, app: &mut App)
engine/src/physics.rs:18
↓ 2 callersFunctionbutton
For use in sickle_ui contexts, use like: ```rust button( row, // any &mut UiBuilder<Entity> type OnClick::new().system(new_game), "YourButtonTextHere
game/src/ui.rs:98
↓ 2 callersMethodcast
( &self, physics_world: &PhysicsWorld, transform: &Transform, ignore: Option<E
engine/src/physics.rs:196
↓ 2 callersFunctionclamp_camera_to_edge
( camera_transform: &mut Transform, background_rect: Rect, camera_rect: Rect, )
game/src/camera.rs:274
↓ 2 callersMethoddo_stop
( &mut self, _entity: Entity, _settings: &Self::Settings, _param: &mut <Self::
engine/src/script.rs:175
↓ 2 callersFunctionexit_dash
(transitions: &mut TransitionQueue, is_grounded: bool)
game/src/game/player/player_behaviour.rs:628
↓ 2 callersMethodget_handle
(&self, value: &u8)
game/src/game/merchant.rs:502
↓ 2 callersMethodget_multi_asset
(&self, key: &str)
engine/src/assets.rs:157
↓ 2 callersFunctionget_stealth_boost
(stealth: bool)
game/src/game/player/player_behaviour.rs:359
↓ 2 callersMethodis_end
(self)
engine/src/script.rs:241
↓ 2 callersMethodis_loop
(self)
engine/src/script.rs:237
↓ 2 callersMethodis_pressed_against_wall
Checks that player is actually against the wall, rather then it being close enough time from the player having left the wall to still jump (ie: not wa
game/src/game/player/mod.rs:760
↓ 2 callersMethodlast_step
(&self)
game/src/game/merchant.rs:145
↓ 2 callersMethodlast_update
Get the "elapsed" time when we last updated
engine/src/time.rs:140
↓ 2 callersFunctionparse_puzzle_id
Attempts to extract a numeric ID from a [Name] component by stripping a [str] prefix. Returns 0 if the parsing is unsuccessful.
game/src/game/switches.rs:212
↓ 2 callersMethodplay_at_tick
( &self, label: Option<&str>, tick: u32, offset_nanos: i32, source: T,
engine/src/audio/mixer.rs:271
↓ 2 callersMethodplay_handle
(&mut self, script: Handle<T>)
engine/src/script.rs:711
↓ 2 callersMethodreplace_config
(&mut self, config: &ScriptConfig)
engine/src/script.rs:299
↓ 2 callersMethodreset
(&mut self)
game/src/game/player/mod.rs:738
↓ 2 callersMethodresolve_image_atlas
( &self, preloaded: &PreloadedAssets, anim_key: Option<&str>, )
engine/src/assets/animation.rs:147
↓ 2 callersMethodrun
( &self, entity: Entity, timing: ScriptActionTiming, actionparams: &Self::Acti
engine/src/animation.rs:276
↓ 2 callersMethodsample_count
(&self)
engine/src/audio/mixer.rs:143
↓ 2 callersMethodset_player_velocity
( &self, velocity: &mut LinearVelocity, facing: &Facing, config: &PlayerConfig
game/src/game/player/mod.rs:617
↓ 2 callersMethodshould_run
( &self, _entity: Entity, _tracker: &mut Self::Tracker, _action_id: ActionId,
engine/src/script.rs:212
↓ 2 callersFunctionsolve_cubic
( c0: f64, c1: f64, c2: f64, c3: f64, s0: &mut f64, s1: &mut f64, s2: &mut f64, )
engine/src/ballistics_math.rs:43
↓ 2 callersFunctionspawn_menuentry
( commands: &mut Commands, uiassets: &UiAssets, behavior: OnClick, text: &'static str, )
game/src/ui.rs:42
↓ 2 callersMethodtracker_mut
(&mut self)
engine/src/script.rs:319
↓ 2 callersFunctionupdate_enemy_config
(config: &mut EnemyConfig, cfg: &DynamicConfig)
game/src/game/enemy.rs:136
↓ 2 callersFunctionupdate_player_config
(config: &mut PlayerConfig, cfg: &DynamicConfig)
game/src/game/player/mod.rs:969
↓ 2 callersMethodwith_max_targets
(mut self, max_targets: u32)
game/src/game/attack/mod.rs:146
↓ 1 callersFunctionadd_dash_strike_collider
( mut commands: &mut Commands, entity: Entity, gent: &Gent, facing: &Facing, stealthed: bo
game/src/game/player/player_behaviour.rs:650
↓ 1 callersMethodadd_passive
TODO: return result?
game/src/game/player/mod.rs:173
↓ 1 callersMethodadd_schedule
add a schedule to be stepped when stepping is enabled
game/src/stepping_egui.rs:20
↓ 1 callersMethodadd_to_label
(&mut self, label: &str, id: PreciseAudioId)
engine/src/audio/mixer.rs:53
↓ 1 callersMethodapply
(&self, camera_transform: &mut Transform)
game/src/camera.rs:311
↓ 1 callersMethodapply
Quantize a value Takes the raw value and returns the last value according to the quantization parameters.
engine/src/data.rs:276
↓ 1 callersMethodas_float
(&self)
engine/src/assets/config.rs:23
↓ 1 callersMethodasset_key
(&self)
engine/src/script.rs:295
↓ 1 callersMethodattack_lifetime
Returns the attack collider lifetime based on melee weapon and passives: For Sword: default = 16, if (SerpentRing or FrenziedAttack) active then 12 Fo
game/src/game/player/player_weapon.rs:59
↓ 1 callersFunctionbackground_rect
(bg_layer: &LayerMetadata, bg_transform: &Transform)
game/src/camera.rs:258
↓ 1 callersFunctionballistic_speed
Given a range and gravity, finds the needed speed
engine/src/ballistics_math.rs:261
↓ 1 callersMethodbase_damage
(&self)
game/src/game/player/player_weapon.rs:82
↓ 1 callersMethodbuild
(&self, app: &mut App)
engine/src/assets.rs:22
next →1–100 of 559, ranked by callers