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
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