Changeset 235

Show
Ignore:
Timestamp:
01/04/07 03:56:43 (5 years ago)
Author:
mg
Message:

Use 800x600 by default.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/NEWS.txt

    r233 r235  
    55    perform the same actions. 
    66  - Allow up to two keys bound to the same action. 
     7  - Use 800x600 by default; if your computer is fast enough, you can change to 
     8    a better video mode; if not, give a better first impression by avoiding 
     9    sluggishness. 
    710 
    811December 25, 2006: Released version 0.9.3: the Christmas release. 
  • trunk/src/pyspacewar/ui.py

    r234 r235  
    18991899    def _choose_best_mode(self): 
    19001900        """Choose a suitable display mode.""" 
    1901         for mode in pygame.display.list_modes(): 
    1902             if mode_looks_sane(mode): 
    1903                 return mode 
    1904         return (1024, 768) # *shrug* 
     1901        # Previously this function used to pick the largest sane video mode 
     1902        # Sadly, my laptop is not fast enough to sustain 20 fps at 1024x768 
     1903        # when there are too many missiles around. 
     1904        return (800, 600) 
    19051905 
    19061906    def _set_display_mode(self):