Skip to content

The 2D Game Engine: lightweight, cross-platform, and modular. Craft efficient 2D and simple 3D games with SDL integration. Streamlined development, intuitive input, and a vibrant community await.

Notifications You must be signed in to change notification settings

aryanraj13/Game-Engine

Repository files navigation

2D Game Engine

License Build Status Issues PRs Welcome

2D Game Engine is a lightweight and modular C++ game engine built on top of the Simple DirectMedia Layer (SDL). It provides a foundation for developing 2D and simple 3D games with a focus on simplicity, performance, and extensibility.

alt text alt text alt text

Table of Contents

Overview

2D Game Engine is designed to offer a flexible and efficient platform for game development. With its modular architecture and SDL integration, it aims to provide an accessible yet powerful framework for creating both 2D and simple 3D games.

Features

  • SDL Integration: Utilizes the power and flexibility of SDL for graphics, input, and window management.
  • Modularity: Designed with a modular architecture for easy extension and customization.
  • Cross-Platform: Works seamlessly across different platforms, ensuring a consistent experience for users on Windows, Linux, and macOS.
  • Efficient Rendering: Optimized rendering pipeline for smooth graphics performance.
  • Input Handling: Simple and intuitive API for handling user input.
  • Extensive Documentation: Well-documented codebase and developer-friendly documentation to get you started quickly.

Getting Started

Follow the Getting Started Guide in the documentation to set up and start using 2D Game Engine in your projects.

Usage

Here's a basic example of how to use 2D Game Engine:

#include <2d_game_engine/game_engine.h>

int main() {
    // Initialize the game engine
    GameEngine engine;

    // Load assets, set up scenes, etc.

    // Main game loop
    while (engine.isRunning()) {
        // Update game logic
        engine.update();

        // Render graphics
        engine.render();
    }

    // Cleanup and exit
    engine.cleanup();

    return 0;
}

About

The 2D Game Engine: lightweight, cross-platform, and modular. Craft efficient 2D and simple 3D games with SDL integration. Streamlined development, intuitive input, and a vibrant community await.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages