Skip to main content

A lightweight Python SDK for 2D hypercasual and hybrid-casual mobile game prototypes.

Project description

GameViz HyperKit

PyPI Version Python Versions License

GameViz HyperKit is a lightweight Python SDK for creating 2D hypercasual and hybrid-casual game prototypes quickly.

It is designed for beginners, students, game-jam developers, indie developers, and small teams who want to test simple mobile-style game ideas using Python.

HyperKit is not a full game engine like Unity, Unreal Engine, or Godot.
It is a prototype-focused SDK with reusable systems, helper modules, and ready-made templates.


Current Release Status

HyperKit is publicly available on PyPI and remains in active alpha development.

Current package status:

  • Current package version: 0.1.2
  • Installation command: pip install gameviz-hyperkit
  • Package maturity: Alpha / early SDK preview
  • API stability target: future 1.0.0
  • Supported Python versions: Python 3.9–3.12

HyperKit is suitable for learning, prototyping, game jams, and early 2D mobile game experiments. It is not yet intended to replace a full production game engine.


Package Identity

  • Package name: gameviz-hyperkit
  • Import name: hyperkit
  • CLI command: hyperkit
  • License: MIT

Project Links


Who Is HyperKit For?

HyperKit is useful for:

  • Learning 2D game development with Python
  • Building quick hypercasual game prototypes
  • Creating tap, swipe, runner, puzzle, quiz, and physics-style demos
  • Testing simple game concepts before moving to a larger engine
  • Building game-jam and educational projects
  • Students and indie developers who want a small code-first game toolkit

Main Features

  • 2D game project structure
  • Scene system
  • GameObject system
  • Tap and click input
  • Swipe input
  • Input action mapping
  • Score and high-score system
  • Save and persistence system
  • Collision helpers
  • Simple physics helpers
  • Text labels and basic UI helpers
  • Responsive virtual canvas scaling
  • Asset loading helpers
  • Image rendering support
  • Audio playback helpers
  • Tween and animation helpers
  • Sprite animation helper
  • Particle helper
  • Camera shake helper
  • Scene transition helper
  • Timer and cooldown helpers
  • Level data loading helper
  • Camera follow helper
  • Screen and world-bound helpers
  • UI progress bar helper
  • CLI project generator
  • Ready-made starter templates
  • Generated-project validation
  • Project health and release validation commands
  • Experimental Android build configuration

Installation

Install from PyPI

pip install gameviz-hyperkit

Verify the installation:

hyperkit doctor
hyperkit list-templates

Install for Local Development

Clone the repository:

git clone https://github.com/RifatGameDev/gameviz-hyperkit.git
cd gameviz-hyperkit

Install HyperKit in editable development mode:

pip install -e ".[dev]"

Run the tests:

pytest

Quick Start

Create a Tap Counter project:

hyperkit new my-game --template tap-counter
cd my-game
hyperkit run

You may also launch the generated project directly:

python main.py

The name my-game is only an example. You can choose another project name:

hyperkit new flappy-project --template flappy-mini
cd flappy-project
hyperkit run

Generated projects include:

my-game/
├── main.py
├── README.md
├── hyperkit.toml
└── assets/
    ├── README.md
    ├── images/
    ├── audio/
    ├── fonts/
    └── data/

Available Templates

List all templates:

hyperkit list-templates
Template Command Name Description
Tap Counter tap-counter Tap or click scoring prototype
Flappy Mini flappy-mini Flappy-style tap-to-jump prototype
Swipe Runner swipe-runner Three-lane swipe runner prototype
Puzzle Game puzzle-game Color-matching puzzle prototype
Quiz Game quiz-game Educational quiz prototype
Simple Physics simple-physics Gravity, bounce, and coin-collection prototype

Underscore-style aliases are also accepted:

tap_counter
flappy_mini
swipe_runner
puzzle_game
quiz_game
simple_physics

Basic Example

from hyperkit import Game, GameObject, Scene, ScoreManager, TextLabel


class MyScene(Scene):
    def start(self):
        self.score = ScoreManager(
            high_score_key="my_game_high_score"
        )

        self.player = self.add(
            GameObject(
                x=300,
                y=500,
                width=100,
                height=100,
                color=(0.2, 0.75, 1.0, 1),
                shape="circle",
            )
        )

        self.score_label = self.add(
            TextLabel(
                x=30,
                y=1180,
                text="Score: 0",
                font_size=32,
                color=(1, 1, 1, 1),
            )
        )

        self.start_game()

    def on_tap(self, x, y):
        self.player.x = x - self.player.width / 2
        self.player.y = y - self.player.height / 2

        self.score.add(1)
        self.score_label.set_text(
            f"Score: {self.score.value}"
        )


game = Game(
    title="My HyperKit Game",
    width=720,
    height=1280,
)

game.set_scene(MyScene())
game.run()

Asset Folders

Generated HyperKit projects use this asset structure:

assets/
├── images/
├── audio/
├── fonts/
└── data/
Folder Supported Types
assets/images .png, .jpg, .jpeg, .webp
assets/audio .wav, .mp3, .ogg
assets/fonts .ttf, .otf
assets/data .json, .csv, .txt

FBX files are not directly supported.
For 2D projects, export source assets as PNG images, animation frames, or sprite sheets.


CLI Commands

Check the environment

hyperkit doctor

List templates

hyperkit list-templates

Create a project

hyperkit new my-game --template tap-counter

Enter the generated project

cd my-game

Run the project

hyperkit run

Show project metadata

hyperkit info

Validate the current project

hyperkit validate

Show the package health report

hyperkit health

Show release readiness

hyperkit release-check

Run the final pre-release audit

hyperkit pre-release-audit

Validate built-in templates

hyperkit validate-templates

Validate generated projects

hyperkit validate-generated-projects

Validate manual QA evidence

hyperkit validate-release-evidence

Require complete QA evidence

hyperkit validate-release-evidence --require-complete

Create experimental Android configuration

hyperkit init-android

Run the experimental Android build workflow

hyperkit build android

Development Commands

Install development dependencies:

pip install -e ".[dev]"

Run the complete test suite:

pytest

Build the wheel and source distribution:

python -m build

Validate the distribution files:

python -m twine check dist/*

Package publication is handled through the project's controlled release workflow.


Documentation

Template Polish and Runtime Documentation



Current Limitations

  • HyperKit is not a complete general-purpose game engine.
  • Advanced 3D rendering is not supported.
  • Android APK build support remains experimental.
  • AdMob and analytics helper systems are not implemented yet.
  • The current focus is 2D hypercasual and hybrid-casual prototypes.
  • Templates are intended for learning and prototyping rather than finished commercial production.
  • The public API may change before version 1.0.0.

Roadmap

Planned improvements include:

  • Better beginner documentation
  • More polished starter templates
  • Template screenshots and animated demonstrations
  • Stronger asset and audio workflows
  • Improved mobile project structure
  • Android build workflow improvements
  • AdMob integration helpers
  • Analytics integration helpers
  • Additional complete example games
  • More automated package compatibility testing
  • Stable API milestone for version 1.0.0

Contributing

Contributions, issue reports, and improvement suggestions are welcome.

Before submitting changes:

pip install -e ".[dev]"
pytest

Use the issue tracker to report bugs or request features.


License

GameViz HyperKit is distributed under the MIT License.

See LICENSE for details.


Author

Developed by Md. Rifat Hossain Chowdhury / GameViz.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gameviz_hyperkit-0.1.2.tar.gz (85.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gameviz_hyperkit-0.1.2-py3-none-any.whl (78.3 kB view details)

Uploaded Python 3

File details

Details for the file gameviz_hyperkit-0.1.2.tar.gz.

File metadata

  • Download URL: gameviz_hyperkit-0.1.2.tar.gz
  • Upload date:
  • Size: 85.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for gameviz_hyperkit-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cc3af172f86af4c4862007dc9640c90647b51bbf4024ad12708f6024c7e6a582
MD5 513d4f8f067edb5772ef13feec10d101
BLAKE2b-256 9b2f7d361dbabb9a41495eb0a1fd8c55b0f6fc6d2de6413b6930d6bd0660f4b1

See more details on using hashes here.

File details

Details for the file gameviz_hyperkit-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for gameviz_hyperkit-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f5d96b736f63464b0425408c07ef768ea26d4780c8f81b004f6a9a631f66e27f
MD5 01b98b5552db4aa7d45a6b486b0673c8
BLAKE2b-256 af1ce950ea309d0c697044f8dc4c89c01f7f4254f62b169503e6acead1bf4a67

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page