Skip to main content

Introduction

An introduction to Game Pencil Engine

Game Pencil Engine Logo

Welcome to the official documentation of the Game Pencil Engine, the simple C++ modular game engine. Here you will learn how to get started with the engine, familiarize yourself with it's design and find more detailed information on it's classes, functions, variables and the editor.

Game Pencil Engine is one of many open source Game Engines. It has a primary focus on 2D gaming for as many platforms as possible. Game Pencil's swappable backend design. The goal is for you to make your game and if need be easily modify the engine, backend or simply use our out-of-box features.

While here you can look into certain features of the engine or editor. You may also look into how the engine works and how to maximize it for your game projects.

Getting Started

Some people learn easier by hashing through apis, others may prefer video or written tutorials. Alas, others do well with example projects. Whichever is your best methods for learning we hope this manual can guide you to learn the basics of Game Pencil and game design.

The Editor

The editor overview provides you with the basics of using editor to create and import resources as well as manage code and game scenes(levels). The editor applies is based on a dock-based system with room to toggle menu locations to your preference.

GPE Editor Screenshot

Examples

Game Pencil comes with a few examples and more will be added to our example page here. We try to add comments in as many areas as possible to explain features and game logic. Stay tuned for more updates from the community as well as more official examples to come.

Tutorials

The C++ language

ISO C++ Logo

Game Pencil engine uses C++ as it's primary language for developing your games. C++ has been an industry standard for gaming for decades and due to its impressive performance it was selected to be the coding language as well for developers to avoid scripting languages which often time have runtime issues and can have slower performance, especially on older hardware. We have prepared a short guide on using C++, but we strongly recommend using cplusplus.com's official tutorials to fully learn about syntax, object-oriented designed and data types.

Community

Join our discord server and engage with other developers and ask for help.