Skip to content

Commit ff4b647

Browse files
authored
Merge pull request #29 from CleanCut/scenario-improvements
Improve Game Scenarios
2 parents 5b256ce + c9f743a commit ff4b647

28 files changed

+360
-90
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- Upgraded to Bevy 0.6 in the back end
1111
- `Text` rotation and scale now works! 🎉
1212
- TODO: bevy_prototype_debug_lines hasn't had a release, and the `main` branch sorta works, but the lines now appear _under_ sprites instead of over them, which is not ideal. We _must_ have a release upstream and would _love_ a fix upstream. If there isn't an upstream release, we'll need to find another line-drawing solution before release.
13+
- Updated (or finished) all of the game scenario descriptions.
1314

1415
## [3.0.0] - 2021-12-30
1516

examples/collision.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//! To run this code, clone the rusty_engine repository and run the command:
2+
//!
3+
//! cargo run --release --example collision
4+
15
use rusty_engine::prelude::*;
26

37
const ROTATION_SPEED: f32 = 3.0;

examples/game_state.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//! To run this code, clone the rusty_engine repository and run the command:
2+
//!
3+
//! cargo run --release --example game_state
4+
15
use std::f32::consts::TAU;
26

37
use rusty_engine::prelude::*;

examples/keyboard_events.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//! To run this code, clone the rusty_engine repository and run the command:
2+
//!
3+
//! cargo run --release --example keyboard_events
4+
15
use rusty_engine::prelude::*;
26

37
fn main() {

examples/keyboard_state.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//! To run this code, clone the rusty_engine repository and run the command:
2+
//!
3+
//! cargo run --release --example keyboard_state
4+
15
use std::f32::consts::PI;
26

37
use rusty_engine::prelude::*;

examples/layer.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//! To run this code, clone the rusty_engine repository and run the command:
2+
//!
3+
//! cargo run --release --example layer
4+
15
use rusty_engine::prelude::*;
26

37
fn main() {

examples/level_creator.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//! To run this code, clone the rusty_engine repository and run the command:
2+
//!
3+
//! cargo run --release --example level_creator
4+
15
use rusty_engine::prelude::*;
26

37
struct GameState {

examples/mouse_events.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//! To run this code, clone the rusty_engine repository and run the command:
2+
//!
3+
//! cargo run --release --example mouse_events
4+
15
use rusty_engine::prelude::*;
26

37
const ORIGIN_LOCATION: (f32, f32) = (0.0, -200.0);

examples/mouse_state.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//! To run this code, clone the rusty_engine repository and run the command:
2+
//!
3+
//! cargo run --release --example mouse_state
4+
15
use rusty_engine::prelude::*;
26

37
const ORIGIN_LOCATION: (f32, f32) = (0.0, -200.0);

examples/music.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//! To run this code, clone the rusty_engine repository and run the command:
2+
//!
3+
//! cargo run --release --example music
4+
15
//! This is an example of playing a music preset. For playing your own music file, please see the
26
//! `sound` example.
37

0 commit comments

Comments
 (0)