Home Perfect Pixel
Post
Cancel

Perfect Pixel

Perfect Pixel was a four person freshman student project made at DigiPen Singapore in C++. The project was created in two months during the year 2020. We used GLFW to handle the windowing and OpenGL to do rendering.

As a freshman, I created the rendering and animation engine for all sprites and pixel graphics in the game. The engine rendered the grid visualization using a single drawcall through modifying texels on an existing texture through the use of glTexSubImage2D and used a separation of canvas scale and render scale for performance. I am quite proud of coming up with this method as a freshman. I also was responsible for adding a scrolling (movable) camera that offsets the rendered pixel based off a camera coordinate. Sprites were rendered as quads and had to have collision interaction with the pixel grid, which made the camera translation challenging at the time.

In addition to rendering, the game levels loaded using .bmp file formatting so external pixel editors could be used in-place of an in-engine editor. This was actually briefly mentioned in a blog post on this same site.

This post is licensed under CC BY 4.0 by the author.

My experiences using Fwog

Weekly 0: Introduction

Comments powered by Disqus.