Skip to content

Commit

Permalink
Fix quickstart incorrect collision type
Browse files Browse the repository at this point in the history
The paddle is pushed down by the ball when the collision occur.
  • Loading branch information
mseyne authored and eonarheim committed Sep 27, 2016
1 parent d8bb3f7 commit 79bd35c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ play. Actors are the primary way to draw things to the screen.
paddle.color = ex.Color.Chartreuse;
// Make sure the paddle can partipate in collisions, by default excalibur actors do not collide
paddle.collisionType = ex.CollisionType.Active;
paddle.collisionType = ex.CollisionType.Fixed;
// `game.add` is the same as calling
// `game.currentScene.add`
Expand Down Expand Up @@ -241,4 +241,4 @@ examples and an `API Reference <http://excaliburjs.com/docs>`__.
<iframe width="100%" height="300" src="//jsfiddle.net/excaliburjs/6Ay9S/37/embedded/js,result/" allowfullscreen="allowfullscreen" frameborder="0"></iframe>

.. |Hello World Excalibur| image:: assets/quickstart/breakoutPartial.png
.. |Breakout Example Excalibur| image:: assets/quickstart/breakoutFinal.png
.. |Breakout Example Excalibur| image:: assets/quickstart/breakoutFinal.png

0 comments on commit 79bd35c

Please sign in to comment.