top | item 1488747

Diggy: open source JavaScript game engine (with example game)

22 points| richtaur | 15 years ago |blog.lostdecadegames.com | reply

23 comments

order
[+] warfangle|15 years ago|reply
"Note: I am abandoning Diggy because it turns out I'd rather be making games using canvas. Go figure."

Github source: http://github.com/lostdecade/diggy

[+] richtaur|15 years ago|reply
Yeah that's the primary reason I open sourced it, so that if others find it useful they can fork and go nuts.
[+] ashleyw|15 years ago|reply
I started a Canvas based game framework of sorts a while back:

http://github.com/ashleyw/Game.JS …super original name, I know!

You do all the drawing yourself, it doesn't add another layer as such to that, it just helps with scheduling background tasks, keeping a smooth time stepping, sounds, etc. It's very buggy though, with very little documentation and no tests…but please do check it out if you're thinking about creating a Canvas based game soon, it's not that complicated! :)

(btw, it doesn't require Ruby, I just use sinatra to serve all the files easier!)

[+] kmfrk|15 years ago|reply
The link has auto-playing music. I kid you not.

... and the app just exceeded its quota.

[+] richtaur|15 years ago|reply
The auto-playing music is the JavaScript game itself, embedded in an iframe, sorry :(

Quote resolved, server back up!

[+] gorm|15 years ago|reply
Now I fear my first encounter with a HTML5 enabled commercial banner app even more.
[+] albertzeyer|15 years ago|reply
The demo just shows "Loading audio ..." and seems to do nothing. Not sure how long I am supposed to wait. Have waited at least 10 seconds.
[+] jdietrich|15 years ago|reply
Let me guess, you've got a flash blocker of some sort? The game audio uses an intermediary layer of flash, but doesn't timeout if flash fails to load.
[+] zweben|15 years ago|reply
Takes less than a second to load for me.
[+] misuba|15 years ago|reply
So where are the libraries for making games with canvas? There's Akibahara, but it's pretty opinionated (not that there's anything wrong with that) - I'd love to see more diversity of approaches.
[+] richtaur|15 years ago|reply
As warfangle pointed out, I'm not working on Diggy anymore. Reason being: I'm working on a canvas JS engine now! :D Might have something ready for other developers in a few weeks ...
[+] tzm|15 years ago|reply
Curious, did you ever get it running in Titanium?
[+] richtaur|15 years ago|reply
Nope :( I couldn't get Titanium Mobile to push to either my iPhone or my Android (and can't afford the $200/month support). Bummer, maybe someday.