diff options
| author | group1 <f16_group1@pbridge.adm.cs.cmu.edu> | 2016-10-16 23:23:56 -0400 |
|---|---|---|
| committer | group1 <f16_group1@pbridge.adm.cs.cmu.edu> | 2016-10-16 23:23:56 -0400 |
| commit | 54565fbc7c0fe1d30c98740d146bbb1723f5408a (patch) | |
| tree | 6e636a728b8c7e57cc8d2191efde5c73daa87242 /fish_types.py | |
| parent | 65d62033231e7ba8e99b341aa13a6ed2b63920a6 (diff) | |
| download | bridge-54565fbc7c0fe1d30c98740d146bbb1723f5408a.tar.zst | |
Whale
Diffstat (limited to 'fish_types.py')
| -rw-r--r-- | fish_types.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/fish_types.py b/fish_types.py index ce15703..b66c293 100644 --- a/fish_types.py +++ b/fish_types.py @@ -112,13 +112,13 @@ class Jellyfish(Fish): class Dolphin(Fish): - color = C.HSV(18/360, 0/100, 40/100).to_RGB() + color = C.HSV(18/360, 0/100, 10/100).to_RGB() drag = -0.09 width = 35 height = 1.5 tailThreshold = 0.7 tailDuration = 2 - tailAccelMag = 0.8 + tailAccelMag = 0.4 gravity = C.Vector(0, -0.01) direction_fixed = False @@ -162,7 +162,7 @@ class Boat(Fish): class Dory(Fish): # Need to try this on the bridge - color = C.HSV(235/360, 100/100, 88/100).to_RGB() + color = C.HSV(235/360, 100/100, 100/100).to_RGB() drag = -0.1 width = 23 height = 1.5 @@ -172,7 +172,7 @@ class Dory(Fish): class Nemo(Fish): - color = C.HSV(31/360, 100/100, 50/100).to_RGB() + color = C.HSV(40/360, 100/100, 10/100).to_RGB() drag = -0.09 width = 23 height = 1.5 @@ -183,7 +183,7 @@ class Nemo(Fish): class Whale(Fish): drag = -0.2 - width = 50 + width = 80 height = 2 tailThreshold = 0.7 tailDuration = 3 @@ -192,10 +192,10 @@ class Whale(Fish): y = 0 - white_x_min = 30 - white_x_width = 8 - white_y_min = 1 - white_y_height = 1 + white_x_min = 58 + white_x_width = 6 + white_y_min = 1.45 + white_y_height = 0.5 def color_at(self, x, y): """Mostly copied from compute_coverage. |
