..NAV

retrogamelib.display

display.init(scale=2.0, caption="NES Game", res=NESRES)
Sets up the pygame window and display. scale will scale the window up or down, while appearing to keep the same resolution. caption is the caption displayed on the window. res is the resolution of the window, defaulted at constants.NESRES (256x240).
display.update()
Updates and draws the scene. Call this function after you're done drawing.
display.get_surface()
Returns the surface for drawing onto. This is scaled up (or down) in display.update(). Always draw directly to this surface. (See the examples)


Copyright © 2009, pymike and saluk