Blog about (Web-) Programming, Graphics and Games.


Wloom - WebGl game, work in progress #2

There is some progress with the webgl game 'Wloom'. Current state of the project can be seen in the video or as running demo here (needs Chrome 9+, Firefox 4+). Following features have been added since the last blogpost:
  • Dynamic camera (e.g. in small rooms camera moves closer, so that the view is not clipped)
  • Map and model data are loaded from external files. Its format is javascript, they are loaded with dynamically added script tags.
  • Html audio. Currently it sounds on my pc with chrome 9 abit buggy (it seems some samples are not played and chrome crashes after some time). With Firefox 4 beta 6 sound works better here.
  • Npc scripting with javascript. Since core game and npc scripts are written in the same language, javascript, integration is straightforward and simple. The code can be stored in map- or model-files.
Soon there will be updates on the project. Map(s) and gameplay shall be improved. :)