• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Favored JS Frameworks, Libraries, Writing Tools

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I realize this is a broad question, depending upon the type of application being written, but in the general realm of HTML5 "game programming" (thinking card games, board games, etc.…), what are your preferred Javascript frameworks, libraries and/or toolkits? Or do you prefer "rolling your own" code?

Also, in writing your book(s), what applications (or tools) did you use -- text editor? or word processor?

TIA
 
author
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's a fair question.

The type of application can dictate the type of technology you'd use. For example, for a card game like Poker, you might want to use Canvas or SVG. WebGL would be overkill and possibly reduce the number of people that could use it because it has higher requirements. SVG manages state in the DOM (Document Object Model) so that can help with clicking and stuff like that. Canvas requires you to manage all this stuff on your own.

In the samples for the book, you can see both methods, a SVG card game using RaphaelJS and a Canvas based game using Amino. (https://github.com/jwill/html5-game-book) Amino is an interesting library but it doesn't seem to be well supported at the moment. I'm looking at a bunch of others but can't suggest one at the moment. I suggest you learn the basics before using a framework because it will help you patch and modify the framework if need arises.

Writing the book:
- Dropbox and Google Docs There is no excuse not to write.
- Aptana Studio/ Eclipse / Vim Depending on my mood I would flip between those to write code. I believe Aptana was merged into Titanium Appcelerator recently.
- Word Some publishers require documents in Word format. I tried to push that to as late as possible in the process.
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been using the Netbeans Javascript editor lately btw, doesn't seem too bad ... although I'm not sure about the rules it follows for auto completion. Sometimes the canvas' context functions don't want to show up depending on where I defined the variables :-(
 
That new kid is a freak. Show him this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic