Changeset 114fd09 in python-game


Ignore:
Timestamp:
Apr 5, 2017, 4:56:01 PM (8 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
master
Children:
2876668
Parents:
b3b0f3f
Message:

Fix the font-loading error on OSX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • game.py

    rb3b0f3f r114fd09  
    103103   glPushMatrix()
    104104   
    105    glColor3f(1.0, 0.0, 0.0)
     105   glColor3f(0.5, 0.5, 1.0)
    106106
    107107   glTranslatef(0.0,0.0,-2*zNear)
     
    158158clock = pygame.time.Clock()
    159159   
    160 font = pygame.font.SysFont("comicsansms", 48)
     160font = pygame.font.Font(None, 36)
    161161
    162162running = True
Note: See TracChangeset for help on using the changeset viewer.