Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

LÖVE-like PyGame API

Project Description
.. _LÖVE:
.. _Lua:
.. _PyGame:


LÖVE_ is an **awesome** framework you can use to make 2D games in Lua_,
in a very similar way with PyGame_.

Kundalini intends to offer an API similar to that of LÖVE to develop
games using PyGame.


Subclass ``kundalini.FrameManager`` and override the method::
def build_screen(self) -> Surface:

It must return a ``pygame.surface.Surface``, like, for example, the
object returned by ``pygame.display.set_mode()``.

You also can override::
def load(self) -> None:

def draw(self) -> None:
self.screen.fill((0, 0, 0))

def handle_event(self, event:Event) -> None:

def update(self, delta:float) -> None:

The method ``load()`` is performed by ``init()`` call, just after

The method ``draw()`` is performed every drawing loop.

The method ``handle_event()`` is performed for each occuring event. It
receives the event as parameter.

The method ``update()`` is performed about 1024 times a second, and
receives the time delta in seconds since last performing as parameter.
Release History

Release History

This version
History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
kundalini-0.4.tar.gz (4.3 kB) Copy SHA256 Checksum SHA256 Source Oct 10, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting