5c1600926e
* Update dependencies - Closes #270 * Unify controls in Invaders example The fire button on gamepads was allowing trapid fire when holding the button. Keyboard controls required the fire key to be released between each shot fired. This commit fixes the difference by making the gamepad fire button act like the keyboard fire key.
24 lines
487 B
TOML
24 lines
487 B
TOML
[package]
|
|
name = "invaders"
|
|
version = "0.1.0"
|
|
authors = ["Jay Oster <jay@kodewerx.org>"]
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[features]
|
|
optimize = ["log/release_max_level_warn"]
|
|
default = ["optimize"]
|
|
|
|
[dependencies]
|
|
byteorder = "1.3"
|
|
env_logger = "0.9"
|
|
game-loop = { version = "0.9", features = ["window"] }
|
|
getrandom = "0.2"
|
|
gilrs = "0.8"
|
|
log = "0.4"
|
|
pixels = { path = "../.." }
|
|
randomize = "3.0"
|
|
simple-invaders = { path = "simple-invaders" }
|
|
winit = "0.26"
|
|
winit_input_helper = "0.12"
|