replace fishgoals with proper food look system
This commit is contained in:
parent
436d5f0301
commit
61d28a326f
7 changed files with 37 additions and 29 deletions
|
|
@ -11,6 +11,7 @@ FISH_EASE = ease.inOutSine -- ease used for fish movement
|
|||
FISH_ANGLE = 30 -- bigger angle allows for fish to swim further down/up at once
|
||||
FISH_FOLLOW_RANDOM = 10
|
||||
|
||||
FISH_FOOD_CHECK_FREQ = 10 -- how often to check for food
|
||||
FISH_FOOD_COOLDOWN = 10
|
||||
FISH_FOOD_HUNGRY = -5
|
||||
FISH_FOOD_DEAD = -15
|
||||
|
|
@ -22,7 +23,7 @@ FISH_SIZE = 6 -- how many large guppies can you fit on the screen
|
|||
|
||||
FOOTER_HEIGHT = 68
|
||||
|
||||
FOOD_HITBOX = 0.05
|
||||
FOOD_HITBOX = 0.08
|
||||
|
||||
DEBUG_FISH_PATH_SUBDIVISIONS = 50
|
||||
DEBUG_FISH_PREDICT_AMOUNT = 0.5
|
||||
Loading…
Add table
Add a link
Reference in a new issue