Developer Builds Browserplayable 3D Endless Runner in Flutter Without a Game Engine
A developer has created a fully functional 3D endless runner game using only Flutter and Dart, without relying on any traditional game engine such as Unity or Unreal. The project leverages two rarely used Flutter tools: Flutter GPU, a low-level API that interfaces directly with the GPU via the Impeller rendering engine, and flutter_scene, a higher-level 3D scene API built on top of it. To manage memory efficiently, the game uses object pooling, recycling a fixed set of track segments and obstacles rather than generating an infinite world. Key challenges included tuning collision hit-boxes for fairness, calibrating the perspective camera to convey speed without causing motion sickness, and debugging an inverted-axis bug that mirrored the entire scene. The game runs cross-platform across mobile, desktop, and web from a single Dart codebase, and its source code has been made publicly available on GitHub.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in