Really? I had no idea. I only ever dabbled with copy/pasting JavaScript codes when I made websites as a youngster. Annoying things like fake password entries and things, no right click, crappy stuff like that.
I think it's just a surprise, because most web users (as opposed to developers) don't really see Javascript used in this context. It's a far cry from the menus and auto-suggest forms that we're used to seeing done with it.
But it's a really nice development option in my opinion. You can just piggy-back off SO many good technologies - CSS, HTML, Serverside Scripts, AJAX, ActiveX, all sorts.
Very nice. Your flame animation should change when the rocket wing things come in to the side though.
You'll want to change the fire when that happens so that it is longer and thinner for the speed boost.
Sounds quite fascinating ... so is Javascript easier than Flash?
Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?
I don't know, I've never used flash's action script.
But it's handy for the way it links with all these other technologies. The DOM is also very handy - I'm experimenting by putting objects in a kind of DIV wrapper. E.g.
It lets you use the appendChild() and removeChild() functions to add and remove objects, but also lets you use the childNodes[] property to loop through specific object groups.
So you can walk the dom for all enemy types (elements under 'enemyHolder') or specific enemy types only ('bugHolder' elements for instance).
It's spiffy.
My next task is to see if I can move a collection of elements from one group to another.
One downer I have noticed though is that handling many objects will lag heavy in even the mighty Chrome (can you find a faster browser? Me thinks not). So beware of having more than about 30 objects moving onscreen at a time.
Why is it when I press both left and right buttons, it goes left? I'd expect it to go right, with the flames and all
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.
There's a really awesome looking 3D game engine called Unity3D that can be scripted with Javascript, i hate code and had a terrible time with Darkbasic (then again i hear in many quarters that it's rubbish) but i'm still going to try Unity out .
Also Clickteam's own Jamagic was scripted with a version of Java. Whatever happened to that anyway? . I only ever saw one game made with it, and that was an Asteroids clone that could have been done in MMF with a little trouble (it had 360 degree rotation and an asteroids-ey movement engine, both of which could be done in MMF2 with ridiculous ease )
Unity can also use C and something else to script it, but Java seems to be the "main" one used, probably because it's also used for the internet a lot so people probably know it.
Also a long time ago somebody told me that Command & Conquer was made with Java, but i don't know if that's true or not.