Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/lakshyapachkhede/spider-shooter
- Owner: Lakshyapachkhede
- Created: 2024-12-11T04:23:27.000Z (25 days ago)
- Default Branch: main
- Last Pushed: 2024-12-17T11:24:39.000Z (19 days ago)
- Last Synced: 2024-12-17T11:28:01.197Z (19 days ago)
- Topics: begginer-project, c, game-development, sdl2
- Language: C
- Homepage:
- Size: 49.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
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_ttf3. 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).