sky_hopper_game 0.1.0 copy "sky_hopper_game: ^0.1.0" to clipboard
sky_hopper_game: ^0.1.0 copied to clipboard

A reusable Flutter game package providing a ready-to-use Sky Hopper mini-game, complete with sprite rendering, score management, and sound effects.

sky_hopper_game #

A reusable Flutter game package that provides the core logic, assets, and widgets for the Sky Hopper mini-game. Drop it into any Flutter app to embed a fully working game view and score tracking.

pub version

Features #

  • GameView widget that renders the Sky Hopper game canvas
  • Built-in audio and sound effect management
  • Provider-based state management for score, lives, etc.
  • Easily customize sprite assets and sound files
  • Example app showing basic integration

Installation #

  1. In your app’s pubspec.yaml, add:

    dependencies:
      sky_hopper_game: ^0.1.0
    
  2. Run:

    flutter pub get
    

Usage #

import 'package:flutter/material.dart';
import 'package:sky_hopper_game/sky_hopper_game.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Sky Hopper Demo')),
        body: const Center(child: GameView()),
      ),
    );
  }
}

Assets (images, audio) are automatically packaged with the module; no additional setup is required for consuming apps.

API Reference #

  • GameView: The main widget that renders Sky Hopper.
1
likes
120
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

A reusable Flutter game package providing a ready-to-use Sky Hopper mini-game, complete with sprite rendering, score management, and sound effects.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

audioplayers, flutter, provider

More

Packages that depend on sky_hopper_game