This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 

GameX API (Source) 1.0

Open Source
Source code for the GameX library
You must be registered and logged into HPC:Factor in order to contribute to the SCL.


GameX was developed by Hayes Haugen and performs same function as Gapi for earlier CE2.11 machines.
The goal of GameX game development library is to solve the problems that are encountered when trying to write performance-oriented, real-time games on Windows CE devices. It is also useful for other applications that need to use the CE device in a way that isn’t supported by the operating system.

- GameX is a single object.
- If you want to support different rotations then you need to factor that into your draw code and your button code. Duh.
- Use GetASyncKeyState() for detecting PSPC button presses in all but the simplest of cases. The OEM’s keyboard driver handles message generation for these buttons and is different from device to device. The messages oftentimes don’t make sense, there will only be a KEYUP message when the button is pressed but no other messages. Some devices delay the messages approximately 1 second, others won’t generate messages for buttons when one button is held down.
- Many devices will have 16 bit or 8 bit color but similar frame buffer memory bandwidth as a 2 bit monochrome device. (include timings). You can’t even clear the screen 30 times a second on many devices, let alone get a game to run that fast. Hopefully GameX and games in general on CE will encourage CE manufacturers to improve their hardware in this area.
- Currently to determine if a device has support for direct frame buffer access use GetFBAddress(). A NULL return value means it doesn’t.
- I want to expand BeginDraw() so that if you call it with BeginDraw(true) it will check if it’s OK to draw to the FB first (is app frontmost).
- Use the IsPSPC(), HasKeyboard(), etc. API calls. This is usually the question you need answered and GameX can evolve in how it answers it. For example: external keyboards are starting to become more common – if your code always assumes PSPCs don’t have keyboards then the user with the external keyboard is out of luck.
- Still lots more to do!

See https://web.archive.org/web/20040219002927/http://revolution.cx/GameX.html

System Requirements

unzip the file. Contains linker library for supported architectures and GameX.h header.

Installation Instructions

Unzip the file. Contains linker library for supported architectures and GameX.h header.


Open Sourcesource codeGAPIlibraryGameX

License Open Source
The program is open source, free and the source code is available on-line.
Website http://revolution.cx
This link is no longer available on the World Wide Web and will attempt to load via the WayBack Machine
Popularity 1885
Total Downloads  6
Submitted By Stevetuc
Submitted On 23 January 2022


No comments have been submitted against this application. Be the first!

You must be signed-in to post comments in the SCL. Not registered? Join our community.

Software Compatibility List: The SCL is provided for free to the Handheld PC Communty and we do not carry advertising to support our services. If you have found the SCL useful, please consider donating.