Re: [orca-list] ot programming games with an accessible interface



Love2D is a full 2-D game engine, so absolutely it has key down/up-tracking, joystick controls, touchscreen event-handlers, etc.


I'll put the key-handler code up on Dropbox tomorrow and paste in a link. I haven't figured out how or if I'll open source my accessibility code for the engine, but other than the speech stuff, there's nothing special about much of it.




On 8/16/19 6:32 PM, Storm Dragon wrote:
Howdy Nolan,

I'm 100% interested in this. Please send me the speech stuff.

Also, one thing that I have found to be essential for any kind of game is, does it have the ability to track key_down and key_release events and turn off key_repeat?

Thanks,
Storm

On Fri, Aug 16, 2019 at 01:22:16PM -0500, Nolan darilek wrote:
I'm doing a bit of this myself. If you want something like an audio game without a UI, I'd suggest something like Love2D:


https://www.love2d.org


It's essentially a Lua interpreter with sound, graphics, physics engine, etc. linked in, and simple, well-integrated APIs to easily access all of these. The AppImage includes everything you need to start in a single file, and games you build can run under Linux, Windows, MacOS, and with a bit of extra effort, iOS and Android.


When launched, you'll get an inaccessible window. This is an empty game window. All work is done via the console, editing the main.lua entrypoint, then launching the game with something like:


love .


from the directory containing main.lua.


I've actually been doing Linux audio game development for a while with this platform, but $dayjob has had me busy enough that I haven't polished what I have for release yet. I should probably get back on that wagon. If you decide to go this route, I can share with you a speech.lua that binds to Speech-Dispatcher under Linux and Tolk under Windows, so you can speak coordinates and such. I have other more advanced code, like a simple accessibility interface over the Luigi GUI module, that I might eventually open source at some point. Currently that makes buttons, sliders, and maybe a few other widgets accessible, and eventually I'd like to do some sort of explore-by-touch interface for touchscreens, games like roguelikes, etc.


It's a nice platform, and easy to get started with for 2-D, which is essentially what audio games are anyway. We should probably take further discussions off-list as to not clog things up further. Let me know if you make any progress and I'll shoot you my speech.lua. It's kind of hard to do that sort of development if you can't introspect the game environment, and speech is probably the best/easiest way to do that.


On 8/16/19 1:10 PM, Pavel Vlček via orca-list wrote:
Hi,

I want to create a little game, probably in Python. I want to have sound and graphical interface. Which interface is best to use? I don't want to use WX and I don't know, if pygame for sound is good idea. Distro Fedora. Can you give me some recommendations? I will use geany as code editor.

Thanks,

Pavel


_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]