2012-01-18

Embedding text-to-speech into HTML5 games

I admit that the title is a bit misleading, but it better describes the aim of my article. This write-up offers one solution with code snippets to the problem of embedding Google's TTS service into a HTML5 page.

The unofficial Google TTS "API" lets you turn text to speech in well over 20 languages. It is a part of Google Translate, and works with text less than 100 characters long. So - how can you technically make use of this service to provide a better user experience?

2012-01-06

Procedural map generation - this time in 2D

I felt like taking a break from fixing a network related issue in our upcoming game, Xenocell to clear my head and do something rewarding and I started fooling around with HTML5 and JavaScript.

Since I really want to compete in Ludum Dare sometime soon, I thought it would be a good idea to decide on a set of tools and languages that I would use. If you are not familiar with Ludum Dare, it is a game writing competition where you have 48 hours to create a game. My primary goal was platform and 3rd party player independence, so I chose to go with JavaScript.