Changeset 455:5d59238f8996


Ignore:
Timestamp:
04/09/11 18:48:52 (12 years ago)
Author:
Adrianna Pińska <adrianna.pinska@…>
Branch:
default
Phase:
public
Message:

level editor update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/level-editor

    r279 r455  
    2121from skaapsteker.gamestate import GameState
    2222from skaapsteker.sound import SoundSystem
     23from skaapsteker.data import filepath
    2324
    2425FRAMERATE = 60
     
    2728    clock = pygame.time.Clock()
    2829    screen_surface = pygame.display.get_surface()
    29     game = GameState("game.json")
     30    game = GameState(None)
     31    game.load_game(filepath("game.json"))
    3032    player = Player(game.world, SoundSystem(False))
    3133    level = DebugLevel(levelname, player)
Note: See TracChangeset for help on using the changeset viewer.