diff --git a/.github/.cspell/dart_dictionary.txt b/.github/.cspell/dart_dictionary.txt index be9895ac9..aa76843fc 100644 --- a/.github/.cspell/dart_dictionary.txt +++ b/.github/.cspell/dart_dictionary.txt @@ -1,4 +1,5 @@ # keywords/terms specific to the Dart/Flutter ecosystem +cupertino # Flutter module containing iOS-style widgets dartdoc # documentation tool for dart dartdocs # plural of dartdoc endtemplate # Use @endtemplate to close a @template block in dartdoc diff --git a/.github/.cspell/flame_dictionary.txt b/.github/.cspell/flame_dictionary.txt index c4eb9bb47..414bf344e 100644 --- a/.github/.cspell/flame_dictionary.txt +++ b/.github/.cspell/flame_dictionary.txt @@ -14,6 +14,7 @@ Overmind # A character in the game StarCraft padracing # A pad racing game by BlueFire https://github.com/flame-engine/flame/tree/main/examples/games/padracing Patreon # A membership platform that provides tools for content creators to run a subscription service https://patreon.com Prosser # A character from the book The Hitchhiker's Guide to the Galaxy +riverpod # A state management library for Flutter https://github.com/rrousselGit/riverpod skel # Extension for skeleton files from Spine https://en.esotericsoftware.com/spine-in-depth Skia # Skia is an open source 2D graphics library used by Flutter https://github.com/google/skia spineboy # Name of a famous character used as an example for Spine https://en.esotericsoftware.com/spine-examples-spineboy diff --git a/.github/.cspell/gamedev_dictionary.txt b/.github/.cspell/gamedev_dictionary.txt index c72f6d395..2ff0d78ce 100644 --- a/.github/.cspell/gamedev_dictionary.txt +++ b/.github/.cspell/gamedev_dictionary.txt @@ -59,6 +59,7 @@ orientable # can be oriented pathfinding # computer algorithm to find the best path through a world or maze perlin # Perlin Noise, a type of noise generating algorithm polyline # a connected series of line segments +quadtree # a tree-based data structure where each node has exactly 4 children raycast # act of raycasting raycasting # same as raytracing raycasts # plural of raycast diff --git a/.github/cspell.json b/.github/cspell.json index d52807e2c..ede753baa 100644 --- a/.github/cspell.json +++ b/.github/cspell.json @@ -11,8 +11,6 @@ "**/CHANGELOG.md" ], "ignoreRegExpList": [ - "\\:\\w+", - "\\/\\w+", "\\#[\\w\\-]+" ], "dictionaries": [ diff --git a/examples/assets/svgs/checkboard.svg b/examples/assets/svgs/checkerboard.svg similarity index 100% rename from examples/assets/svgs/checkboard.svg rename to examples/assets/svgs/checkerboard.svg diff --git a/examples/lib/stories/sprites/spritebatch_example.dart b/examples/lib/stories/sprites/sprite_batch_example.dart similarity index 100% rename from examples/lib/stories/sprites/spritebatch_example.dart rename to examples/lib/stories/sprites/sprite_batch_example.dart diff --git a/examples/lib/stories/sprites/spritebatch_load_example.dart b/examples/lib/stories/sprites/sprite_batch_load_example.dart similarity index 100% rename from examples/lib/stories/sprites/spritebatch_load_example.dart rename to examples/lib/stories/sprites/sprite_batch_load_example.dart diff --git a/examples/lib/stories/sprites/sprites.dart b/examples/lib/stories/sprites/sprites.dart index 1c56a4739..365f4500f 100644 --- a/examples/lib/stories/sprites/sprites.dart +++ b/examples/lib/stories/sprites/sprites.dart @@ -2,9 +2,9 @@ import 'package:dashbook/dashbook.dart'; import 'package:examples/commons/commons.dart'; import 'package:examples/stories/sprites/base64_sprite_example.dart'; import 'package:examples/stories/sprites/basic_sprite_example.dart'; +import 'package:examples/stories/sprites/sprite_batch_example.dart'; +import 'package:examples/stories/sprites/sprite_batch_load_example.dart'; import 'package:examples/stories/sprites/sprite_group_example.dart'; -import 'package:examples/stories/sprites/spritebatch_example.dart'; -import 'package:examples/stories/sprites/spritebatch_load_example.dart'; import 'package:examples/stories/sprites/spritesheet_example.dart'; import 'package:flame/game.dart'; @@ -31,13 +31,13 @@ void addSpritesStories(Dashbook dashbook) { ..add( 'SpriteBatch', (_) => GameWidget(game: SpriteBatchExample()), - codeLink: baseLink('sprites/spritebatch_example.dart'), + codeLink: baseLink('sprites/sprite_batch_example.dart'), info: SpriteBatchExample.description, ) ..add( 'SpriteBatch Auto Load', (_) => GameWidget(game: SpriteBatchLoadExample()), - codeLink: baseLink('sprites/spritebatch_load_example.dart'), + codeLink: baseLink('sprites/sprite_batch_load_example.dart'), info: SpriteBatchLoadExample.description, ) ..add( diff --git a/examples/lib/stories/svg/svg_component.dart b/examples/lib/stories/svg/svg_component.dart index 4224b3deb..fa9f62e38 100644 --- a/examples/lib/stories/svg/svg_component.dart +++ b/examples/lib/stories/svg/svg_component.dart @@ -46,7 +46,7 @@ class Background extends SvgComponent Future? onLoad() async { await super.onLoad(); - svg = await game.loadSvg('svgs/checkboard.svg'); + svg = await game.loadSvg('svgs/checkerboard.svg'); } } diff --git a/examples/lib/stories/system/system.dart b/examples/lib/stories/system/system.dart index a2ea6ec9a..7435efa05 100644 --- a/examples/lib/stories/system/system.dart +++ b/examples/lib/stories/system/system.dart @@ -3,7 +3,7 @@ import 'package:examples/commons/commons.dart'; import 'package:examples/stories/system/overlays_example.dart'; import 'package:examples/stories/system/pause_resume_example.dart'; import 'package:examples/stories/system/step_engine_example.dart'; -import 'package:examples/stories/system/without_flamegame_example.dart'; +import 'package:examples/stories/system/without_flame_game_example.dart'; import 'package:flame/game.dart'; void addSystemStories(Dashbook dashbook) { @@ -23,7 +23,7 @@ void addSystemStories(Dashbook dashbook) { ..add( 'Without FlameGame', (_) => GameWidget(game: NoFlameGameExample()), - codeLink: baseLink('system/without_flamegame_example.dart'), + codeLink: baseLink('system/without_flame_game_example.dart'), info: NoFlameGameExample.description, ) ..add( diff --git a/examples/lib/stories/system/without_flamegame_example.dart b/examples/lib/stories/system/without_flame_game_example.dart similarity index 100% rename from examples/lib/stories/system/without_flamegame_example.dart rename to examples/lib/stories/system/without_flame_game_example.dart