Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated getting-started.rst to address issues 714 and 715 #717

Merged
merged 2 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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|[email protected]||
[Sheena O'Connell](https://github.com/sheenarbw) | [@[email protected]](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) | [[email protected]]([email protected]) | |
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