Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.03 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.03 KB

RKTE

Development

trunk serve

bevy core concepts

Tutorial

bevy pysics

CI/CD

this repo is generated from https://github.com/NiklasEi/bevy_game_template. check out the repo for details about the setup, build and deployment.

Multiplayer

https://johanhelsing.studio/posts/extreme-bevy

todo

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; } }