ucsb-cs56-projects / cs56-games-alva

1 stars 2 forks source link

Don't allow robot to jump when tiles are above it #20

Closed ok-wang closed 6 years ago

ok-wang commented 6 years ago

You can make the robot object jump even when there is a tile above of it. Please try to figure out how to make sure the robot object doesn't even attempt to jump when below a tile

steve-fields commented 6 years ago

F17 OK (100pts)

steve-fields commented 6 years ago

Hint: The animation works by checking whether up is being held, might be better to look at y velocity.

steve-fields commented 6 years ago

W18 OK (100pts)

steve-fields commented 6 years ago

W18 CLOSED