News for hackers. Stuff that matters.
Re:Pull this up in your Android or iOS browser: Defense by pilif on Wednesday February 29, 2012 @11:45PM (#3650958)
It's such a shame that the HTML5 audio API's are still such a minefield that all these demos usually are silent.

Or the reverse: by now I have seen too many HTML/JS based games to remain really impressed by the technology - unless the demos start to provide audio.

Because honestly, a game like this needs matching 8bit sound effects. Too bad it's practically impossible to play them in a timely fashion, nor mix multiple of them together, let alone reliably generate them based on game state

Re:Pull this up in your Android or iOS browser: Defense by mcav on Thursday March 01, 2012 @01:39AM (#3651197)
On iOS, you can usually get sound effects or music working pretty well int terms of latency, but not both. For a while Android had decent flash support for multiple sounds at once in the browser. I agree, sound is really the most lacking in mobile browsers.
Re:Pull this up in your Android or iOS browser: Defense by huskyr on Thursday March 01, 2012 @05:51AM (#3651648)
Hmm.. how do you get sound effects working 'pretty well' in iOS? Apart from the latency the big problem is that you always need a user action (such as a click on a button) for sound to start (1), which is pretty hard for games.

[1] http://weblogs.vpro.nl/digitaal/2011/11/04/why-html5-audiovi...

Re:Pull this up in your Android or iOS browser: Defense by richtaur on Thursday March 01, 2012 @02:17PM (#3653555)
1. Wait for user input before loading 2. Load up a "sound sprite" (kind of like a sprite sheet for audio) since iOS only supports playing one sound at a time 3. PROFIetc.
Re:Pull this up in your Android or iOS browser: Defense by huskyr on Thursday March 01, 2012 @06:47PM (#3654682)
Do you have any working examples? Would love to see this working in practice.
Re:Pull this up in your Android or iOS browser: Defense by iliis on Thursday March 01, 2012 @12:43AM (#3651088)
Wow, I just tested this on an age old HTC Hero (Android 2.3) and it runs a lot smoother than most native apps. It even loads much faster. While it may not be the next Battlefield, I'm impressed. I never gave HTML5-games much of a chance for mobile phones because of all the additional overhead and quirks. But if it starts quicker than Reddit... Kudos to the programmer[s]!
Re:Pull this up in your Android or iOS browser: Defense by richtaur on Thursday March 01, 2012 @02:18PM (#3653561)
Thank you very much! :-)
Re:Pull this up in your Android or iOS browser: Defense by phanster on Thursday March 01, 2012 @08:11AM (#3651920)
If you want to take a peak under the hood, their first game, Onslaught! Arena was open sourced a couple of days ago:

https://github.com/lostdecade/onslaught_arena

Re:Pull this up in your Android or iOS browser: Defense by rsaarelm on Wednesday February 29, 2012 @11:47PM (#3650961)
Fun. Though it has the problem many of these kind of gun defense things seem to have, where first you are completely dominating the enemy for a long time, with practically no challenge, and then the balance tips over to where you can no longer handle the waves and you get quickly overrun.
Re:Pull this up in your Android or iOS browser: Defense by richtaur on Thursday March 01, 2012 @02:20PM (#3653572)
So the difficulty ramps up like this: it goes from 1 to 100 every 60 seconds, spawning more difficult enemies as it increases. The difficulty increases faster the more damage you've taken. Once it reaches 100, it spawns dragons, resets to 0 and doubles the amount of monsters it will spawn.

You can reset the difficulty manually by working your way up the weapon tree to the RUNEFORGE (purple sword)!

Glad it was still fun despite your frustration :-)

Re:Pull this up in your Android or iOS browser: Defense by twodayslate on Wednesday February 29, 2012 @11:36PM (#3650930)
I feel that more apps will head towards this route. An app is going to be a webpage.
Re:Pull this up in your Android or iOS browser: Defense by kalleboo on Wednesday February 29, 2012 @11:42PM (#3650948)
So far this works well for free apps, but nobody has really cracked the "make people painlessly pay for web apps" thing yet.
Re:Pull this up in your Android or iOS browser: Defense by copperred on Thursday March 01, 2012 @11:42AM (#3652821)
BlackBerry has a solution for this - package this as an app and sell it like any other.
Re:Pull this up in your Android or iOS browser: Defense by shawndrape on Thursday March 01, 2012 @11:29AM (#3652756)
Didn't Facebook just announce a group to help tackle that problem?
Re:Pull this up in your Android or iOS browser: Defense by fatjokes on Wednesday February 29, 2012 @11:39PM (#3650940)
Apple originally suggested that (before the release of the app store), but people bitched.
Re:Pull this up in your Android or iOS browser: Defense by kalleboo on Wednesday February 29, 2012 @11:43PM (#3650956)
It was true back then though. Try running this in the browser on the original iPhone.
Re:Pull this up in your Android or iOS browser: Defense by ZeroGravitas on Thursday March 01, 2012 @05:24AM (#3651604)
To be precise, their existing Cocoa/Objective-C writing desktop developer community bitched.
Re:Pull this up in your Android or iOS browser: Defense by drivebyacct2 on Thursday March 01, 2012 @12:39AM (#3651081)
That was 4 years and many many many HTML5 APIs ago. And Javascript engine improvements.
Re:Pull this up in your Android or iOS browser: Defense by manuscreationis on Thursday March 01, 2012 @08:11AM (#3651918)
Very cool, good work.

Axes are terrible, btw. I only started losing once I somehow got some Axes. Gotta tune those.

Re:Pull this up in your Android or iOS browser: Defense by graeme on Thursday March 01, 2012 @09:14AM (#3652112)
Agreed. I had a very powerful sword, then switched back to an intro axe. Could you have the level of the powerup carry over across types?
Re:Pull this up in your Android or iOS browser: Defense by richtaur on Thursday March 01, 2012 @02:23PM (#3653584)
Yeah axes are something to avoid ;) We were thinking about making them more fun but we're basically done working on this game.
Re:Pull this up in your Android or iOS browser: Defense by manuscreationis on Thursday March 01, 2012 @04:49PM (#3654217)
Thats too bad, but thanks for replying
Re:Pull this up in your Android or iOS browser: Defense by vyrotek on Thursday March 01, 2012 @12:39PM (#3653094)
I thought the same thing, but I think its because I used up all the swords. It seems each weapon has a quantity?
Re:Pull this up in your Android or iOS browser: Defense by dudeguy999 on Thursday March 01, 2012 @03:33AM (#3651402)
Holy shit. I am blown away that this can be done in a mobile browser.
Re:Pull this up in your Android or iOS browser: Defense by whalesalad on Thursday March 01, 2012 @06:15AM (#3651698)
Re:Pull this up in your Android or iOS browser: Defense by papalalu on Thursday March 01, 2012 @07:52AM (#3651873)
Re:Pull this up in your Android or iOS browser: Defense by phatbyte on Thursday March 01, 2012 @07:29AM (#3651835)
Thank you
Re:Pull this up in your Android or iOS browser: Defense by msg on Thursday March 01, 2012 @01:53AM (#3651227)
202 on my g2. Now we need a leaderboard. Fun though, great to see it!
Re:Pull this up in your Android or iOS browser: Defense by bnr on Thursday March 01, 2012 @03:37AM (#3651408)
Also works on a BlackBerry (7.0 OS).
Re:Pull this up in your Android or iOS browser: Defense by moondev on Wednesday February 29, 2012 @11:40PM (#3650942)
dosent seem to work on chrome in ics but all systems go in the stock browser. nice work
Re:Pull this up in your Android or iOS browser: Defense by jorgem on Thursday March 01, 2012 @12:04AM (#3651002)
doesn't work on wp7 :(
Re:Pull this up in your Android or iOS browser: Defense by drivebyacct2 on Thursday March 01, 2012 @12:40AM (#3651082)
Isn't it still the IE7 rendering engine? Does it surprise anyone?

edit: this information is outdated and incorrect, my apologies. Thanks for the correction.

Re:Pull this up in your Android or iOS browser: Defense by Xuzz on Thursday March 01, 2012 @12:49AM (#3651096)
As of Windows Phone 7.5 (Mango), it's an improved version of the IE9 rendering engine, and is generally not bad. It doesn't work with a lot of mobile sites that expect WebKit (as with Opera Mobile or Firefox Mobile), but it's not a bad browser by any stretch.
Re:Pull this up in your Android or iOS browser: Defense by nickbarnwell on Thursday March 01, 2012 @12:48AM (#3651095)
Unless the grandparent is on the GM of WP7 he should have the full IE9 Trident engine. Support isn't the greatest, as the vast majority of mobile sites seem to target Webkit, but it's far better than the release was. Tango should bring IE10
Re:Pull this up in your Android or iOS browser: Defense by sskates on Thursday March 01, 2012 @01:18AM (#3651153)
A lot of fun and well polished.
Re:Pull this up in your Android or iOS browser: Defense by grantjgordon on Thursday March 01, 2012 @12:19AM (#3651031)
Wow, this is so well done!
Re:Pull this up in your Android or iOS browser: Defense by wink on Saturday March 03, 2012 @04:07AM (#3659766)
I love the graphics. And it was really fun to play, well done.
Re:Pull this up in your Android or iOS browser: Defense by rkwz on Friday March 02, 2012 @07:33AM (#3656355)
Doesn't work on my WP7
Re:Pull this up in your Android or iOS browser: Defense by ynniv on Thursday March 01, 2012 @12:04AM (#3651003)
yawn. If you want to make a game, make a game. Start by writing a story, then break it down into scenes, then create a variety of opposing forces, then balance them, then create suspense, then make it all fun. This might have been notable before the onslaught of web game frameworks, but now it's just something for me to complain about. And like pilif said, where's the sound?
Re:Pull this up in your Android or iOS browser: Defense by methoddk on Thursday March 01, 2012 @11:41AM (#3652817)
Really? Some people just want to watch the world burn. Native apps are the future. It's something someone made in their free time to be enjoyed, not bitched about on HN.
Re:Pull this up in your Android or iOS browser: Defense by ynniv on Thursday March 01, 2012 @01:28PM (#3653331)
No. HN is not your mom's fridge. If you want unconditional validation, ask someone who cares about you. I expect that anything posted here will be fixed with fire, because that's a valuable service that only skilled peers can provide. Annoying less is wasting everyone's time.
Re:Pull this up in your Android or iOS browser: Defense by phatbyte on Thursday March 01, 2012 @07:34AM (#3651846)
Do you even know what proof of concept is ?