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
Code d'un jeu en python par Graveen (avec mes modifications)

ATTENTION Vous ne devez pas copier coller le code sans le comprendre, apprennez déjà, le python et pygame, et seulement ensuite, vous pourrrez l'utili

TheBigWolfy 7 Nov 02, 2022
Use different orders of N-gram model to play Hangman game.

Hangman game The Hangman game is a game whereby one person thinks of a word, which is kept secret from another person, who tries to guess the word one

ZavierYang 4 Oct 11, 2022
pygame is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.

pygame is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.

pygame 5.6k Jan 01, 2023
A small game I made back in think 2011

Navi Network A small game I made back in think 2011. An online game inspired by the self-hosted nature of Minecraft, made with pygame, based on the Me

Peder Bergebakken Sundt 2 Jan 19, 2022
Code and outputs from analysis determining that the wordle game can always be won in six moves.

wordle_worst_case_analysis Code and outputs from analysis determining that the wordle game can always be won in six moves. This is for the general cas

2 Aug 19, 2022
My goofy little script for playing wordle

my wordle "solver" My goofy little script for playing wordle. It actually runs really slowly at first but once you've added some info (e.g. which lett

MB 3 Feb 04, 2022
Minecraft.nix - Command line Minecraft launcher managed by nix

minecraft.nix Inspired by this thread, this flake contains derivations of both v

12 Sep 06, 2022
Orbital-patterns - A program which plots pattern that revolving planets make

orbital-patterns Click to spawn planets Press "S" to capture screenshot. Image w

Yuvraj.M 11 Dec 24, 2022
Code for an arcade pop-a-shot style basketball game on Raspberry Pi

Basketball-Game Code for an arcade pop-a-shot style basketball game on Raspberry Pi, made over the course of winter break 2022. How To Run: Running th

Seth Reis 1 Jan 21, 2022
A pygame implementation of John Conway's Game of Life

Game of Life A Pygame Simulation This is a Pygame implementation of the famous Conway's Game of Life. The game features a set of very simple rules: An

1 Jan 06, 2022
Code infrastructure and player algorithms for the Codenames board game.

Codenames Code infrastructure and player algorithms for the Codenames board game. This is the active fork of mkali-personal/codenames. Intro This is b

Asaf Kali 1 May 18, 2022
Wordle Solver: A simple script which is also called Wordle solver

wordle-solver this code is a simple script which is also called Wordle solver. t

amirreza 1 Feb 15, 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
Quantum version of the classical Nim game. An automatic opponent allows to game to not be as easy as it seems.

Nim game Running the game To run the program just launch : python3 game.py Rules This game is inspiring from the Nim game. You are 2 players face to f

Michaël 1 Jan 08, 2022
A zombie game using Kinetic. You can control players using fingers

This is Eden Park's portpolio: Works, projects and practices This repository can be used to show the potential employers to check my works, code and p

Eden Park 4 May 16, 2022
Vitrix is an open-source FPS video game coded in python

Vitrix is an open-source FPS video game coded in python Table of contents Usage Game Server Installing Requirements Hardware Requirements Software Req

Vitrix 1 Feb 13, 2022
Simple wordle clone + solver + backtesting

Wordle clone + solver + backtesting I created something. Or rather, I found about this game last week and decided that one challenge a day wasn't goin

1 Feb 08, 2022
SelectionSortVisualization - This pygame project is helping you to understand the selection sorting algorithm

SelectionSortVisualization (If you have any comments or suggestion, please conta

Berkay IPEK 3 Feb 17, 2022
A Simple Scissor Paper Rock Game On Python Using Pygame.

Scissor Paper Stone Game Using Pygame This is a simple GUI based game made on pygame python. Installation Run code on your machine: git clone https:

Dipin Adhikari 0 Mar 21, 2022
A simple game with the main idea to be: Guess The Number

GuessTheNumber GuessTheNumber is a simple game I made using Python. The main mechanic of the game is to guess the number that randomly generated from

0 Jun 24, 2022