Skip to content

Commit

Permalink
Merge pull request #717 from marymclark/714-715-update-getting-started
Browse files Browse the repository at this point in the history
Updated getting-started.rst to address issues 714 and 715
  • Loading branch information
AstraLuma committed May 20, 2024
2 parents 54b7666 + d64ec33 commit c129989
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ Halle Jones|HJones@aliacy.com||
[Sheena O'Connell](https://github.com/sheenarbw) | [@sheena@fosstodon.org](https://fosstodon.org/@sheena) | [blog](https://sheenaoc.com/) |
[Quinn Redwoods](https://github.com/qredwoods) | | |
[Jeff Epler](https://github.com/jepler) | | |
[Mary Clark](https://github.com/marymclark) | [me@maryclark.net](me@maryclark.net) | |
19 changes: 2 additions & 17 deletions docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,6 @@ All Systems::

pip install ppb


Additionally, on Linux only you must install the SDL library:

Debian, Ubuntu::

sudo apt install libsdl2-2.0-0 libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libsdl2-gfx-1.0-0 libsdl2-ttf-2.0-0

Fedora, CentOS, RHEL::

sudo dnf install SDL2 SDL2_ttf SDL2_image SDL2_gfx SDL2_mixer libmodplug

Arch, Manjaro::
sudo pacman -S sdl2 sdl2_ttf sdl2_image sdl2_gfx sdl2_mixer

You should see a few libraries get put together in your terminal, and when
you have a prompt again, we're ready to go!

Expand Down Expand Up @@ -184,8 +169,8 @@ This new ``Player`` moves a certain distance based on time, and a direction
vector and its own speed. Right now, our direction is not anything (it's the
zero-vector), but we'll change that in a moment. For now, go ahead and run the
program a few times, changing the parameters to the ``direction`` ``Vector`` and
the speed and see what happens. You can also modify ``position`` to see where
you like your ship.
the speed and see what happens. You can also modify ``position`` to change the
``Player`` starting position.

Now that you're comfortable with the base mechanics of our new class, revert
your changes to ``position``, ``speed``, and ``direction``. Then we can wire up
Expand Down

0 comments on commit c129989

Please sign in to comment.