Showing results for

player

movement

on mq.agical.se
mq.agical.se › ch5 collision.html
Collision - Game development in Rust with Macroquad
...If it does, we’ll display the text “GAME OVER!
” in capital letters and wait for the player to press the space key.
When...
mq.agical.se › wrapup.html
The end - Game development in Rust with Macroquad
...make it more fun to play:
- Add more enemies with different movements and graphics
- Add life to enemies so bigger enemies needs to shot...
mq.agical.se › ch8 game state.html
Game state - Game development in Rust with Macroquad
...If the player
presses the space bar we’ll change the state to GameState::MainMenu
to allow
the player to start a new game...
mq.agical.se › ch9 starfield shader.html
Starfield shader - Game development in Rust with Macroquad
...Some(vec2(screen_width(), screen_height())),
..Default::default()
},
);
gl_use_default_material();
mq.agical.se › print.html
Game development in Rust with Macroquad
...Here, just like before, we split updating the movement and drawing the squares. This way, the movement does not depend on the screen’s...
mq.agical.se › ch11 1 spaceship and bullet…
Spaceship and bullets - Game development in Rust with Macroquad
Spaceship and bullets
To begin with we’ll add graphics for the spaceship that the player controls. It will be animated with two different...