I am Christian Martínez de la Rosa, student of the Bachelor’s Degree in Video Games by UPC at CITM. This content is generated for the second year’s subject Project 2, under supervision of lecturer Ricard Pillosu.
This project contains a research about the optimization of a game to only blit sprites that are on the camera viewport. Also, it is about sorting entities to make a feeling of depth in Top-Down and Isometric games. Contains an integration of Tiled into SDL.
You can find Brofiler results in a respository folder to see the effect of camera culling in games.
You can find information about sprite ordering and camera culling in my website.
Link to the repository.
- Download last release from releases tab from the repository
- Unzip SpriteOrderingAndCameraCulling.zip
- Execute SpriteOrderingAndCameraCulling.exe
- WASD to move player.
- 1/2/3 to change from different zoom levels.
- F1 to show/hide grid.
- F2 to show/hide entities area and its pivot.
- F3 to set map 1.
- F4 to set map 2.
- Visual Studio - IDE
- SDL - Development library
- STL - Development library
- PugiXML - XML processing library
- Brofiler - Profiler
- Tiled - Creating maps
- Christian Martínez de la Rosa - GitHub account: christt105 Contact: christt105@gmail.com
This project is licensed under the MIT License - see the LICENSE.md file for details
Special thanks to:
- kyle-dove and speedialga for background sprites.
- soulcaliburfan for player sprites.
- Neffertity for statue sprite.
- Barubary for Mudkip sprites.
- MedicineStorm for isometric tileset