2
votes
0answers
593 views

Component based system for javascript game

Hi I'm creating a javascript/webgl based game and would like you guys to take a look at the current entity component system which I created for it. I've used it once before on another project, and ...
1
vote
0answers
223 views

Could this JavaScript / PhoneGap code be improved to use module, or other, pattern for better readability and maintainbility?

I have a PhoneGap application that I wrote some time ago. After looking Doug Crockford's video seminar JavaScript: The Good Parts (http://www.youtube.com/watch?v=hQVTIJBZook) I was just wondering if ...
0
votes
0answers
44 views

Mixing prototype and module pattern… I think

I have either created something beautiful or something monstrous, and I'm not really sure which, and I don't know where else to turn but here. What I've done: var MyObject = function(opts) { ...
0
votes
0answers
55 views

Javascript Generic Components with Kineticjs shapes

I am planning to create an application to create software mockups. It will have some different elements but with similar behavior (like windows, buttons, menubars, etc), so I am planning to use the ...
0
votes
0answers
162 views

Creating boilerplate for jQuery plugins

I've been writing some smaller jQuery plugins lately, and I've been thinking of writing up some boilerplate that I can use when writing new ones. I have code that works (for now), but I want to share ...