I think it'd be neat for pyUI to offer higher-level
constructs specifically targetted at pygame games.
That is, a menu page structure and configuration
The menu page helper base class would allow a
programmer to extend the base class with a set of
do_action methods. There'd be a class mapping
attribute which maps labels to actions.
The config helper class would be able to render and
control widgets for common configuration tasks like
strings, booleans, keyboard config, values through
sliders, ... and all it needs is to be passed a
structure defining the config, and it does the rest.
Saves reimplementing the wheel every time...
Log in to post a comment.