https://github.com/flame-engine/flame_shells
Beautiful and easy to use widgets that emulates console shells for your Flame game
https://github.com/flame-engine/flame_shells
Last synced: 9 months ago
JSON representation
Beautiful and easy to use widgets that emulates console shells for your Flame game
- Host: GitHub
- URL: https://github.com/flame-engine/flame_shells
- Owner: flame-engine
- License: other
- Created: 2020-03-12T00:56:54.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2021-04-20T22:11:05.000Z (almost 5 years ago)
- Last Synced: 2025-06-05T16:46:23.945Z (10 months ago)
- Language: Dart
- Size: 37.1 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://pub.dartlang.org/packages/flame_shells)

# Flame Shells
Beautiful and easy to use widgets that emulates console shells for your Flame game.
Right now this package bundles only a single shell, emulating classic portable consoles from early 90s, featuring a direction pad and two action buttons.

## How to use
```dart
import 'package:flame_shells/flame_shells.dart';
void main() async {
final game = MyGame();
final shell = FlameShell(game: game);
runApp(shell);
}
class MyGame extends Game with HasShellControls {
@override
void onShellButtonTapDown(button) {
// handle tap down
}
@override
void onShellButtonTapUp(button) {
// handle tap up
}
}
```