A javascript battle

  • Thread starter Thread starter drake7707
  • Start date Start date
  • Views Views 1,306
  • Replies Replies 6
  • Join the GBAtemp community: it's free
    • 50% fewer ads
    • Reply alerts
    • Join the discussion
    • Watch & bookmark
It does, it worked for me.
maybe yours wasn't on the same "plane/layer" as the enemy.

Dragging with left-click would prevent the context menu to appear.

I'm developing in javascript too, but I'm not that good.
I do Firefox's add-on which are all written in javascript, but I'm limited with my knowledge :(
 
This is only my second time writing javascript, I don't much about how classes / prototyping works. Every object I make is with new Object(), I'm sure there are way better methods to structure the code but I don't usually write web stuff.

Sometimes tanks miss their target when firing, this is because the tank scopes to see if there are enemies in range aren't properly matching the projectiles the tanks fire.

I only tested it in Opera (which is the browser I use) and did profiling with firebug in firefox, so I hope it works in all browsers, I use most standards aside from the transform to rotate the missiles and anti-air barrels, which involved a lot of browser specific css.
 
It should rotate? I didn't see that.
I saw only the differential scrolling layers.



I'm checking your other projects, You have nice ones :P
You don't share them? any download?
 
I'm checking your other projects, You have nice ones :P
You don't share them? any download?

My original intent for my site was as a supplement for my CV, to showcase stuff I've worked on. I might add some source code/binaries later, most of them aren't probably in a proper state for release.


As a side note: I tweaked tanks to actually hit most of the time and added helicopters :)
 

Site & Scene News

New Hot Discussed User Submitted