trunk serve
this repo is generated from https://github.com/NiklasEi/bevy_game_template. check out the repo for details about the setup, build and deployment.
https://johanhelsing.studio/posts/extreme-bevy
add fixed time
fn move_player( time: Res, actions: Res, mut player_query: Query<&mut Transform, With>, ) { if actions.player_movement.is_none() { return; } let speed = 150.; let movement = Vec3::new( actions.player_movement.unwrap().x * speed * time.delta_seconds(), actions.player_movement.unwrap().y * speed * time.delta_seconds(), 0., ); for mut player_transform in &mut player_query { player_transform.translation += movement; } }