Posted version 0.99h, OpenGL renderer, mouse&gamepad controls, misc fixes


This is a large-ish version, i had this under wraps for a while (though i wasn't really doing anything... 99.9% of the work was done last month, i just wanted to fix a couple of minor glitches).

Version 0.99h adds hardware acceleration support for the Windows version with an OpenGL 1.1 backend which can be used pretty much anywhere there is a 3D chip (you can even -try to- use it with 3dfx Voodoo using the MesaFX OpenGL wrapper... though it'll probably be a bit slow). 

Also there is support for mouse controls (for both the Windows and the DOS versions) so now you can use the mouse to turn around and WASD to move. Left and right buttons can be used to interact and jump respectively, middle mouse (where it exists) can be used to pick up stuff. Under Windows the wheel can also be used to select items in the GUI screens or cycle the numbers in the slightly reworked code entering GUI screen.

In addition to mouse controls there is also joystick/gamepad controls, with the current mapping being made for Xbox 360/One gamepads. This really translates buttons (and stick motion) to keyboard events so it is far from perfect but it works good enough to sit back and relax while playing with a gamepad.

Also there is an unfinished Android port in the source code. This compiles fine (you'll need Free Pascal's Android cross compiler, the Android SDK and the NDK) but the game isn't really playable. I might try to finish it at some point later. Also note that it is only for Android devices with a gamepad (be it something like JXD/GPD's gaming tablets, something like Nvidia Shield TV or a phone with a bluetooth gamepad) - there is no support for touch controls.

Finally there are a couple of very minor fixes, including fixing the animated texture for the rods in the last map that were broken a couple of fixes ago when i changed the animated texture naming convention and forgot to rename the rod texture's second frame :-P.

Files

Petra099h.zip 960 kB
Aug 25, 2020
Petra099hEditor.zip 1.6 MB
Aug 25, 2020
Petra099hSource.zip 161 kB
Aug 25, 2020

Get Post Apocalyptic Petra

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.