python Programming Glossary: win_height
Add scrolling to a platformer in pygame http://stackoverflow.com/questions/14354171/add-scrolling-to-a-platformer-in-pygame help me import pygame from pygame import WIN_WIDTH 800 WIN_HEIGHT 640 HALF_WIDTH int WIN_WIDTH 2 HALF_HEIGHT int WIN_HEIGHT 2.. WIN_HEIGHT 640 HALF_WIDTH int WIN_WIDTH 2 HALF_HEIGHT int WIN_HEIGHT 2 DISPLAY WIN_WIDTH WIN_HEIGHT DEPTH 32 FLAGS 0 CAMERA_SLACK.. WIN_WIDTH 2 HALF_HEIGHT int WIN_HEIGHT 2 DISPLAY WIN_WIDTH WIN_HEIGHT DEPTH 32 FLAGS 0 CAMERA_SLACK 30 def main global cameraX cameraY..
|