This repository contains the source code for a Racing Car game developed using C++ and the SFML library.
The Racing Car game is a simple 2D game where the player controls a car, navigates through traffic, and avoids obstacles to score points. The game includes a main menu, gameplay mechanics, and resource management for graphics, audio, and fonts.
-
Source Files:
main.cpp
: Contains the main game loop and logic.MainMenu.h
: Header file for the main menu, defining menu-related functions and data.
-
Resource Files:
- Images (
.png
): Visual assets for the game, such as the car, obstacles, and background. - Audio (
.wav
): Sound effects and background music. - Fonts (
.ttf
): Font files used for displaying text in the game.
- Images (
- A C++ compiler (like g++).
- SFML library for graphics, window, and audio handling.
- Clone the Repository:
git clone https://github.com/Meraj2349/RACING-CAR-.git