jovoud
jovoud
yeah what he said! Ill take a look at it next week.
line 1203: [code] var vehicle = vehicles.add({name:unitButton.name,x:constructedAt.x+1, y:constructedAt.y + 3,moveDirection:16,turretDirection:16, orders:{type:'move',to:{x:Math.floor(constructedAt.x-1+ (Math.random()*4)), // orders:{type:'move',to:{x:Math.floor(constructedAt.x-1), y:Math.floor(constructedAt.y+5)}}}); game.units.push(vehicle); [/code] Could it be that by accident 2 tanks are create on the same...
sound good :). As far for the level editor.. I think first the conventions of the map and the generics of sprites needs to be taken care of. Else if...
units: http://xhp.xwis.net/isu_data.html