from naja.engine import Engine
from naja.sound import sound
from naja.options import parse_args
+from naja.resources.loader import Loader
from naja.scenes.menu import MenuScene
pygame.display.init()
pygame.font.init()
+ # set_icon needs to be called before set_mode on some platforms, but we
+ # can't use convert_alpha until we've created a window with set_mode
+ r = Loader('data')
+ r.CONVERT_ALPHA = False
+ pygame.display.set_icon(r.get_image('robot_24.png', basedir='icons'))
+
pygame.display.set_mode(SCREEN, pgl.SWSURFACE)
- pygame.display.set_caption('Naja')
+ pygame.display.set_caption('Robolock II')
sound.init()
screen = pygame.display.get_surface()