This repository contains code that promises a simple yet engaging exploration into the world of visual design and game development.Whether you're a beginner looking to grasp the basics or an enthusiast eager to dive into graphics programming, StartDash offers a hands-on experience that combines simplicity with creativity.
In this project, you'll gain insights into graphic rendering, basic gameplay mechanics, and the essentials of creating a visually appealing virtual environment. The emphasis here is on simplicity, making it an ideal starting point for those venturing into the realm of WebGL Applications.
The project was developed using pygame and pygame.
-
Open your terminal and create a virtual python environment to store all the required dependencies to run this project. The project was created using python version 3.11.5 which can be installed automatically when working with anaconda environments or can be downloaded directly from here.
If you prefer to use python's venv facility:
python3 -m venv environment_name
You can read more on working with python and pip here.
If you prefer to use anaconda:
conda create -n environment_name
You can read more on working with anaconda here.
You can use pip to install all the project's dependencies into your environment:
pip install -r requirements.txt
-
Fork and clone this repository.
Run the following command in your terminal to clone the forked repository:
git clone <repository link> <folder name>
-
Install git bash which is usually obtained during git installation. You can begin your download of git from here.
Open your terminal and navigate to the cloned repository. Run the command as follows editing where necesary:
C:\Users\your_username\stardash\src\python main.py
-
Player Controls: Navigate the cosmic battlefield with the arrow keys, maneuvering your ship left, right, up, and down while unleashing lasers with the spacebar
-
Objectives: Navigate through a barrage of enemy ships and asteroids, dodging their fire and avoiding collisions, to reach the end of each level
-
Game elements: Keep an eye on your Health and Lives. Health decreases when your ship gets hit by enemy fire or collides with other ships or asteroids. Lives are lost when you let enemy ships escape your firepower