another copy tweak
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
3ac3385f70
commit
1715d0115a
|
@ -110,12 +110,6 @@ We need the ball to be able to be served left or right. To make our direction po
|
||||||
|
|
||||||
This maybe isn't the best place for this logic, but since right now we always want the ball to be served randomly, it's probably fine to have this logic in the BallSpawner. Sometimes it isn't the best use of time to write the most abstract-possible system all up front if you're pretty sure you aren't gonna need it. You will have to use your judgment to make these kinds of calls.
|
This maybe isn't the best place for this logic, but since right now we always want the ball to be served randomly, it's probably fine to have this logic in the BallSpawner. Sometimes it isn't the best use of time to write the most abstract-possible system all up front if you're pretty sure you aren't gonna need it. You will have to use your judgment to make these kinds of calls.
|
||||||
|
|
||||||
The moment of truth...
|
The moment of truth... Run the game.
|
||||||
|
|
||||||
*insert video here*
|
You should see that the ball gets served at random angles. The angle is probably a bit generous as it is but we can leave it for now.
|
||||||
|
|
||||||
<video width="75%" autoplay="autoplay" muted="muted" loop="loop" style="display: block; margin: 0 auto;">
|
|
||||||
<source src="/images/ball_respawn.webm" type="video/webm">
|
|
||||||
</video>
|
|
||||||
|
|
||||||
Not bad. The angle is probably a bit generous as it is but we can leave it for now.
|
|
||||||
|
|
Loading…
Reference in New Issue