I haven’t been very successful with the game engine, I wanted to do more than I have, I was lucky to get some help from a number of users here, who helped me out with programming, and brick programming.
I guess, the first step is to get one button to move a character. At the most, I would need perhaps four buttons. If it is possible to close the game, then five. One button would be for an alterntive camera view.
A current file I am messing with not related to my released couple of files, may require some kind of camera change or targeting system, otherwise the FP can’t see the AI, or much.
bge.logic import joysticks
joy_index = -1
for i, stick in enumerate(joysticks):
joy_index = i
joy = joysticks[joy_index]
butts = joy.activeButtons
if 0 in butts: print(“X on a ps2 controller”)
What is butts? That is some keyword given.