Commit Graph

443 Commits

Author SHA1 Message Date
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
Richard Harrington ca5b98f241 limited games to five robots. cuts them off silently if more than five are input 2013-08-24 08:50:33 -04:00
Richard Harrington 21cdd286b2 changed games-store in handler from agent to atom 2013-08-24 08:49:49 -04:00
Richard Harrington feabfe3145 now allowing robot name input to be comma-separated (was just space-separated before) 2013-08-24 08:48:30 -04:00
Richard Harrington d03d64bd6a separated source programs out into regular and dev 2013-08-24 06:37:49 -04:00
Richard Harrington 07bb7db5c9 fixed name of robot in soure-code 2013-08-24 00:55:09 -04:00
Richard Harrington 7720b273da capitalized the W in RobotWar. very important 2013-08-24 00:54:58 -04:00
Richard Harrington e05873121a centered, and made input text bigger 2013-08-24 00:51:02 -04:00
Richard Harrington c79673b405 got autofocus and blur on input going 2013-08-24 00:37:56 -04:00
Richard Harrington 3549079c96 changed text content again 2013-08-24 00:32:32 -04:00
Richard Harrington 6a729918b3 changed to green theme 2013-08-24 00:32:04 -04:00
Richard Harrington 7c53dcd8fa fixed handling of invalid robot names (ignores them now) 2013-08-24 00:31:22 -04:00
Richard Harrington 446382ecfa added css styling and futuristic font 2013-08-24 00:30:34 -04:00
Richard Harrington ba8f25079e rearranged text and changed content in html 2013-08-24 00:02:40 -04:00
Richard Harrington 18c3e02084 user input now determines which robots battle 2013-08-24 00:02:09 -04:00
Richard Harrington 29ba6d0700 changed names of programs (to be shorter and easier to type in requests) 2013-08-24 00:01:06 -04:00
Richard Harrington 8012bbb138 changed t physics module to use Java Math/toRadians function 2013-08-23 11:03:47 -04:00
Richard Harrington cc1dee5418 changed robot acceleration calc to use Java Math/copySign function 2013-08-23 10:53:33 -04:00
Richard Harrington 0945151aab changed all float coercion to double coercion 2013-08-23 10:51:56 -04:00
Richard Harrington 8b9b11d803 took out coments 2013-08-23 10:21:18 -04:00
Richard Harrington c385631f34 got bullet sounds working. pretty hacky. 2013-08-23 01:15:38 -04:00
Richard Harrington 102a307af8 changed shells to a map-indexed system, for identifying new ones
(so far, we can't play the same sound at the same time
anyway, so this change has no visible effect yet)
2013-08-22 15:25:36 -04:00
Richard Harrington 1511a41670 changed the source code situation to be 2 shooters and 2 movers 2013-08-22 14:50:27 -04:00
Richard Harrington 7d1ac4cfe2 refactored main.js in preparation for getting GAME_INFO from the server, instead of it being local constants 2013-08-22 12:46:42 -04:00
Richard Harrington 4505b279f9 fixed degree conversion to account for robotwar coordinate system 2013-08-22 12:30:22 -04:00
Richard Harrington 2d34d012e2 hid the deg-rad conversion on the front end also 2013-08-22 11:58:37 -04:00