earwax package

Module contents

The Earwax game engine.

Earwax

This package is heavily inspired by Flutter.

Usage

  • Begin with a Game object:

    from earwax import Game, Level
    g = Game()
    
  • Create a level:

    l = Level()
    
  • Add actions to allow the player to do things:

    @l.action(...)
    def action():
        pass
    
  • Create a Pyglet window:

    from pyglet.window import Window
    w = Window(caption='Earwax Game')
    
  • Run the game you have created:

    g.run(w)
    

There are ready made Level classes for creating menus, and editors.