Game
JUMP!
8 years ago

My Game Engine!


In this post I’ll be showcasing Pixel Game Engine(PGE), my C++ game engine/library based on Ben Arnold’s Advanced C++/Graphics Tutorial series: https://www.youtube.com/watch?v=FxCC9Ces1Yg&list=PLSPw4ASQYyymu3PfG9gxywSPghnSMiOAW&index=1
Before we begin, here’s a list of all the libraries that I used:

1) Window
Initializes libraries and creates a window

5d0b4d21142a7.png

2) Input
The input manager handles all things related to input like key presses or window movement

5d0b4d2479120.png

3) Camera
Provides an easy interface to moving, resizing and scaling the content of the window.

5d0b4d26948f8.png

4) Shader Program
Manages shader loading, compiling and linking.

5d0b4d28b62be.png

5) Sprite Batching
All the sprites that share the same texture are drawn simultaneously which is significantly faster than drawing each sprite individually.

5d0b4d2b0fe3c.png

There are many more features that I didn’t showcase here and some of them have yet to be implemented.



6 comments

Loading...

Next up

Vertex Array Backgrounds Here’s a background example from 0.4.0

Level Editor Progress The level editor is almost finished! Below you can see a screenshot of the new interface. Please note that not all tiles have been implemented yet and some textures are placeholders.

0.5.0 New Tiles! Here are some of the new tiles that will be added in 0.5.0. Also, the tile selection screen now displays the tiles in a more organized manner.

0.5.0 Keys And Locks This feature was suggested by a user. The next update will introduce different types of keys and locks for better level design. Each key will open a specifc lock. For example, a golden key will open a golden lock.

We are under attack!

Shoobies leave a sticky trail of mucus in their wake, which can impede movement for any creature that steps in it.

Quantum precognition is one of the most powerful cards. End game cards & equipment. Demo/alpha build boss is no match for this deck.

Family band complete!

The whole squad is here!

Interested? Follow me!

Terraria