Space shooter being built for PyWeek 32

Related tags

Game Developmentaxium
Overview

Axium

Humanity's expansion into space had lasted centuries by the time we encountered the vicious Threx.

The Threx adopted a single, religious mission: destroy all alien life and technology.

At the edge of the Axium system, you have a chance to make your stand. Build structures to assist you in fighting off the Threx.

Controls

Control is by joystick or gamepad. If you don't have a gamepad to hand, remember that Xbox, Switch, and Playstation controllers can all be paired to a PC. If you would like to invest in a gamepad, the 8bitdo controllers are very good.

  • Left stick: move
  • A (bottom button): shoot
  • B (right button): boost
  • Y (top button): build mode
  • Left/Right Shoulder: select building
  • Start: begin game/pause

Axium reads the Game Controller DB file which provides mappings for a large number of controllers so that they behave approximately the same (despite different layouts and button orderings). I don't have direct experience of how comprehensive this is, but you can add mappings using the instructions in that repo.

Co-op

Connect a second controller to play co-op. The second player can join at any time by pressing start.

The players share the lives and credit balance.

Buildings

  • Reactor - fusion reactors provide power for up to 3 base buildings. If you lose your reactors your buildings will still work, but you will not be able to build more.

  • Phaser Pod - after a few moments work, generates two phaser packs that charge your shot. Phaser shots will travel through multiple enemies.

  • Rocket Arsenal - generates a single rocket pack. Rockets home onto targets.

  • Repair Bay - hosts a swarm of drones that repair your base structures. Drones cannot attack the Threx and are destroyed if theor repair bay is destroyed.

Install and run

Install all requirements from requirements.txt.

To run, type

python axium.py

Credits

Space Background: By Mink Mingle https://unsplash.com/photos/NORa8-4ohA0

Font: Sector 34 by Neoqueto https://www.dafont.com/sector-034.font?l[]=10&l[]=1

Music: For Robots Friendly Floater Mix (remixed by Rico Zerone) by Tom Woxom https://freemusicarchive.org/music/Tom_Woxom/Robot/11_-_For_Robots_Friendly_Floater_Mix_remixed_by_Rico_Zerone

Owner
Daniel Pope
Python Programmer with a background in web/devops. Fellow of the Python Software Foundation. Hobbyist games programmer: I have won @pyweekorg four times.
Daniel Pope
Open source translation for the Tsukihime Remake game

Tsukihime-Translation Open source translation for the Tsukihime Remake game prepared by Clovermoon and Tsukihimates. Copyright Disclaimer under Sectio

118 Jan 01, 2023
Snake game mixed with Conway's Game of Life

SnakeOfLife Snake game mixed with Conway's Game of Life The rules are the same than a normal snake game but you have to avoid cells created by Conway'

Aidan 5 May 26, 2022
Deal Or No Deal was a very popular game show. Even now, for a family party, it's a fun game to pass time

Deal Or No Deal was a very popular game show. Even now, for a family party, it's a fun game to pass time. I made a code to play the game right in your terminal/console. This isn't made to be a game w

1 Feb 15, 2022
Automatic game data translator for RPGMaker-MV

RPGMaker-MV Translator 🕹️ 🎮 Use AI to translate all the dialogs and texts of your RPGMaker automatically. 👊 You worked hard to make your game, now

Davide Liu 11 Dec 26, 2022
A sprite ripper and converter for Com2uS' 2007 game Music World.

Music World Sprite Dumper This repository contains a python script reads an UNCOMPRESSED Music World pxo file and attempts to dump sprites from it. Th

Buu342 1 Mar 16, 2022
The DOS game from the 80s re-written in Python from Scratch!

Drugwars The DOS game from the 80s re-written in Python from Scratch! Play in your browser Here Installation Recommended: Using pip pip3 install drugw

Max Bridgland 45 Jan 03, 2023
Jiminy, fast and portable Python/C++ simulator of poly-articulated systems with OpenAI Gym interface for reinforcement learning.

Jiminy is a fast and portable cross-platform open-source simulator for poly-articulated systems. It was built with two ideas in mind: provide a fast y

Alexis DUBURCQ 122 Dec 29, 2022
Chess Game using Python

Chess Game is a single-player game where the objective is same as the original chess game. You just need to place your chess piece in a correct position. The purpose of the system is to provide some

Yogesh Selvarajan 1 Aug 15, 2022
XPlaneROS is a ROS wrapper for the XPlane-11 flight simulator.

XPlaneROS XPlaneROS is a ROS wrapper for the XPlane-11 flight simulator. The wrapper provides functionality for extracting aircraft data from the simu

AirLab Stacks 26 Dec 04, 2022
Allows you to email people wordle spoilers. Very beta, not as many features

wordlespoiler Allows you to email people wordle spoilers. Very beta, not as many features How to Use 1.) Make a new gmail account. Go to settings (Man

0 Jan 04, 2023
Pong is one of the first computer games that ever created, this simple

Pong-Game Pong is one of the first computer games that ever created, this simple "tennis like" game features two paddles and a ball, the goal is to de

Lateefah Ajadi 0 Jan 15, 2022
Flappy-Bird AI - Flappy Bird game with AI

FLAPPY BIRD AI Flappy Bird game solved with neat-python, a Python module based o

1 Jan 07, 2022
PyCraft - A Minecraft launcher made in python

A Minecraft launcher made in python. The main objective of this launcher is to enable players to enjoy minecraft (especially those without a mojang/microsoft account). This launcher is not illegal as

38 Dec 12, 2022
Abandoned plan for a clone of the old Flash game Star Relic

space-grid When I was in middle school, I was a fan of the Flash game Star Relic (no longer playable in modern browsers, but it works alright in Flash

Radon Rosborough 3 Aug 23, 2021
A simple hangman game for beginners trying to learn python

Hangman Game This is a simple hangman game for beginners trying to learn python. I have tried to keep it as simply as possible. Sample output Here is

1 Oct 13, 2021
DouZero_For_HLDDZ_FullAuto: 将DouZero用于欢乐斗地主自动化

DouZero_For_HLDDZ_FullAuto: 将DouZero用于欢乐斗地主自动化 本项目基于DouZero 和 DouZero_For_Happy_DouDiZhu 环境配置请移步项目DouZero 模型默认为ADP,更换模型请修改main.py中的模型路径 运行main.py即可 在原

322 Dec 25, 2022
A terminal-based number guessing game written in python

A terminal-based number guessing game written in python

Akshay Vs 15 Sep 22, 2022
Among Us Editor written in Python, for newer versions of the game

Among Us Editor Remake Among Us Editor written in Python, for newer versions of the game. Credits GUI Code by Vresod Data dumping and some GUI code by

Vresod 7 Nov 18, 2022
Official PyTorch implementation of NAC from the paper: Neural Auto-Curricula in Two-Player Zero-Sum Games.

NAC Official PyTorch implementation of NAC from the paper: Neural Auto-Curricula in Two-Player Zero-Sum Games. We release code for: Gradient based ora

Xidong Feng 19 Nov 11, 2022
Graphical impimetaion of Conway's Game of Life in Python using pyglet

Conway's Game of Life in Python Konstantin Opora Conway's Game of Life: graphical implementation in python using pyglet. developed in Python 3.10.0 Re

Konstantin Opora 1 Nov 30, 2021