Giter Site home page Giter Site logo

trellixvulnteam / cpython_pzgc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from greentwip/cpython

0.0 0.0 0.0 100.06 MB

UWP port for Windows Store and Xbox One

License: MIT License

Shell 3.17% JavaScript 0.03% C++ 4.30% Python 33.37% Perl 0.03% C 55.73% Objective-C 0.98% Java 0.26% Common Lisp 0.03% C# 0.01% Assembly 0.42% PowerShell 0.02% CSS 0.04% TeX 0.45% Makefile 0.50% HTML 0.40% CMake 0.19% PLSQL 0.03% DTrace 0.01% Batchfile 0.02%

cpython_pzgc's Introduction

CPyton

Xbox One Python 3.4 port, this fork is directed towards game developers, but other uses might as well be possible. It can be used as a UWP framework for Microsoft Store applications, but the functionality is untested and some features such as os.walk or os.path.exists won't work for Windows (although they work for Xbox One)

We have ported Pygame with most of what's needed to run a complete game, so you'll know what to do if you have a game written in Python using that library.

To get started, clone this repo and init submodules, you can use a Powershell terminal or use chdir instead of cd

git clone https://github.com/greentwip/cpython
cd cpython
git submodule init
git submodule update

All the magic is inside the UWP folder, there you will find the UWPApp.sln solution file, you will need Visual Studio 2019 with C++ and UWP apps support enabled to open the projects.

The contents of the solution file are the Pygame extensions, SDL dependencies, code for Lex-Talionis, a fan game emulating all the features Fire Emblem for GameBoy Advance has, there are also embedded samples of Pygame running for Xbox One and a standalone Python interpreter. Those are located inside the Experiments solution folder (Interpreter and Pygame subfolders).

You will only need to setup your Xbox One as a development unit, there is information for that on the Microsoft Developer portals.

To run Lex-Talionis you either disable audio or download the audio files and place them in the Audio folder, see Lex-Talionis/Assets/Lex-Talionis/Code/Engine.py and look for NO_AUDIO = False, change it to True to make it run without music.

The audio files can be downloaded from here

cpython_pzgc's People

Contributors

balancedwolf avatar trellixvulnteam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.