Author Topic: HTML+JS Tech Demo  (Read 7798 times)

qbradq

  • Newcomer
  • Posts: 6
  • Karma: +0/-0
    • View Profile
    • Email
HTML+JS Tech Demo
« on: October 06, 2011, 01:44:01 PM »
Link with Demo: http://code.google.com/p/dhack/

Hi folks! I have just completed a tech demo using HTML and JavaScript to render Code Page 437 characters within a browser window using a Unicode font. The display technique is the result of several research and development projects, but is still quite slow in Internet Explorer for full-screen updates.

Anyhow, there's a little game here with a snazzy user interface, help documents, equipable weapons, usable items and castable spells. Can you find the Goblin King and destroy him? Probably :P

Now that I've got the technology and fundamental systems down I am putting some actual design work into a game using that technology. Let's hope I finish it :D

getter77

  • Protector of the Temple
  • Global Moderator
  • Rogueliker
  • *****
  • Posts: 4957
  • Karma: +4/-1
    • View Profile
Re: HTML+JS Tech Demo
« Reply #1 on: October 06, 2011, 07:09:11 PM »
Congrats and keep at it---always good to see people striding forth using new tech!   8)
Brian Emre Jeffears
Aspiring Designer/Programmer/Composer
In Training

Ouren

  • Newcomer
  • Posts: 39
  • Karma: +0/-0
  • "Huzzah!"
    • View Profile
    • Wolfgame
    • Email
Re: HTML+JS Tech Demo
« Reply #2 on: October 07, 2011, 07:58:56 PM »
Yea, keep going.
HTML5/Canvas shit is the future.
Wolfgang Wozniak
Creative Director
http://wolfgame.com/
Twitter: @Ouren

qbradq

  • Newcomer
  • Posts: 6
  • Karma: +0/-0
    • View Profile
    • Email
Re: HTML+JS Tech Demo
« Reply #3 on: October 09, 2011, 01:43:10 AM »
This does not use canvas. It's a lot faster to render text using divs and JS. I did a bit of research on all this stuff :D

I suppose I could make a canvas / graphical version. But yea, I prefer CP 437 :D

ondras

  • Newcomer
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: HTML+JS Tech Demo
« Reply #4 on: October 11, 2011, 07:34:49 PM »
This does not use canvas. It's a lot faster to render text using divs and JS. I did a bit of research on all this stuff :D

I suppose I could make a canvas / graphical version. But yea, I prefer CP 437 :D

I have a canvas/html/image switch in my game: the "Map style" link in the bottom right corner (http://ondras.zarovi.cz/js-like/). The canvas backend seems to be marginally faster, but the true difference is in the features provided - canvas allows easy saving of a screenshot, HTML allows east copy&paste of the map...