[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Aliens Sample Xbox One



Hello.

 

I can confirm Xbox One is able to run the aliens sample with joystick support, audio and sprites, it needs, however, heavy testing. I will conduct a popular game engine port using pygame in the next week, starting from tomorrow, any help is appreciated.

 

This is the video proof

 

https://youtu.be/V53kvpZwRxE

 

These are the relevant repositories:

 

https://github.com/greentwip/cpython

https://github.com/greentwip/pygame

 

The video and _sprite modules needed to be compiled again with cython, since the python interpreter wasn’t picking up the from . import error statement located in the line 2 of video.pyx.

 

For some reason Xbox One is able to pick up the import statement for pyd extensions, UWP on Windows is not, so extensions must be manually loaded and filled sys.modules for each of them, Xbox One has issues importing the sdl2 library, so it’s named __sdl2.pyd (double underscore). If you’re interested I can give you install details (I will be making documentation of it in the very next few days).

 

Again, thanks for your support, it’s far from ready but I’m pretty sure it will be a complete port pretty soon.