diff --git a/.vscode/settings.json b/.vscode/settings.json index 819fe81e836b95f9d852e465e5b126aca5503193..9dcd81c13022b35438c6873642ba3cb619fe8901 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,7 @@ { "cSpell.ignoreWords": [ "fixed", + "gamepad", "timestep", "vsync" ] diff --git a/Cargo.toml b/Cargo.toml index 353b6206bede694ec5357787259e6bd5c36b46be..db2147aa8d65cb7cb830375861138f3e877512ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,9 +10,12 @@ bevy = { version = "0.5.0", features = ["dynamic"] } # bevy_ecs_tilemap = { git = "https://github.com/perlindgren/bevy_ecs_tilemap", branch = "rotate", version = "0.4.1", features = ["tiled_map"]} # bevy_ecs_tilemap = { git = "https://github.com/perlindgren/bevy_ecs_tilemap", branch = "tiled_animation", version = "0.4.0", features = ["tiled_map"]} # bevy_ecs_tilemap = { git = "https://github.com/perlindgren/bevy_ecs_tilemap", branch = "animation_and_rotation", version = "0.4.1", features = ["tiled_map"]} -bevy_ecs_tilemap = { path = "../bevydev/bevy_ecs_tilemap", features = [ +bevy_ecs_tilemap = { git = "https://github.com/perlindgren/bevy_ecs_tilemap", branch = "tiled_parallax", version = "0.4.1", features = [ "tiled_map", ] } +# bevy_ecs_tilemap = { path = "../bevydev/bevy_ecs_tilemap", features = [ +# "tiled_map", +# ] } rand = "0.8.4" env_logger = "0.9" log = "0.4" diff --git a/README.md b/README.md index faee707787a9df78bc9e8b44e32e7a843a791d72..962e0e5067b0cfd6c90a342f9641418ad0dc8c74 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,8 @@ StarAwan date 2021-08-10 (approximately). ## Some platform specific tips +--- + ### Win10 When developing under Win10, you need git [https://git-scm.com/downloads](https://git-scm.com/downloads). Gitbash comes with a shell/terminal. Alacritty is a another (fast) terminal, that uses the GPU for rendering. Under the hood it defaults to powershell. @@ -99,6 +101,12 @@ In powershell you set environment variables through `$Env:<NAME> = "<VALUE>"`. T You may also use this to set log level. +#### Gamepad input + +Current `gilrs` supports only Xinput (XBOX) devices, thus if you want to use PS4/PS5 controllers, you need to emulate an Xinput device. To this end, DS4Windows supports both wired and wireless (BT). + + + ## Thanks