Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

making audiogames (for blind people) in rust #1388

Open
denizsincar29 opened this issue Nov 20, 2022 · 2 comments
Open

making audiogames (for blind people) in rust #1388

denizsincar29 opened this issue Nov 20, 2022 · 2 comments

Comments

@denizsincar29
Copy link

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.

@denizsincar29
Copy link
Author

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.

@bvssvni
Copy link
Member

bvssvni commented Dec 5, 2022

Maybe you can use NoWindow?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants