b6fcf803e7
* WIP: Invader AI - Adds debug mode for visualizing bounding boxes - Adds rectangle and line drawing (for debug mode) - Invaders move as a close approximation to the original game - TODO: Demonstrates that the blit function needs to ignore black pixels (or "transparency") - TODO: The invader movement code is really bad * clippy and fmt * Refactor Invader movement * Support "transparency" in blit function * Scale player movement to 60 pixels per second, regardless of frame rate. * Add assertions in blit to prevent drawing out of bounds * Add bullets, shoot with space * Add lasers, and improve the bullet animation a little bit * fmt
11 lines
214 B
TOML
11 lines
214 B
TOML
[package]
|
|
name = "simple-invaders"
|
|
version = "0.1.0"
|
|
authors = ["Jay Oster <jay@kodewerx.org>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
line_drawing = "0.8"
|
|
pcx = "0.2"
|
|
rand_core = { version = "0.5", features = ["std"] }
|