Skip to content

This repository contains the development of an exciting First-Person Shooter (FPS) game project where I've implemented smart NPC (Non-Player Character) behaviors to enhance the gaming experience.

Notifications You must be signed in to change notification settings

HotShot003/FPS-Video-Game

Repository files navigation

MyFirstVideoGame

Summary:

MyFirstGame is a first-person shooter (FPS) game built using Python and Pygame. Inspired by classic titles like Wolfenstein 3D and Doom, the game features raycasting rendering to create a 3D-like environment and smart enemy AI using pathfinding algorithms. Players will navigate through levels, battling enemies and solving challenges in a retro-style FPS setting.

I have Only Use Python Programming Language and it modules That Are Pygame. Pygame is a set of Python modules designed for writing video games. It provides functionality for managing game windows, drawing shapes and images, playing sounds, and handling user input.

Raycasting is a technique used in game development to create the illusion of 3D environments using 2D graphics.

It involves casting rays from the player's viewpoint and determining intersections with walls to render the scene.

Key Features:

Raycasting Graphics: Experience a pseudo-3D environment with raycasting rendering. Smart Enemy AI: Enemies utilize pathfinding algorithms for strategic behavior. Classic FPS Gameplay: Move, shoot, and interact in a nostalgic FPS format.

Tech Stack :

Python Python

Controls:

W, A, S, D: Move forward, left, backward, right.

Mouse: Look around.

Left Click: Shoot.

System Requirements

  • Python 3.x

  • Windows(Any)

Installation

  1. Clone the repository:
  1. Navigate to the project directory:

  2. Run the game:

  • python main.py

Contributing:

Contributions are welcome! Fork the repository, make your changes, and submit a pull request.


Credits:

Pygame: https://www.pygame.org/

Raycasting Tutorial: Lode's Computer Graphics Tutorial

Pathfinding Algorithms: A* Algorithm, Dijkstra's Algorithm

About

This repository contains the development of an exciting First-Person Shooter (FPS) game project where I've implemented smart NPC (Non-Player Character) behaviors to enhance the gaming experience.

Topics

Resources

Stars

Watchers

Forks

Languages