Thank you very much! I see your solution is really good but i think for this particular game its more powerfull then necessary (like the solution of tunepunk , they are both very good! )
My people will always walk on the path and dont collide with anything (except theyre finishingline and the direction changers at the corners).
But please correct me if i overlooked something!
newest version:
http://fldr.de/towerdefense3
note the game is still under heavy developing, titlescreen, title, font, enemys etc. will change over time <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">
and theres a bug with placing towers, if your placement is not absolute accurate it will also lock nearby tiles for placing.
what you guys think of performance so far?
i check the angle of the turrets now only every 0.5 seconds, dont think anything added from now will influence the performance much so this will hopefully be also the performance of the finished game.
you guys think it performs ok?
will try a testbuild with XDK later to see how it runs on mobiles.
edit: normal Cordova build performance is horrible, i dont know why, its even worse then stock android browser, no idea how that works, i thought the Cordova build uses the webview=stock browser?
edit2: Crosswalk build seems ok