Skip to content

Commit 3d8028b

Browse files
committed
Updated readme.
1 parent 13a7261 commit 3d8028b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Check out the **[demo](http://hexus.github.io/phaser-arcade-slopes)**!
2929
## Installation
3030

3131
Grab a copy of the
32-
[latest release]((https://raw.githubusercontent.com/hexus/phaser-arcade-slopes/v0.1.1/dist/phaser-arcade-slopes.min.js)
32+
[latest release](https://raw.githubusercontent.com/hexus/phaser-arcade-slopes/v0.1.1/dist/phaser-arcade-slopes.min.js)
3333
from the [**dist**](dist) directory in this repository and include it after
3434
Phaser.
3535

@@ -123,10 +123,6 @@ game.physics.arcade.collide(emitter, ground);
123123

124124
### Extras
125125

126-
If you're making a platformer, your player has drag on the X axis, and you don't
127-
want it to slide down slopes, try using these features in your `create()`
128-
method.
129-
130126
#### Minimum Y offset
131127

132128
This feature separates rectangular physics bodies on the Y axis only, in the
@@ -140,6 +136,9 @@ player.body.slopes.preferY = true;
140136
game.slopes.solvers.sat.options.preferY = true;
141137
```
142138

139+
If you're making a platformer, your player has drag on the X axis, and you don't
140+
want it to slide down slopes, this should solve your problem.
141+
143142
#### Collision pulling
144143

145144
To attempt to keep objects on a surface, you can use collision pulling.

0 commit comments

Comments
 (0)