Debian Codegraph @

doc/roadmap.rst

raw ◀ ▶
1 Debian patch touch this file
1 Roadmap
2 =======
3
4 Pygame Zero is an open source project, and as with any such project, the
5 development roadmap is subject to change.
6
7 This document just lays out some goals for future releases, but there is **no
8 guarantee** that these targets will be hit.
9
10
11 Translations
12 ------------
13
14 Pygame Zero is aimed at young users, whose English skills might not be good
15 enough to read the documentation if it isn't in their own language.
16
17 Adding translations of the documentation would help to bring Pygame Zero to new
18 users. This is something that needs contributors to help with. My own language
19 skills aren't good enough!
20
21 Please see :ref:`the translating guide <translating>` if you think you can
22 help.
23
24
25 Gamepad Support
26 ---------------
27
28 Github Issue: `#70 <https://github.com/lordmauve/pgzero/issues/70>`_
29
30 SNES-style gamepads are now extremely cheap. For example, they are sold for
31 a few pounds from the `Pi Hut`_, in packs of 2 at Amazon_, and even in some
32 Raspberry Pi bundles.
33
34 Gamepad support should not be limited to these specific models; rather, we
35 should treat this as a lowest-common-denominator across modern gamepads, as
36 nearly all more modern gamepads have at least as many buttons and axes.
37
38 This feature needs to be added in a way that will not **require** a gamepad to
39 play any Pygame Zero game, in order to follow the principle of
40 :ref:`accessibility`.
41
42 .. _`Pi Hut`: https://thepihut.com/products/raspberry-pi-compatible-usb-gamepad-controller-snes-style
43 .. _Amazon: https://www.amazon.co.uk/s/ref=nb_sb_noss_2?url=search-alias%3Delectronics&field-keywords=usb+snes
44
45
•46 REPL
47 ----
48
49 Python's REPL is a valuable feature that makes the language much more
50 accessible to beginners.
51
52 Python programs that present a user interface, however, rarely provide a REPL,
53 because the main thread is used to run the event loop for the user interface.
54
55 However, Javascript in a web browser demonstrates how this can work. You have
56 access to an interactive REPL that allows investigating program state *while
57 you interact with the interface*. This is very useful for debugging, and would
58 be a powerful addition to Pygame Zero.
59
60
61 Surface juggling
62 ----------------
63
64 Github Issue: `#71 <https://github.com/lordmauve/pgzero/issues/71>`_
65
66 Pygame experts make lots of use of off-screen surfaces to create interesting
67 effects.
68
69 Pygame Zero chose to consider only the screen surface, which we wrap with
70 a richer ``Screen`` API for drawing, etc.
71
72 The problem is that there is no easy path to using additional surfaces -
73 Pygame Zero immediately becomes dead weight as you start to look past that
74 curtain.
75
76 We should look to smooth out this path to make Pygame Zero Actors and Screen
77 work better with custom surfaces.
78
79
80 Storage
81 -------
82
83 Github Issue: `#33 <https://github.com/lordmauve/pgzero/issues/33>`_
84
85 It would be useful for users to be able to save and load data.
86
87 The obvious application is save games, but saving and loading whole games can
88 be pretty hard to get right. The simpler application would just be saving
89 settings, customisations, high scores, or the highest level reached.
90
91 Python of course has APIs for reading and writing files, but this has
92 additional complexity that teachers might not want to teach immediately.