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
A small fun project to simulate Conway's Game of Life, created in Python.

A small fun project to simulate Conway's Game of Life, created in Python. Conway's Game of Life simulates a grid of cells, where the state of each cell consists of whether the cell is alive or dead.

Harrison Verrios 1 Jun 19, 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
A python-based multi-player online educational game for students to play in a class or club setting.

Kurono (codename: aimmo) Code for Life has been developed by Ocado Technology as a free, open-source project to inspire the next generation of compute

Ocado Technology 108 Nov 07, 2022
HackNC 2021 Project

pyTunes HackNC 2021 Project Setting Up Once the repo is cloned, install the requirements through pip install -r ./requirements.txt Once that is done,

Demo 1 Nov 07, 2021
A car learns to drive in a small 2D environment using the NEAT-Algorithm with Pygame

Self-driving-car-with-Pygame A car learns to drive in a small 2D environment using the NEAT-Algorithm with Pygame Description A car has 5 sensors ("ey

Henri 3 Feb 01, 2022
Python Interactive Mini Games

Python Interactive Mini Games Mini projects from Coursera's An Introduction to I

Ashish Choudhary 1 Jan 16, 2022
A Pygame Hangman Game coded in Python 3. Run Hangman.py in a terminal if you have Python 3

Hangman A Pygame Hangman Game coded in Python 3. Run python3 Hangman.py in a terminal if you have Python 3.

1 Dec 24, 2022
BritishTrainsDepartureBoard - A pygame program that immitates the dot matrix departure screens found at National Rail stations

BritishTrainsDepartureBoard - A pygame program that immitates the dot matrix departure screens found at National Rail stations

Finn O'Neill 3 Aug 10, 2022
Editor for Bioware's Original Neverwinter Nights Game

neveredit This is an import of an old sourceforge project. Neveredit is an editor for Bioware's Neverwinter Nights game. It also includes all the low

Peter Gorniak 2 Apr 12, 2022
Launch any Heroic-Games-Launcher game using bash scripts without having to open Heroic.

HeroicBashLauncher Ever wanted to launch your EGS games installed through Heroic Games Launcher directly from the terminal, Lutris or any other fronte

288 Dec 27, 2022
Visualizing and learning from games on chess.com

Better Your Chess What for? This project aims to help you learn from all the chess games you've played online, starting with a simple way to download

Luc d'Hauthuille 0 Apr 17, 2022
A little python script for finding the best word choice in a Wordle game

A little python script for finding the best word choice in a Wordle game, by assuming that at each step you want to minimise the average number of possible answers left after guessing that word (note

zeb 26 Mar 16, 2022
Python codes for the classic Hang Man game

Python codes for the classic Hang Man game. The user will be assigned a random word to guess, one character at a time. If the user gets everything right, the program says Well Done!, but if the user

p.katekomol 1 Jan 25, 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
Replicating Minecraft World Generation in Python

Minecraft World Generation in Python This is an attempt to replicate Minecraft world generation in Python. This is part of an article published on Med

Bilal Himite 159 Dec 19, 2022
Setup minecraft server (Tuinity) to your directory

hapeshiva server-setup Setup minecraft server (Tuinity) for you. Support for optimization Create optimized yml Customazible server port and view dista

3 May 11, 2022
This is a good project to train your logic game with python language

JO-KEN-PÔ!!! | Description | basic. I make this game only to train. This is a good project to train your logic game with python language. This game is

Elianderson Silva 1 Jan 24, 2022
2d war game single player

WarGame-third-version-0.0.4- 2d war game single player Hi ! Today, I publish on GitHub the version 0.0.4 of "WarGame". In this version, you can find a

Edouard Vincent 2 Apr 08, 2022
A hangman game that I created. Thanks to Data Flair for giving me the code!

Hangman A hangman game that I created. Thanks to Data Flair for giving me the code! Run python3 hangman.py in a terminal if you have Python 3. Please

SmashedFrenzy16 0 Dec 24, 2022
A simple script which allows you to see how much GEXP you earned for playing in the last Minecraft Hypixel server session

Project Landscape A simple script which allows you to see how much GEXP you earned for playing in the Minecraft Server Hypixel Usage Install python 3.

Vincenzo Deluca 4 Dec 18, 2021