Skip to content

RedRyan5154/panik-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 

Repository files navigation

Panik-Core's logo

Welcome to the Panik-Engine

THE python game engine

The panik-engine was built around the excelent pygame-ce library. It provides a simple yer powerful set of tools to make game development fast and simple.


A minimal window

import panik_engine as pk


class Game:
    def __init__(self):
        self.win = pk.Window(1080, 720, "My Window")
        self.win.showfps = True

    def run(self):
        run = 1

        while run:
            dt = self.win.tick(0)

            for event in pk.Events.get():
                if (
                    event.type == pk.QUIT
                    or event.type == pk.KEY_PRESSED
                    and event.key == pk.kQ
                ):
                    run = 0

            self.win.render()


if __name__ == "__main__":
    game = Game()
    game.run()

About

THE python graphical library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published