Building a game engine from scratch in C#
Devlog #1. "Instead of Unity or Unreal, we'll build our own engine" — that's what we decided at i3azres, a small Brazilian startup (I-3 Inova Simples). This is the first entry of that record.
Why build our own?
Unity, Unreal, Godot are powerful, proven tools. We still chose from scratch for two reasons. First, a clear target look: the "HD-2D" style — 2D pixel-art sprites mixed with 3D meshes and dynamic light — rendered our own way, top-down. Second, the engine itself is a company asset: for us it's not a tool, it's intellectual property we grow.
What we're building
The language is C#, on .NET 9. Rendering goes through Silk.NET (OpenGL); data is organized in an ECS architecture, a natural fit for game simulation. Three things have been fun so far:
- The build is ~9MB. A release compile produces an executable of about 9 megabytes, runtime included — smaller than a phone app. Small is a luxury you only get building your own.
- Assets ship encrypted. Game assets travel in encrypted packages for release builds — plain files during development, keyed packages in product. We designed that duality ourselves.
- Directly connected to Blender. Buildings and terrain are generated by scripts inside Blender and read straight by the engine — a pipeline that reduces artist manual work.
Being honest
There's no finished product to show yet. Both engine and games are in active development, no public release date. The site runs a small physics simulation visualizing the design philosophy (it's a concept demo, not the engine itself).
What's next
Devlog #2: how we implemented HD-2D lighting — day/night cycle, lights authored inside Blender, cel shading.