2015-11-03 05:21:17

hi. been searching for a good html 5 speech tutorial, for my space invaders game that i am developing. did find an accessible breakout game from david ruso, to get an idea how to code an accessible game. so doing that the moment. and wondering also where i can get free human sounding voices, then how to put it in the file, like a speech module. i am using firefox, have got internet explorer, google chrome and microsoft edge. so, also got jaws and nvda. so, have been searching all over the net, and could not find a good , comprehensive tutorial. any ideas. or point me in the right direction. thanks. ps: then will look at a space invaders flash tutorial, then use the break out game main board as a guide, and then modify the flash tutorial to html 5. marvin from australia. ps: then will be googling aria regions, update game status, and also multi player and playing over the internet.

2015-11-05 15:10:40

Hi, thanks for mentioning this breakout game, very interesting, especially because it mentions some speech solutions (not many, and not perfect ones, unfortunately).
http://blogs.msdn.com/b/davrous/archive … p-svg.aspx

I don't know a perfect solution for speech in a web page.

A better-than-nothing solution might be to use speak.js, espeak ported to Javascript:
https://github.com/mattytemple/speak-js
It works, surprisingly. Just like espeak in its time, if it's the only solution it's much better than nothing. There is also the recorded speech solution...

There is aria, and it might be the best solution in the long run, but you lose control on the speech (maybe the players will prefer to have control), and you have to know if each screen reader is actually supporting aria. I have tested NVDA and this demo:
http://accessibility.athena-ict.com/ari … ive3.shtml
The rude alert isn't working. The polite alert is working.

https://dev.opera.com/articles/introduc … -wai-aria/

2015-11-06 01:20:59

hi. well take a look at that, and also see if i can find an accessible space invaders game. did find a flash tutorial, but will be a challenge to convert to html and speech. okay, hate the espeech engine, will be using it for all browsers, firefox, internet explorer, google chrome, microsoft edge, android, ios, safari, linux, blackberry, etc.
any other tips or tricks, let me know. almost completed learning and writing the code for this accessible breakout game, given a good few ideas. and then. will then start my game project for my programming course. thanks.

2015-11-06 13:02:30

About multiplayer from Javascript, I don't have a working example, but it would probably use WebSocket:
https://en.wikipedia.org/wiki/WebSocket

A server can be done for example in Python with Tornado:
http://www.tornadoweb.org/en/stable/
https://github.com/hiroakis/tornado-websocket-example

About an accessible space invaders, just thinking about the essence of the experience of a space invaders game (in my opinion):
- the invaders are progressively accelerating (each time an invader is destroyed, I think)
- the speed of the music is linked to the speed of the invaders
- there are progressively destroyable "bunkers" that can be used as a shield but have to be pierced by the player to create a kind of an arrowslit to fire through while being relatively safe
- the invaders are descending each time the wave reaches a side, so the player is tempted to avoid this by destroying the invaders about to reach a side
- a bonus invader passes by in the background from time to time
- the invaders are firing too

How much of the experience can be translated? That is the question.

You probably already know this game:
http://www.ics.forth.gr/hci/ua-games/access-invaders/

A version of the game adapted to suit non-visual gameplay. Its main characteristics are the following:
* There is only one group of aliens with a single column of one or more aliens.
* The aliens do not fire against the player – the player's “lives” counter is omitted.
* The player can fire against the aliens, but only two bullets can be concurrently active.
* The game is over only if an alien touches the ground.
* The background is not drawn.
* There are no protective shields.
* Score changes and interaction with the user interface provides audio feedback.
* The spaceship emits a spatial sound, so that its position can be inferred acoustically.
* The group of aliens also emits a distinctive “sonar-like” sound.

2015-11-07 03:05:29

hi. okay, did find a standard space invaders tutorial, and code, then will ask ian hamilton, who is a game expert accessibility in the uk. so will ask him.
so will use the space invaders code i downloaded, then type up the code, to get an idea. then ask him. about audio, accessibility, game updates, and the server. yes, can probably do that in python, but would prefer javascript, if possible. requirements, need to be html and javascript. thanks.

2015-11-07 11:41:19

After some googling, it seems that server-side Javascript is possible with node.js, after all.

2015-11-07 12:09:57

hi. yes, will go and download that. found a space invaders tutorials, from wrox.com
javascript, and jquery. so looking at that now. then  will ask ian hamilton, a game accessibility expert and has done accessible audio games for the blind. thanks.

2015-11-08 01:51:05

Hi,
Anyone know wwho developed the gamevial accessible web games found at http://www.accessiblewebgames.com? They developed 3 games, and though they aren't really advanced or up to date with the games of this time period, they are quite well constructed. Racing game, and a couple of maze games. I think you aut to attempt to contact them, as they even managed to use TTS in their games, (the default TTS voice)... I guess that is bad for mac and smart phone users, but if so Live Regions would work. RS Games and the Quentin C Playroom use something like that, that allow Jaws and NVDA to stay active, as well as voice over.

If you have issues with Scramble, please contact support at the link below. I check here at least once a day, so this is the best avenue for submitting your issues and bug reports.
https://stevend.net/scramble/support