Generated by All in One SEO v5.0.0.1, this is an llms.txt file, used by LLMs to index the site. # Pere Dolcet My WordPress Blog ## Sitemaps - [XML Sitemap](https://peredolcet.com/sitemap.xml): Contains all public & indexable URLs for this website. ## Posts - [Blog](https://peredolcet.com/blog/) - Blog - [How I Programmed That #1: Cardinal Unit Vector to Direction (Truth Tables)](https://peredolcet.com/how-i-programmed-that-1/) - Welcome to the first episode of How I Programmed That, a blog and video series where I'll teach how to program by example, sharing real programming problems I encounter and how I solved them. I'll be using C/C++ syntax, and in this instance you'll only need basic programming knowledge to follow along. Today we start ## Pages - [Home](https://peredolcet.com/) - To see my main work, you can check out: My games Game programming My art Links itch.io Steam YouTube X (personal) X (games) Discord Mailing List Get news about my projects. A few times a year, straight to your inbox. - [Game Programming Portfolio](https://peredolcet.com/game-programming-portfolio/) - Game Programming Portfolio These are some projects that showcase my game programming experience. Online Sandbox Shooter A multiplayer online sandbox shooter game. Systems I designed from scratch with no libraries include: the network protocol on top of UDP, the chunking system that supports huge worlds, custom-made game physics, mid-game terrain creation/destruction, the sound mixer, a - [Games](https://peredolcet.com/games/) - Deep Copy I was the only artist for this game. A mysterious, sci-fi, point-and-click, literary adventure. Unfinished. Other Projects Other prototypes and unfinished projects can be seen in my game programming page. - [About](https://peredolcet.com/about/) - About Me My name is Pere Dolcet, and I'm a jack-of-all-trades game developer from Catalonia (Spain). I do design, programming, art, sound design - even music and animation sometimes, and I take each very seriously. I'm focused on developing innovative 2D games and pushing this medium forward. I'm against mainstream game design trends, as I - [Privacy Policy](https://peredolcet.com/privacy/) - Privacy Policy Last updated: March 19, 2026 Controller Pere Dolcet (contact@peredolcet.com) Data we collect Email address IP address and other technical data (for security, technical troubleshooting, server logs and analytics) Purpose & legal basis We process personal data to send you informational and promotional emails and to operate and secure the website. We also use - [Contact](https://peredolcet.com/contact/) - Contact Email Reach me at: contact (at) peredolcet . com Social Media You can also try direct messaging me on X or Discord. - [Newsletter Thank You](https://peredolcet.com/newsletter-thank-you/) - Thank you. You have subscribed to the mailing list. - [Newsletter Unsubscribed](https://peredolcet.com/newsletter-unsubscribed/) - Cya! You have been unsubscribed. You can always re-subscribe anytime. - [Portfolio](https://peredolcet.com/portfolio/) - Portfolios Game Programming Portfolio Art Portfolio Music Portfolio - [Art Portfolio](https://peredolcet.com/art-portfolio/) - Art Portfolio Digital Portraits Game Art / Key Art Pixel Art Figure Drawing - [Music Portfolio](https://peredolcet.com/music-portfolio/) - Music Portfolio I've been dabbling in music production for a long time. Even though I still have a lot to learn and I'm not particularly proud of anything I've made thus far, I felt like sharing some of my music. Background music for Telealiens: The theme track of one of my older games, Nimbus Tower: - [Game Programming Portfolio - Game Compilation](https://peredolcet.com/game-programming-portfolio-game-compilation/) - Game Compilation (2016-2022) Most of these are made with GameMaker: Studio. The last one was made in C++. Some of the games are available on my itch.io page. - [Game Programming Portfolio - Falling Voxels](https://peredolcet.com/game-programming-portfolio-falling-voxels/) - Falling Voxels Prototype Programmed in C++, using only stb_voxel_render for the rendering. How It Works Basically, each block has a level of support (shown by the blue number) that depends on the blocks besides it and below it. If the block below has maximum support (10), the block on top of it will also have maximum support. - [Game Programming Portfolio - Platformer Physics Tutorial](https://peredolcet.com/game-programming-portfolio-platformer-physics-tutorial/) - Platformer Physics Tutorial (Summary) A lengthy tutorial on how to program smooth, 2D vectorial platformer physics from scratch. You can read the whole article here: https://github.com/Pere001/2d-platformer-tutorial-2023. But here's a very simplified summary: It gets quite complex, but basically this is the core of the article. Once we have our collision function in place, we use an - [Game Programming Portfolio - Online Sandbox Game](https://peredolcet.com/game-programming-portfolio-online-sandbox-game/) - Online Sandbox Game I made and programmed everything from scratch in C++, totalling ~60,000 lines of code. It doesn’t use any external engines or libraries (except a couple stb headers). The game features 2D shooter combat and platformer movement with grappling hooks, comparable to other games like Soldat, Liero, or Tee Worlds. The terrain can be destroyed ## Categories - [Programming](https://peredolcet.com/category/programming/)