PistonDevelopers / piston

A modular game engine written in Rust

Home Page:https://www.piston.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

making audiogames (for blind people) in rust

denizsincar29 opened this issue · comments

hello. is it possible to make audiogames in piston?
is there a guide to create an audio game in piston?
an audiogame is a computer game for the blind that uses only audio to present the gameplay. also we use keyboard only to play games. for example in archery game, you hear a target sound that moves right and left in the stereo sound field. and when it reaches center, you press space to shoot. or in the car racing game, you here the other cars in the stereo field and try to avoid them by turning away.
so i am thinking to make audio games in rust.
what do I need:
create an empty window and catch key presses,
play 3d or 2d sound,
interact with a screenreader, (tell my active screenreading software to speak a message in a game), (i have a rust lib for that but it's quite old).
or speak out the necessary game message using tts or a sound file.

the problem of the game engine documentations is that they aim on graphics.
e.g. (let's create a window and move a green circle arround in a random way)...
i am focusing on creating (AUDIO ONLY) games in rust, where all game elements are stereo sounds and everything is controlled by keyboard, without graphics.

Maybe you can use NoWindow?

The problem is how to get keyboard events without a window backend, I think.