Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShamylZakariya/Platformer
/ functions
Functions
612 in github.com/ShamylZakariya/Platformer
⨍
Functions
612
◇
Types & classes
98
↓ 1 callers
Method
offset_model_position
(&mut self, delta: Vector3<f32>)
src/sprite/rendering.rs:183
↓ 1 callers
Method
on_boss_arena_entered
( &mut self, _message_dispatcher: &mut event_dispatch::Dispatcher, arena_left_bounds:
src/state/game_state.rs:1127
↓ 1 callers
Method
on_boss_died
( &mut self, audio: &mut audio::Audio, message_dispatcher: &mut event_dispatch::Dispat
src/state/game_state.rs:1162
↓ 1 callers
Method
on_boss_was_defeated
( &mut self, audio: &mut audio::Audio, _message_dispatcher: &mut event_dispatch::Dispa
src/state/game_state.rs:1139
↓ 1 callers
Method
on_level_complete
(&mut self)
src/state/game_state.rs:1187
↓ 1 callers
Method
on_player_dead
( &mut self, entity_id_vendor: &mut entity::IdVendor, _message_dispatcher: &mut event_
src/state/game_state.rs:1173
↓ 1 callers
Method
overlapping_sprites
(&self)
src/entities/firebrand.rs:958
↓ 1 callers
Method
override_user_input
(&mut self, left: bool, right: bool, jump: bool, fire: bool)
src/entities/firebrand.rs:203
↓ 1 callers
Method
palette_shift
(&self)
src/state/game_state.rs:880
↓ 1 callers
Method
palette_shift
(&self)
src/state/game_ui.rs:476
↓ 1 callers
Method
pause_current_track
(&mut self)
src/audio.rs:189
↓ 1 callers
Method
player_can_shoot_fireball
Returns true iff the player can shoot.
src/state/game_state.rs:956
↓ 1 callers
Method
position
(&self)
src/entities/flying_fish.rs:185
↓ 1 callers
Method
position
(&self)
src/entities/death_animation.rs:145
↓ 1 callers
Method
position
(&self)
src/entities/firebrand.rs:911
↓ 1 callers
Method
position
(&self)
src/entities/fireball.rs:194
↓ 1 callers
Method
position
(&self)
src/entities/hoodie.rs:164
↓ 1 callers
Method
ppp
(&mut self, v: f32)
src/state/debug_overlay.rs:68
↓ 1 callers
Method
process_contacts
(&mut self, message_dispatcher: &mut Dispatcher)
src/entities/firebrand.rs:1001
↓ 1 callers
Method
process_gamepad
(&mut self, event: gilrs::Event)
src/entities/firebrand.rs:426
↓ 1 callers
Method
process_keyboard
(&mut self, key: KeyCode, state: ElementState)
src/entities/firebrand.rs:160
↓ 1 callers
Method
process_scroll
(&mut self, delta: &MouseScrollDelta)
src/camera.rs:206
↓ 1 callers
Method
property
(&self, named: &str)
src/map.rs:77
↓ 1 callers
Method
receive_powerup
(&mut self, powerup_type: power_up::Type)
src/entities/firebrand.rs:1531
↓ 1 callers
Function
rect_rect_intersects
Returns true if the two rectangle
src/collision.rs:20
↓ 1 callers
Method
render
( &mut self, gpu: &mut GpuState, output: &wgpu::SurfaceTexture, encoder: &mut
src/state/debug_overlay.rs:186
↓ 1 callers
Method
render
( &mut self, encoder: &mut wgpu::CommandEncoder, output: &wgpu::SurfaceTexture,
src/state/app_state.rs:246
↓ 1 callers
Method
render_column_averaging_pass
(&mut self, encoder: &mut wgpu::CommandEncoder)
src/state/lcd_filter.rs:578
↓ 1 callers
Method
render_display_pass
( &mut self, gpu: &mut gpu_state::GpuState, output: &wgpu::SurfaceTexture, enc
src/state/lcd_filter.rs:367
↓ 1 callers
Method
render_gui
(&mut self, input: UiStateInput)
src/state/debug_overlay.rs:223
↓ 1 callers
Method
restart_game_at_checkpoint
( &mut self, start_checkpoint: u32, lives_remaining: u32, message_dispatcher:
src/state/game_state.rs:884
↓ 1 callers
Method
resume_current_track
(&mut self)
src/audio.rs:199
↓ 1 callers
Function
run
(options: Options)
src/main.rs:120
↓ 1 callers
Method
set
Reassign button state to the provided one - this is intended for situations where overriding user input is necessary.
src/input.rs:82
↓ 1 callers
Method
set_camera_position
(&mut self, camera_position: Point2<f32>)
src/state/lcd_filter.rs:123
↓ 1 callers
Method
set_color_attachment_extent
(&mut self, extent: wgpu::Extent3d)
src/state/lcd_filter.rs:133
↓ 1 callers
Method
set_color_attachment_history_count
(&mut self, count: u32)
src/state/lcd_filter.rs:145
↓ 1 callers
Method
set_color_attachment_layer_index
(&mut self, index: u32)
src/state/lcd_filter.rs:140
↓ 1 callers
Method
set_context_size
(&mut self, output_size: Vector2<f32>)
src/state/lcd_filter.rs:80
↓ 1 callers
Method
set_frame
(&self, sprite_uniforms: &mut Uniforms, frame: usize)
src/sprite/rendering.rs:690
↓ 1 callers
Method
set_lcd_hysteresis
(&mut self, hysteresis: Option<std::time::Duration>)
src/state/lcd_filter.rs:238
↓ 1 callers
Method
set_lcd_reflector_sparkle_alpha
( &mut self, lcd_reflector_sparkle_alpha: f32, )
src/state/lcd_filter.rs:115
↓ 1 callers
Method
set_lcd_resolution
(&mut self, width: f32, height: f32)
src/state/lcd_filter.rs:150
↓ 1 callers
Method
set_pixel_effect_alpha
(&mut self, pixel_effect_alpha: f32)
src/state/lcd_filter.rs:85
↓ 1 callers
Method
set_pixel_effect_hardness
(&mut self, pixel_effect_hardness: f32)
src/state/lcd_filter.rs:90
↓ 1 callers
Method
set_position
(&mut self, position: Point3<f32>)
src/camera.rs:54
↓ 1 callers
Method
set_tex_coord_offset
(&mut self, tex_coord_offset: Vector2<f32>)
src/sprite/rendering.rs:198
↓ 1 callers
Method
set_viewport_size
(&mut self, viewport_size: Vector2<f32>)
src/state/lcd_filter.rs:75
↓ 1 callers
Method
shoot_fireball
(&mut self, message_dispatcher: &mut Dispatcher)
src/entities/firebrand.rs:988
↓ 1 callers
Method
should_draw
(&self)
src/entities/falling_bridge.rs:115
↓ 1 callers
Method
show_game_over_message
(&mut self)
src/state/game_ui.rs:488
↓ 1 callers
Method
show_level_complete_message
(&mut self)
src/state/game_ui.rs:492
↓ 1 callers
Method
show_start_message
(&mut self)
src/state/game_ui.rs:484
↓ 1 callers
Method
size
(&self)
src/state/gpu_state.rs:122
↓ 1 callers
Method
stage_sprites
(&self)
src/entities/exit_door.rs:140
↓ 1 callers
Method
terminate
kills entity without playing a death animation - useful for "resetting" an entity after it goes offscreen
src/entities/util.rs:219
↓ 1 callers
Function
test_points
( collider: &Collider, )
src/collision.rs:1257
↓ 1 callers
Method
test_rect_first
Tests if a rect intersects with a dynamic or static collider, returning first hit. Filters by mask, such that only sprites with matching mask bits wil
src/collision.rs:1012
↓ 1 callers
Method
top
(&self)
src/collision.rs:640
↓ 1 callers
Method
try_get_firebrand
(&self)
src/state/game_state.rs:1033
↓ 1 callers
Method
update
( &mut self, time: std::time::Instant, delta_time: std::time::Duration, frame_
src/state/app_state.rs:197
↓ 1 callers
Method
update_entity_visibility
For each entity, dispatches did_enter_viewport or did_leave_viewport as needed.
src/state/game_state.rs:974
↓ 1 callers
Method
update_phase
( &mut self, dt: f32, game_state_peek: &GameStatePeek, message_dispatcher: &mu
src/entities/boss_fish.rs:346
↓ 1 callers
Method
velocity
(&self)
src/entities/death_animation.rs:66
Method
about_to_wait
(&mut self, _event_loop: &winit::event_loop::ActiveEventLoop)
src/main.rs:114
Method
aspect
(&self)
src/camera.rs:111
Method
bind_group_layout
(device: &wgpu::Device)
src/sprite/rendering.rs:249
Method
bottom
(&self)
src/util.rs:95
Method
bounds
The bounds of the entity, expressed as (origin, extent) Note: An entity's bounds origin are not necessarily same as the entity's position. Default imp
src/entity.rs:146
Method
bounds
Returns bounds of map as tuple of (origin,extent)
src/map.rs:504
Method
bounds
(&self)
src/entities/death_animation.rs:149
Function
build_stage_entities
()
src/state/game_state.rs:48
Method
contacting_sprites
Return a set of contacting sprites used for debug visualization, or None if not applicable.
src/entity.rs:170
Function
contains_works
()
src/collision.rs:1373
Method
create_color_texture
( device: &wgpu::Device, width: u32, height: u32, format: wgpu::TextureFormat,
src/texture.rs:151
Method
create_color_texture_array
( device: &wgpu::Device, width: u32, height: u32, count: u32, format:
src/texture.rs:201
Method
create_column_averaging_pass
( gpu: &mut gpu_state::GpuState, lcd_uniforms: &LcdUniforms, color_format: wgpu::Textu
src/state/lcd_filter.rs:627
Method
create_column_averaging_pass_textures_bind_group
( gpu: &gpu_state::GpuState, layout: &wgpu::BindGroupLayout, )
src/state/lcd_filter.rs:607
Method
create_depth_texture
( device: &wgpu::Device, config: &wgpu::SurfaceConfiguration, label: &str, )
src/texture.rs:105
Method
create_display_pass
( gpu: &mut gpu_state::GpuState, lcd_uniforms: &LcdUniforms, color_format: wgpu::Textu
src/state/lcd_filter.rs:436
Method
create_display_pass_textures_bind_group
( gpu: &gpu_state::GpuState, layout: &wgpu::BindGroupLayout, tonemap: &wgpu::TextureVi
src/state/lcd_filter.rs:401
Function
cross
Simple corss product for 2D vectors; cgmath doesn't define this because cross product doesn't make sense generally for 2D.
src/sprite/core.rs:62
Method
current_track_is_paused
(&mut self)
src/audio.rs:209
Method
deactivate_collider
Called on an entity before removing it from GameState
src/entity.rs:122
Method
deactivate_collider
(&mut self, collider_id: u32)
src/collision.rs:742
Method
deactivate_collider
(&mut self, collision_space: &mut collision::Space)
src/entities/flying_fish.rs:166
Method
deactivate_collider
(&mut self, collision_space: &mut collision::Space)
src/entities/ui_health_dot.rs:78
Method
deactivate_collider
(&mut self, collision_space: &mut collision::Space)
src/entities/fire_sprite.rs:153
Method
deactivate_collider
(&mut self, collision_space: &mut collision::Space)
src/entities/rising_floor.rs:101
Method
deactivate_collider
(&mut self, collision_space: &mut collision::Space)
src/entities/hoodie.rs:145
Method
default
()
src/camera.rs:150
Method
default
()
src/entity.rs:23
Method
default
()
src/util.rs:73
Method
default
()
src/map.rs:25
Method
default
()
src/state/game_controller.rs:26
Method
default
()
src/state/lcd_filter.rs:50
Method
default
()
src/entities/flying_fish.rs:42
Method
default
()
src/entities/falling_bridge.rs:32
Method
default
()
src/entities/ui_health_dot.rs:25
Method
default
()
src/entities/spawn_point.rs:24
← previous
next →
201–300 of 612, ranked by callers