Skip to main content

viper

viper is a wrapper for pygame designed to simplify the process of game development. In addition viper also provides additional high-level libaries for game development.


Anthony Blackshaw
(getant)
viper is the result of 12 months development with pygame. Based on a 2D/3D game engine called thalion that I originally developed over that period, the main purpose of viper is to simplify and speed-up the process of game development and provide high-level libraries that don't exist as standard in pygame.

viper uses OpenGL to render all graphics (including 2D graphics). The first version of viper will infact only have 2D features, though viper does not make it difficult to call pygame or OpenGL directly.

Currently viper is in it's early stages as I transfer over all the code from thalion (my original library). I expect this process to take around 6 weeks and the first release of viper will feature (based on existing thalion developments):

  • Configuration file handler.
  • Event driven vector based collision detection for point, circle, rectangle and polygon.
  • Uniform database access wrapper that supports for gadFly, MySQL and sqlite.
  • Finite state machine (FSM).
  • Texture factory.
  • 2D sprites (including animation support).
  • Event maps (similar to DirectX Action maps).
  • Vector library.
  • Scriptable (XML) particle system.
  • Scriptable (XML) user interface.
As I mentioned above the main aim of viper is to simplify game development. Here is a very simple viper example that I hope demonstrates the concept.

CODE:

from viper import *

screen( 640, 480, 32 )

logo = image( 'viper.jpg' )

while not keyDown( K_ESCAPE ):

    cls()
    logo.draw( mouseX(), mouseY()

    screen().flip()


As soon as I have my first tutorial for viper complete (a simple pong game) I will make the library avialable for download.

Links

Home Page
None

Releases

viper 0.1 — 24 Oct, 2005

Pygame.org account Comments

  • coffeeman__ 2012-10-16 16:02:11

    Can I get a download

  • Coffeeman__ 2012-10-16 17:40:05

    HEY CAN I GET A DOWNLOAD PLZ AND THANK YOU