-
Notifications
You must be signed in to change notification settings - Fork 332
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
Add font preview, fix giant snake, and start adding missing 3.0 content #2432
Open
pushfoo
wants to merge
32
commits into
development
Choose a base branch
from
doc-add-font-preview-and-missing-3.0-content
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
0daf26f
Fix oversized snake logo file
pushfoo fdcf890
Restore resource font output and add headings
pushfoo a386dcd
Document and clean up additions
pushfoo aafcca1
Cover academia / 2.6.X stuff
pushfoo b3bec13
Big rework for wording in multiple areas
pushfoo d5d0cce
Clean up create_resource_listin.py a bit
pushfoo 9751935
More links.rst comments
pushfoo 6ce3651
github pls
pushfoo 38d27ae
Remove question marks and redundant phrases from faq
pushfoo e5a55b4
Rephrase web faq
pushfoo 5ae4525
Regularize phrasing on faq page.
pushfoo 6fa9248
Change title and phrasing for packaging section
pushfoo 52e5c18
Use clearer phrasing for a call to action in the intro paragraph
pushfoo 8dfa4bb
Remove redundant logo and unused sprinter embed
pushfoo d760347
Rephrase to emphasize creativity
pushfoo 4b429c6
Rephrase Libre paragraph on homepage
pushfoo 419876e
Move items from homepage to improve readability
pushfoo ef618e2
Fix comments and missing ref
pushfoo b4fb1fa
More links
pushfoo e921a7a
More homepage changes
pushfoo 9c2051a
Add big GLES page
pushfoo 3ae210f
FAQ and install crossrefs
pushfoo 06b220f
Add for_academia.rst which may need trimming
pushfoo b764473
Start filling out community and contributing
pushfoo d5cd90f
Line spacing
pushfoo ed8a7ca
Clean up table comment
pushfoo 44a8544
Fix phrasing per @DragonMoffon's suggestion
pushfoo 3ef42fc
Phrasing tweak per @DragonMoffon's suggestion
pushfoo 7c20beb
link targ weirdness
pushfoo c17b5db
Trailing character
pushfoo 0ac97e5
Fix crossref
pushfoo 3aa3618
Remove extraneous content and rephrase existing SBC sections
pushfoo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,95 @@ | ||
.. _faq: | ||
|
||
Frequently asked questions | ||
========================== | ||
|
||
Can I copy and adapt example code for my own projects? | ||
------------------------------------------------------ | ||
.. _faq_education: | ||
|
||
Can I use Arcade resources in my own educational materials? | ||
----------------------------------------------------------- | ||
|
||
.. _gh_license: https://github.com/pythonarcade/arcade/blob/development/license.rst | ||
|
||
Of course. You can copy and adapt example code for your own projects for any reason. | ||
In fact, we encourage you to do so. We want you to learn and be successful. | ||
Yes! Arcade was originally developed for educational use. In addition to | ||
a page :ref:`academia`, we have further documentation covering: | ||
|
||
Can Arcade run on the web? | ||
-------------------------- | ||
|
||
Currently Arcade projects cannot easily be build to run on the web. | ||
It can be possible in the future but will require a lot of work | ||
in pyglet, the underlying library that Arcade uses. | ||
* The :ref:`permissive_mit` covers the library and documentation | ||
* The :ref:`CC0 Public Domain Dedication <permissive_almost_all_public>` and similar cover the :ref:`resources` | ||
|
||
.. _faq_commercial: | ||
|
||
Can I use Arcade in a commercial project? | ||
----------------------------------------- | ||
|
||
Of course. Arcade is released under the MIT License. This means you can use it for free. | ||
Even adapted versions of Arcade or parts of it can be used in commercial projects. | ||
:ref:`commercial_games`. There's already one commercially released game using Arcade. | ||
|
||
Can I use Arcade resources in my own educational materials? | ||
----------------------------------------------------------- | ||
.. _faq-copying: | ||
|
||
Can I copy and adapt example code for my own projects? | ||
------------------------------------------------------ | ||
|
||
Of course! We encourage you to do so. That's why the example code is there: we | ||
want you to learn and be successful. See the :ref:`permissive_mit` section to learn | ||
more about Arcade's license means (you agree not to claim you wrote the whole thing). | ||
|
||
Can Arcade run on...? | ||
--------------------- | ||
|
||
Windows, Mac, and Linux | ||
^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
Yes. Most hardware with an Intel or AMD processor from the last ten years will do fine. | ||
New :ref:`requirements_mac_mseries` can have some hiccups, but they generally work. | ||
|
||
.. _faq-raspi: | ||
|
||
Raspberry Pi and Other SBCs | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
Raspberry Pi is a popular brand of Single Board Computers (SBCs). | ||
|
||
The Raspberry Pi 4 and 5 are known support Arcade under `Raspberry Pi OS`_, | ||
and the Raspberry Pi 400 *may* also work. As of October 2024, | ||
:ref:`All other other Raspberry Pi models are incompatible <sbc_unsupported_raspis>`. | ||
|
||
Other SBCs *may* work with Arcade 3.0.0. See the :ref:`sbc_requirements` to learn more. | ||
|
||
.. _faq_web: | ||
|
||
Web | ||
^^^ | ||
Not yet. For the moment, the Arcade and `pyglet`_ teams are eagerly | ||
watching ongoing developments in `WebGPU`_ and its `WASM`_ integrations. | ||
|
||
.. _WebGPU: https://developer.mozilla.org/en-US/docs/Web/API/WebGPU_API | ||
.. _WASM: https://developer.mozilla.org/en-US/docs/WebAssembly | ||
|
||
.. _faq_mobile: | ||
|
||
Mobile | ||
^^^^^^ | ||
Not in the near future. Supporting mobile requires big changes to both | ||
Arcade and the `pyglet`_ library we use. | ||
|
||
.. _faq_android: | ||
|
||
Android | ||
""""""" | ||
Android support will take a huge amount of work: | ||
|
||
#. `pyglet`_ would need to account for mobile-specific OS behavior | ||
#. Arcade would need to make changes to account for mobile as well | ||
#. Not all devices will support the necessary :ref:`OpenGL ES versions <requirements_gles>`. | ||
|
||
.. _faq_ios: | ||
.. _faq_ipad: | ||
|
||
iOS and iPad | ||
"""""""""""" | ||
|
||
Not in the foreseeable future. They are much trickier than web or Android | ||
for a number of reasons. For near-future iOS and iPad support, you may want to | ||
to try `Kivy`_. | ||
|
||
Yes! Arcade was primarily developed for educational purposes. | ||
Use Arcade materials in any way you see fit. Original content | ||
or adapted versions of it. | ||
.. _Kivy: https://kivy.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
.. _academia: | ||
|
||
For Educators & Researchers | ||
=========================== | ||
|
||
.. _citation template: https://github.com/pythonarcade/arcade#citation | ||
|
||
Python Arcade was created by Paul V. Craven while teaching at Simpson College. | ||
|
||
In addition to the main Arcade 3.0 documentation you are currently reading, there | ||
are further resources to help academic users. These include: | ||
|
||
* The :ref:`citation template <academia_citations>` | ||
* A companion :ref:`academia_arcade_book` by Arcade's creator | ||
* Potential 2.6.X maintenance releases to support curricula using Arcade 2.6 | ||
|
||
|
||
.. _academia_citations: | ||
|
||
Citation Template | ||
----------------- | ||
|
||
Arcade provides a `citation template`_ in `BibTeX`_ format. | ||
|
||
To learn more about using this template, please consult the following: | ||
|
||
* the documentation of your reference management tool | ||
* any style guides you are required to follow | ||
|
||
|
||
.. _academia_version_2v3: | ||
|
||
Version Considerations | ||
---------------------- | ||
Most users will be better off using Arade 3.0. | ||
|
||
The main case for continuing to use ``2.6.X`` releases is reliance on teaching | ||
materials which have not yet been updated, including the :ref:`academia_arcade_book`. | ||
|
||
|
||
.. _academia_arcade_book: | ||
|
||
Arcade Book | ||
^^^^^^^^^^^ | ||
|
||
The creator of Arcade wrote an `Arcade book`_ which covers Python basics in greater depth | ||
than the main Arcade documentation. | ||
|
||
|
||
It may be some time until the `Arcade book`_ is updated for Arcade 3.0. Doing so requires a | ||
separate effort after the 3.0 release due to the the scale and number of changes since | ||
Arcade 2.6. | ||
|
||
|
||
Similarities to this Documentation | ||
"""""""""""""""""""""""""""""""""" | ||
|
||
Both the book and the documentation you are currently reading provide: | ||
|
||
* all-ages learning resources | ||
* gentle introductions to Python and Arcade | ||
|
||
|
||
Differences from this Documentation | ||
""""""""""""""""""""""""""""""""""" | ||
|
||
The book caters more heavily to beginners and educators by providing the following | ||
in a traditional chapter and curriculum structure: | ||
|
||
#. Embedded videos covering concepts and past student projects | ||
#. Lab exercises to help apply chapter material through practice | ||
#. Translations in `Swedish / Svenska <book_sv>`_ and `German / Deutsche <book_de>`_ | ||
|
||
It also offers gentle, beginner-friendly introductions to topics which can intimidate | ||
even the graduates of college-level computer science programs: | ||
|
||
#. Editors and development environments | ||
#. Industry-standard version control tools | ||
#. CS topics applicable at college-level and beyond | ||
|
||
|
||
.. _2_6_maintenance: | ||
|
||
2.6.X Maintenance? | ||
------------------ | ||
|
||
The Arcade team is exploring additional *maintenance-only* releases for 2.6.X. | ||
|
||
The goals for these still-hypothetical releases would be: | ||
|
||
#. Security updates | ||
#. Compatibility with newer Python versions | ||
#. Highly limited bug fixes | ||
|
||
Since the Arcade team's focus is on improving Arcade 3.0, no new features will be added | ||
unless at least one of the following is true: | ||
|
||
* It is required for a security or compatibilty improvement | ||
* The effort required is minimal | ||
|
||
|
||
Raspberry Pi and other SBCs | ||
--------------------------- | ||
|
||
For educators, Single-Board Computers (SBCs) such as the Raspberry Pi 4 and 5 | ||
are not always the most cost-effective option. | ||
|
||
However, they may be an attractive option when at least one of the following | ||
applies: | ||
|
||
* You have an educational discount | ||
* You have grant or non-profit funding | ||
* Surplus hardware isn't an option | ||
|
||
|
||
.. _sbc_rule_of_thumb: | ||
|
||
SBC Purchasing Rules of Thumb | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. note:: These rules help **non-experts** steer toward Arcade-copatible devices. | ||
|
||
You can find more in-depth descriptions of the required OpenGL ES versions | ||
and more under the :ref:`sbc_requirements` heading. | ||
|
||
|
||
ARM64 and AMD64 are Easiest | ||
""""""""""""""""""""""""""" | ||
|
||
The :ref:`known-working Raspberry Pi 4 and 5 <sbc_supported_raspi>` are both ARM64 | ||
devices. If you are considering other boards due to price or availability, stick to | ||
the following CPU architectures: | ||
|
||
* ARM64 | ||
* AMD64 (same as most non-Mac desktop CPUs) | ||
|
||
No RISC-based SBC has been verified as compatible. Although some *may* work, | ||
SBCs based on RISC-V CPUs are likely to lack: | ||
|
||
* introductory tutorials | ||
* beginner-friendly documentation | ||
|
||
|
||
|
||
Credit Card Rule | ||
pushfoo marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"""""""""""""""" | ||
|
||
As of October 2024, all compatible and widely-available SBCs are | ||
larger than credit cards: | ||
|
||
* 3.375 inches by 2.125 inches | ||
* 85.60 mm by 53.98 mm | ||
|
||
If you try to use this rule: | ||
|
||
#. Compare to the actual circuit board's size, not the size of the package | ||
#. Use an old hotel key card, expired credit card, or expired debit card | ||
|
||
It's unlikey that an SBC board will have magnets. However, the package | ||
might include them in motors (in kits) or as part of the box itself. | ||
Using an old card stops you from accidentally wiping a magnetic strip you need. | ||
|
||
Although this errs on the side of caution, it also: | ||
|
||
* quickly rules out :ref:`incompatible Raspberry Pi models <sbc_unsupported_raspis>` | ||
* should apply to other SBCs as well |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd make this more confident, 'The Raspberry Pi 4 and 5 can run Arcade using
Raspberry Pi OS
_'