Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Thank you very much for writing about your journey making your game!

I have been working on a similar engine on and off for years now; my goal was to make a cross-platform software based renderer that could do somewhere between PS1 and mid 90s PC software renderers on platforms with either no GPU or unreliable drivers (like early single board computers)

I had some of the most fun with it getting it to work on a 32blit device I got from a kickstarter from pimoroni. It also uses a Cortex-M7, but I must admit I never did get as low level with my optimizations as what you described here.

I toyed with the idea of porting to the Playdate when I got one, but after tinkering a little with just 2D rendering there I felt pretty discouraged in porting my 3D code primarily because I hit an issue with drawing directly to the buffer pixel by pixel just wasn't fast enough so I figured out a way to write 8 pixels (or 1 byte for the playdates screen) at a time for all my 2D stuff in my engine but I wasn't sure how I'd manage that for my 3D code.

My main reference book was Computer Graphics: Principles & Practice. I did plenty of additional research online however, including finding the same trick to only update the perspective correct value every 16 pixels.

Anyhow, I look forward to seeing more updates!

Your project sounds really interesting, you should make a devlog of your own.

When I started, my renderer was at single digits and at that moment it felt like it was impossible for me to get anything working in real time. I was stubborn, and eventually it got better. So keep at it!

The biggest optimizations weren't focused on low level hardware,  don't get me wrong, those helped to improve the framerate, but the biggest improvements were changing the way I was doing things. Finding a smarter way to calculate things, to cache everything, to draw only what's really needed, etc.

Good luck with your project!

(+1)

Thank you for the response and the encouragement!

You reminded me I did happen to do 2 blog posts about my engine years ago on indiedb, the last one was here: It's been a while... blog - agamerguy - IndieDB

Since that post I had done a lot with, including porting it to the 32blit like I'd mentioned.

Since it is a side project I haven't been consistently working on it, but yours and a handful of other projects I've seen definitely renews my interest in it and I'm looking forward to pushing it further. Being stubborn is a good tip :)

The best tip anyone ever gave me is this: talent is just another word for stubborn.