Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanTanDev/macroquad_tantan_toolbox
/ functions
Functions
49 in github.com/TanTanDev/macroquad_tantan_toolbox
⨍
Functions
49
◇
Types & classes
32
↓ 4 callers
Method
take
(&mut self)
src/states.rs:77
↓ 3 callers
Method
draw
(&self, current_camera: &dyn Camera)
src/water.rs:137
↓ 3 callers
Method
draw_ex
( &mut self, base_texture: Texture2D, into_texture: Texture2D, progress: f32,
src/transition.rs:23
↓ 3 callers
Method
on_enter
(&mut self, _payload: StateManagerPayload<S>)
src/states.rs:16
↓ 3 callers
Method
update
(&mut self, dt: f32)
src/water.rs:133
↓ 2 callers
Method
add_animation
( &mut self, start_frame: i32, end_frame: i32, loop_frame: Option<i32>,
src/animation.rs:62
↓ 2 callers
Method
get_or_panic
(&mut self, key: TextureIdentifier)
src/resources.rs:110
↓ 2 callers
Method
on_draw
(&mut self, _payload: StateManagerPayload<S>)
src/states.rs:23
↓ 2 callers
Method
on_exit
(&mut self, _payload: StateManagerPayload<S>)
src/states.rs:17
↓ 2 callers
Method
play_animation
(&mut self, identifier: A)
src/animation.rs:105
↓ 1 callers
Method
build
( builder: &mut ResourceBuilder<TextureIdentifier, Self, Texture2D, DefaultFactory>, )
examples/states.rs:92
↓ 1 callers
Method
change_state
change state instantly without transition
src/states.rs:182
↓ 1 callers
Method
change_state_ex
change state with transition
src/states.rs:197
↓ 1 callers
Method
change_transition_tex
(&mut self, texture: Texture2D)
src/transition.rs:49
↓ 1 callers
Method
draw_ex
(&mut self, pos: Vec2, progress: f32, _draw_param: DrawParam)
src/progress_bar.rs:24
↓ 1 callers
Function
draw_ui
(water: &mut Water)
examples/water.rs:106
↓ 1 callers
Method
load_next
(&mut self)
src/resources.rs:82
↓ 1 callers
Method
on_update
( &mut self, _delta_time: f32, _payload: &mut StateManagerPayload<SharedData>, )
examples/states.rs:12
↓ 1 callers
Method
progress
(&self)
src/states.rs:43
↓ 1 callers
Method
total_time
(&self)
src/animation.rs:19
Method
build
(&mut self)
src/resources.rs:116
Method
change_rendertarget
(mut camera: &mut Camera2D, target: RenderTarget)
src/states.rs:268
Method
default
()
src/states.rs:64
Method
default
()
src/transition.rs:8
Method
default
()
src/progress_bar.rs:6
Method
default
()
examples/states.rs:215
Method
draw
call the current states, draw funciton
src/states.rs:274
Method
draw
(&mut self, base_texture: Texture2D, into_texture: Texture2D, progress: f32)
src/transition.rs:19
Method
draw
(&mut self, pos: Vec2, progress: f32)
src/progress_bar.rs:20
Method
draw
(&self, pos: &Vec2, flip_x: bool)
src/animation.rs:125
Method
load_resource
(path: &str)
src/resources.rs:12
Function
main
()
examples/water.rs:7
Function
main
()
examples/transition_simple.rs:8
Function
main
()
examples/states.rs:221
Function
main
()
examples/animation.rs:13
Method
new
(queued_resources: Vec<(TextureIdentifier, &'static str)>)
src/resources.rs:71
Method
new
( ctx: &mut Context, tex_water_normal: Texture2D, tex_target: Texture2D, flip_
src/water.rs:38
Method
new
( initial_state: Box<dyn State<T, S>>, rendertarget_size: RenderTargetSize, camera: Ca
src/states.rs:138
Method
new
(transition_tex: Texture2D, fade: f32)
src/transition.rs:53
Method
new
(texture: Texture2D, texture_border: Texture2D, inner_offset: Vec2)
src/progress_bar.rs:43
Method
new
(columns: f32, rows: f32, texture: Texture2D, start_animation: A)
src/animation.rs:46
Method
new
(into_state: Box<dyn State<TransitionData, SharedData>>)
examples/states.rs:73
Method
on_draw
(&mut self, _payload: StateManagerPayload<SharedData>)
examples/states.rs:26
Method
on_enter
(&mut self, _payload: StateManagerPayload<SharedData>)
examples/states.rs:132
Method
play_animation_then
playe animation then the second one right after
src/animation.rs:115
Method
progress
(&mut self)
src/resources.rs:102
Function
test
(path: &str)
src/resources.rs:61
Method
update
updates the current state, might handle transitioning
src/states.rs:223
Method
update
(&mut self, dt: f32)
src/animation.rs:81