Changeset 15:538d15e6cca1


Ignore:
Timestamp:
Apr 3, 2011, 2:44:57 PM (9 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Message:

Add level scenes

Location:
skaapsteker
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/__main__.py

    r14 r15  
    33
    44from constants import SCREEN, FREQ, BITSIZE, CHANNELS, BUFFER, DEBUG
    5 from engine import Engine, Scene
     5from engine import Engine
     6from levelscene import LevelScene
    67
    78import pygame
     
    4243        pass
    4344
    44     display =  pygame.display.set_mode(SCREEN, SWSURFACE)
     45    pygame.display.set_mode(SCREEN, SWSURFACE)
    4546    #pygame.display.set_icon(pygame.image.load(
    4647    #    data.filepath('icons/nine_tales24x24.png')))
     
    4849
    4950    engine = Engine()
    50     engine.change_scene(Scene())
     51    engine.change_scene(LevelScene("level1.json"))
    5152    try:
    5253        engine.run()
Note: See TracChangeset for help on using the changeset viewer.