If you want to save you reading the project is located at:
http://jsdefense.sourceforge.net
And from them 'you can find the download link ( sourceforge) (or play online).
Recently, I was undecided whether to resume the game programming / applications in 3D. In the varied landscape that was offered to me (jmonkey, panda3d etc.). I found myself quite lost for various reasons. The main reason that I have always been restrained and 'the lack of portability' of all these languages, once you create a product.
So
'I said the time is ripe for so-called 3D on the web, or web applications that interface directly with the ability' of the graphics card via the well-established OPEN GL.
The WebGL and 'still in development, so' as the specifications on which it rests (HTML 5). However, as Firefox, Opera, Safari and Chrome already 'have a qualification to support the future HTML standard, I said,' cause you do not begin to see what are the potential 'of new javascript libraries to support HTML 5?
The HTML 5 provides a new tag called 'canvas' that allows you to draw to the appropriate javascript functions on the screen.
But not only lately, for professional reasons, I started to develop a variety of little applications using the powerful ajax Jquery, which allows me to add stunning effects on HTML so easy (you can 'run on hope all the more' modern browser, Internet Explorer included).
support for 3D and 'more difficult, but possible, or by just WebGL or (for firefox) using a plugin called C3DL. 2D and instead support 'quite stable for me (and considering the various demos that I saw on the net) does not have many flaws.
said than done, partly out of curiosity 'and a bit' to learn new things about javascript, jquery e uso dei tag html5, ho iniziato a sviluppare un giochino che si basa sul classico 'Tower Defense'.
Il gioco utilizza le seguenti tecnologie :
HTML classico - visualizzazione delle parti statiche (struttura portante della pagina del gioco).
HTML 5 - uso dei tag 'canvas' e 'sound' per disegnare e caricare i suoni.
JAVASCRIPT e JQUERY - per gestire tutta la logica del gioco e aggiungere effetti sulle finestre e sulle voci di menu e i contenuti dinamici.
AJAX - ajax lo uso in pratica solo per scaricare dal server i file xml iniziale di configurazione.
La pagina web del progetto e' : http://jsdefense.sourceforge.net
Si noti che il giochino una volta scaricato totalmente in una cartella in locale si puo' eseguire aprendolo ad esempio con Firefox, e non ha bisogno di alcuna connessione internet ma soprattutto non ha bisogno di elaborazioni lato server. E' tutto completamente gestito da javascript.
La differenza che ho visto con la maggiorparte di altre demo e' che ho inserito dinamicamente altri elementi 'canvas' all'interno del gioco, e quindi non esiste un canvas che disegna tutto, ma piu' elementi indipendenti. Non so se questo in realta' possa rivelarsi disastroso se interpretato da browser particolari (vedi IE7+) , ma a me sembra un ottimo metodo per lasciare al motore nativo javascript il compito di ridisegnare gli elementi in modo che si sovrappongano correttamente.
elements to the detriment of 'canvas'. There 'a book sufficiently focused on a real engine of two-dimensional objects: unlike the 3D in fact I only have pictures to put on screen, but these designs are not an entity' with their size and their rotation are marks on a canvas that's all. I have need to redraw them every time if you have to move.