Skip to content

A performant Flutter tank demo showcasing custom animation built on a RenderObject. Includes tap-to-shoot mechanics, enemy tanks, bullet spawning tests (up to 1000 bullets), and performance experiments using Flutter DevTools.

Notifications You must be signed in to change notification settings

itschillipill/map_tank

Repository files navigation

Tank RenderObject Demo

  • A high-performance Flutter demo showcasing custom animation and rendering using a custom RenderObject. The project implements a simple tank scene with:

  • Direct RenderObject-based drawing for maximum performance

  • Tap-to-shoot mechanics

  • Bullet spawning

  • Smooth animations without widgets

  • Performance profiling via Flutter DevTools

This project is intended as an experiment in writing low-level, optimized graphics in Flutter.

Features

  1. Custom RenderBox for tanks and bullets

  2. No widgets for rendering — everything drawn with Canvas

  3. Frame-accurate movement updates

  4. Handles thousands of objects with minimal lag

  5. Suitable for studying Flutter’s rendering pipeline

Getting Started

flutter run

About

A performant Flutter tank demo showcasing custom animation built on a RenderObject. Includes tap-to-shoot mechanics, enemy tanks, bullet spawning tests (up to 1000 bullets), and performance experiments using Flutter DevTools.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published