Monday, March 18, 2013
specs for artillery web app
artillery.
we need to set a value for gravity.
wind speed and direction. (negative value for right to left or something) ors should we keep it with a positive value for the two tanks i n opposite directions?
(should we have aa standard air resitance as well?(probably not it could just be built into wind maybe but if wind changes directions i guess the eactual wind vecotor would be (windspeed-airResistance).
//I guess force variable should be 1-100
and
angle should be from 0-180.
//I think that this can be done in html or css mostly
1st we draw terrain.
one line. white above black below.
draw two cannons.
-we need to place the cannons-
-check for ground level.
-cannons always placed the same distance horizontally away from each other.
score on both sides.
//the cannons and shit will become javascripy or jquery objects however that works.
cannons take turn firing
-you set the angle
-you set the power
trace the arc of the cannon
check for enemy cannon in the arc path and check for ground.
make explosion
see if cannon is touched by explosion.
-if yes destroyed. start new round.
-----------
possible wind
possible long field with scrolling
mutiplayer over the internet.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment