Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lakshyapachkhede/spider-shooter

Spider-Shooter is a simple 2D shooting game developed in C using the SDL2 library. Players engage in shooting spiders in a basic environment, with features such as smooth graphics, shooting mechanics, and an efficient game loop.
https://github.com/lakshyapachkhede/spider-shooter

begginer-project c game-development sdl2

Last synced: 12 days ago
JSON representation

Spider-Shooter is a simple 2D shooting game developed in C using the SDL2 library. Players engage in shooting spiders in a basic environment, with features such as smooth graphics, shooting mechanics, and an efficient game loop.

Awesome Lists containing this project

README

        

## Spider Shooter
![Spider-Shooter Screenshot](assets/images/screenshot/game.png)

---
**Spider-Shooter** is a simple 2D shooter game developed in **C** using the **SDL2 library**. Players shoot spiders in a straightforward 2D environment, demonstrating key game development techniques.

---

## Features
- **2D Graphics**: Smooth gameplay powered by SDL2.
- **Shooting Mechanics**: Engage with approaching spiders.
- **Game Loop**: Efficient handling of events and frame updates.
- **Modular Code**: Clean, understandable code.

---

## Requirements
- **gcc** (for compilation)
- SDL2 and its libraries for graphics, image handling, sound, and text.

---

## How to Play on Windows
1. Clone the repository:
```bash
git clone https://github.com/Lakshyapachkhede/Spider-Shooter.git
cd Spider-Shooter
```
2. Navigate to the `bin` folder and run `game.exe`.

## How to Play on Linux
1. Clone the repository:
```bash
git clone https://github.com/Lakshyapachkhede/Spider-Shooter.git
cd Spider-Shooter
```
2. Install required dependencies:
- SDL2
- SDL2_image
- SDL2_mixer
- SDL2_ttf

3. Compile the code:
```bash
.\src\run.ps1
```

---

## How to Build

1. Clone the repository:
```bash
git clone https://github.com/Lakshyapachkhede/Spider-Shooter.git
cd Spider-Shooter
```
2. Run the build script:
```bash
.\src\run.ps1
```
3. Navigate to the `bin` folder and run:
```bash
.\game.exe
```

---

## Explore the game
Find more details and explore the source code on [GitHub](https://github.com/Lakshyapachkhede/Spider-Shooter).