Commit Graph

418 Commits

Author SHA1 Message Date
Richard Harrington
cb1c7126c4 fixing shells -- probably will discard 2014-10-04 15:56:50 -04:00
Richard Harrington
fe9294bff1 Update README.md 2014-01-10 23:26:08 -05:00
Richard Harrington
489f087480 Merge branch 'master' of github.com:richardharrington/robotwar 2013-09-10 21:32:16 -04:00
Richard Harrington
c0e14b8334 made audio playing system so there's always a spare element to play 2013-09-10 21:32:00 -04:00
Richard Harrington
6c224670ad made audio playing system so there's always a spare element to play 2013-09-10 21:29:20 -04:00
Richard Harrington
4f6957952d minor refactoring and cleanup in main.js 2013-09-10 20:29:22 -04:00
Richard Harrington
b295e151da removed no longer needed constant from main.js 2013-09-10 20:29:10 -04:00
Richard Harrington
c07ef23ab8 fixed the display offsets 2013-09-04 08:59:52 -04:00
Richard Harrington
7a9ac1fce2 got thehe text and arena animation to happen while the robots are loading 2013-09-03 21:59:37 -04:00
Richard Harrington
3124c1ab4b getting rid of the console-logging of the gameInfo 2013-09-03 21:06:19 -04:00
Richard Harrington
fa7e132b71 made 'worlds' a local variable inside init, instead of global 2013-09-03 20:28:08 -04:00
Richard Harrington
1d9f712980 got rid of another print statement 2013-09-03 20:27:38 -04:00
Richard Harrington
8195340786 got front end to temporarily pause on empty queue, instead of exiting 2013-09-03 20:22:11 -04:00
Richard Harrington
bcfd990872 got rid of print statement 2013-09-03 20:18:14 -04:00
Richard Harrington
222f4330e9 very minor whitespace changes 2013-09-03 20:17:56 -04:00
Richard Harrington
45a05fe236 changed shot distance slightly 2013-09-03 20:13:15 -04:00
Richard Harrington
499602baa6 moved shell and shell-id to top level of world 2013-09-03 12:34:45 -04:00
Richard Harrington
d0ab2bd8b8 reduced range of top shooter and left shooter 2013-09-02 21:22:02 -04:00
Richard Harrington
df99a934ba got some animation going for shell explosions and robot collision damage 2013-09-02 21:17:44 -04:00
Richard Harrington
8e0477cc15 rewrote the robot source programs to take evasive action upon damage 2013-09-02 21:00:53 -04:00
Richard Harrington
b7c1e689a6 implemented 'damage' to robots on collision
although they don't die yet -- their capacity
for damage is infinite.

also, the damage is just one point per collision --
it's in no way proportional to kinetic energy yet.
2013-09-02 20:45:57 -04:00
Richard Harrington
c03676d000 couple of bug fixes on collision detection 2013-09-02 12:26:51 -04:00
Richard Harrington
8e70c42e3d got billiard ball collision detection almost working (still wonky) 2013-09-02 11:12:30 -04:00
Richard Harrington
a7cb6a58da changed comments in robot 2013-09-01 23:14:54 -04:00
Richard Harrington
2ab3336629 curtailed amount of info (And sig-figs) sent for shells 2013-09-01 22:47:59 -04:00
Richard Harrington
de127b654b fixed merge conflict from stash 2013-09-01 22:35:54 -04:00
Richard Harrington
078f927c29 moved three-sigs logic into physics 2013-09-01 22:34:04 -04:00
Richard Harrington
dd1bf0e1e0 changed aim register so it never goes above 360 2013-09-01 21:58:27 -04:00
Richard Harrington
ef5666d8d2 reduced info per robot being sent to browser (fewer fields, fewer sig-figs per field) 2013-09-01 21:42:52 -04:00
Richard Harrington
b8567a487b transferring attributes by name (instead of en masse) from world to robot, for clarity 2013-09-01 21:02:53 -04:00
Richard Harrington
981e05bcc1 Merge branch 'collision-backtrack' 2013-08-31 17:23:49 -04:00
Richard Harrington
8dc42da7bc sort of got collision detection working. needs tweaks. 2013-08-31 17:23:22 -04:00
Richard Harrington
736b5ac5aa colliding, but getting stuck. x and y proximity both need to be checked. 2013-08-31 16:52:42 -04:00
Richard Harrington
50e9fa6f68 not crashing any more! collision detection not working, though. 2013-08-30 02:32:42 -04:00
Richard Harrington
dd0d06446e more slight progress 2013-08-30 02:11:58 -04:00
Richard Harrington
0633ebab2a in the middle of adding collision detection 2013-08-30 01:26:36 -04:00
Richard Harrington
febad2b5f0 Merge branch 'master' into collision 2013-08-30 00:17:11 -04:00
Richard Harrington
537d31b99b loading gameInfo now from server, instead of hard-coding from browser 2013-08-30 00:03:43 -04:00
Richard Harrington
367aaa8c3f changed names from robotXMax to robotRangeX, on front end 2013-08-29 23:22:54 -04:00
Richard Harrington
7bd1bca8a8 replaced all robot display constants with dependencies on robot radius 2013-08-29 23:19:24 -04:00
Richard Harrington
9edc004ab0 working on collision detection 2013-08-29 12:48:22 -04:00
Richard Harrington
ae1faa667a added turret animation 2013-08-29 10:35:36 -04:00
Richard Harrington
ec57b7941d changed gun length and robot radius 2013-08-29 10:35:19 -04:00
Richard Harrington
a66e7d0a64 changed robot colors so green wouldn't clash with background 2013-08-24 09:37:49 -04:00
Richard Harrington
af25b1a2db put in animation: instruction box gets swapped out for canvas upon user
input
2013-08-24 09:27:50 -04:00
Richard Harrington
6845fa51d8 now displaying names of available robots for user, on startup (changes to js and html) 2013-08-24 08:55:47 -04:00
Richard Harrington
4fe79afffd altered comment in main.js 2013-08-24 08:54:37 -04:00
Richard Harrington
c50bdde525 various content, html and css changes 2013-08-24 08:54:01 -04:00
Richard Harrington
aec6bf8eb6 moved worlds variable declaration to top of main.js 2013-08-24 08:52:38 -04:00
Richard Harrington
19260d6b67 added code to handler to return names of available programs, for display in browser 2013-08-24 08:51:27 -04:00