comparison eclviewer.py @ 100:5c40cc1b8019

Use game's frame for interpolation. No more time manipulation interfering with interpolators!
author Thibaut Girka <thib@sitedethib.com>
date Mon, 05 Sep 2011 00:29:31 +0200
parents ac2e5e1c2c3c
children 101abdc1a20b
comparison
equal deleted inserted replaced
99:68aa8bf00c88 100:5c40cc1b8019
33 from OpenGL.GL import * 33 from OpenGL.GL import *
34 from OpenGL.GLU import * 34 from OpenGL.GLU import *
35 35
36 36
37 def main(path, stage_num): 37 def main(path, stage_num):
38 import logging
39 logging.basicConfig(level=logging.DEBUG)
38 # Initialize pygame 40 # Initialize pygame
39 pygame.init() 41 pygame.init()
40 window = pygame.display.set_mode((384, 448), pygame.OPENGL | pygame.DOUBLEBUF) 42 window = pygame.display.set_mode((384, 448), pygame.OPENGL | pygame.DOUBLEBUF)
41 43
42 # Initialize OpenGL 44 # Initialize OpenGL