Flutter Articles and Game Development Notes
A curated guide to Dmytro Gladkyi's Flutter and Dart articles, including isolates, animation, custom widgets, testing, maps, and game UI.
A curated guide to Dmytro Gladkyi's Flutter and Dart articles, including isolates, animation, custom widgets, testing, maps, and game UI.
An alternate history of the 2010 Dash memo: what the web could look like if Dart had replaced JavaScript in Chrome, and why Flutter brings that idea back.
Practical Dart guide to catching errors thrown inside Isolates: spawning workers, wiring onError and exit ports, and getting exceptions back to the main thread.
Роздуми про український Twitter: чому популярний порожній контент витісняє авторів, які роблять ігри, арт і музику, і що це означає для нашого інфопростору.
A rant about Ukrainian Twitter: how viral empty content and Russia-obsessed news crowd out people who make games, art and music, and why that hurts our culture.
A minimal Flutter example of when widget keys are required: animating list items in the Chumaki game, with a runnable DartPad showing the bug and the fix.
Adding sound effects to a Flutter game: requirements, loading audio assets and playing sounds on game events like season changes in Loca Deserta: Sloboda.
A retrospective of three years of building Ukrainian Cossack-era games with Flutter and Dart: from a 2011 iOS prototype to Loca Deserta and Sloboda releases.
Animating a Flutter InteractiveViewer from one point to another with Matrix4 tweens, so the game map smoothly centres on a target city in Loca Deserta: Chumaki.
How to build an animated fly-over of a game map in Flutter using InteractiveViewer, TransformationController and AnimationController, with full source code.
How to unit-test timer-based game logic in Dart: using FakeAsync and the clock package to fast-forward resource gathering in the Sloboda city builder.
Adding in-game notifications to a Flutter game so players don't miss one-time map events: requirements, a notification queue and toasts in Sloboda.
Part 4 of procedural map generation in Dart and Flutter: serializing the generated terrain map to JSON and restoring it so the game keeps the same world.
Part 2 of procedural map generation in Dart and Flutter: refactoring the generator and adding forest spots of different shapes to the 2D terrain map.
Part 3 of procedural map generation in Dart and Flutter: adding lakes to the 2D terrain map and choosing a lake shape that keeps the number of sprites small.
Part 1 of procedural 2D map generation in Dart and Flutter: OOP cells and a LinkedList to generate grass and a winding river for the Sloboda city builder.
Designing a random event system for the Sloboda turn-based city builder in Dart and Flutter: event conditions, probabilities, outcomes and UI integration.
Flutter tip: link two PageView widgets so a scrolling navigation bar and the main content stay in sync, with a breakdown of controllers and a DartPad demo.
Покроковий гайд: одна програма на Flutter для iOS, Android, Web, macOS, Linux і Windows на прикладі легкого програвача інтерактивних історій Loca Deserta.
Step-by-step guide: one Flutter app running on iOS, Android, Web, macOS, Linux and Windows, built as a lite player for Loca Deserta interactive stories.
Building a custom Flutter Scaffold with a compact app bar that expands into an animated menu, made for the Loca Deserta interactive fiction game.
Як зробити власний Scaffold у Flutter з компактним App Bar і випадаючим анімованим меню, створений для гри «Дике Поле». Повний код віджета з поясненнями.
Solving the Call Center design task from Cracking the Coding Interview in Dart and Flutter: OOP classes for respondents, managers, directors and a Flutter UI.
Learn how to use Flutter's compute function and Dart isolates to move CPU-heavy image processing off the UI thread.
Flutter tip: stop images from blinking on first load during Hero animations by precaching AssetImage with precacheImage before the screen transition.
Why a long-time Dart fan bet on Flutter in 2019: one Dart codebase for iOS, Android and the web, and how Flutter could finally fix cross-platform development.