[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
There are a few things I would like to see added to the
library and I'll just say them briefly here.
First, I would like an API to get the battery level of the
device the game is running on. This could return some
bogus negative value if it's a batteryless machine or one
that's plugged in, or it could return 1.0 (or 100 etc). This
is important for handhelds and can even but very useful
if you want to make a high grade fullscreen pc game that
would run on a laptop.
Second, screen orientation. I think a lot of screens these
days can be rotated, and the obvious, the iphone, can
be rotated also. A method to get and set the screen
orientation (so mouse coordinates would be reported
properly, and drawing would be done correctly) would
be nice.
Third and finally, force feedback and motion sensing
in the joystick drivers. Again I'm speaking mostly from
the perspective of the developer of an iphone game, but
I would use it for PC ports too. At a minimum I would like
to add some kind of method to poll or receive an event
when a device is shaken. Turning on and off vibrate
would be nice too.
Looking for feedback on all of these things. If people
agree they're useful I can come up with an API and see
what everyone thinks of it then.
This could be a 5.2 set of features, I would have no
problem with that.
Trent :{)>