text: import LevelBuilder
  from sprites import *
  from sprite_templates import *
  
  def render(name,bg):
  	lb = LevelBuilder.LevelBuilder(name+".plist",background=bg)
  	lb.addObject(Bullet.BulletSprite(x=0, y=0,width=10,height=10,angle='0',restitution=0.5,static='false',friction=0.5,density=3,spawnEvent='onShoot'))
  	lb.addObject(Hero.HeroSprite(x=39, y=48,width=42,height=74))
  	lb.addObject(Teleporter.TeleporterSprite( level_id='leveldata/level_10_3'))
  	lb.addObject(Beam.BeamSprite(x=848, y=152,width=144,height=74,angle='0' ,restitution=0.2,static='true',friction=0.5,density=20  ,classname='Destructable', firstframe ='brittle_brick_2_1.png' ).setName('dBeam'))
  	lb.addObject(Beam.BeamSprite(x=738, y=160,width=320,height=76,angle='-90' ,restitution=0.2,static='true',friction=0.5,density=20  ,classname='Destructable', firstframe ='brittle_brick_4_1.png' ).setName('dBeam'))
  	lb.addObject(Crate.CrateSprite(x=1011,y=20,width=32, height=32, static='false',angle=0))
  	lb.addObject(Crate.CrateSprite(x=1011,y=51,width=32, height=32, static='false',angle=0))
  	lb.addObject(Crate.CrateSprite(x=1011,y=83,width=32, height=32, static='false',angle=0))
  	lb.addObject(Crate.CrateSprite(x=1011,y=114,width=32, height=32, static='false',angle=0))
  	lb.addObject(Crate.CrateSprite(x=618,y=162,width=32, height=32, static='false',angle=0))
  	lb.addObject(Crate.CrateSprite(x=618,y=130,width=32, height=32, static='false',angle=0))
  	lb.addObject(Crate.CrateSprite(x=1011,y=208,width=32, height=32, static='false',angle=0))
  	lb.addObject(Crate.CrateSprite(x=1011,y=239,width=32, height=32, static='false',angle=0))
  	lb.addObject(Crate.CrateSprite(x=1011,y=270,width=32, height=32, static='false',angle=0))
  	lb.addObject(Enemy.EnemySprite(x=857, y=64,width=101,height=101,angle='0',restitution=0.2,static='false',friction=0.5,density=5 , classname='LoveAlienSprite',firstframe='lovable_alien.png'))
  	lb.addObject(Enemy.EnemySprite(x=857, y=244,width=101,height=101,angle='0',restitution=0.2,static='false',friction=0.5,density=5 , classname='LoveAlienSprite',firstframe='lovable_alien.png'))
  	lb.addObject(Crate.CrateSprite(x=1011,y=303,width=32, height=32, static='false',angle=0))
  	lb.addObject(Pickup.PickupSprite(x=1011,y=178,width=32, height=32, static='false',angle=0))
  	lb.addObject(Pickup.PickupSprite(x=1011,y=147,width=32, height=32, static='false',angle=0))
  	
  	PumpkinBomber.create(lb,0)
  	
  	lb.addObject(Enemy.EnemySprite(x=1087, y=26,width=38,height=37,angle='0',restitution=0.2,static='false',friction=0.5,density=5 , classname='BlobSprite',firstframe='monsterblob.png'))
  	lb.addObject(ZoomTrigger.ZoomTriggerSprite(x=1052,y=250,width=100,height=500,zoom_fact=1.0))
  	lb.addObject(ZoomTrigger.ZoomTriggerSprite(x=1217,y=320-60,width=128,height=100,zoom_fact=0.1666))
  	lb.addObject(ZoomTrigger.ZoomTriggerSprite(x=1382,y=250,width=100,height=500,zoom_fact=1.0))
  	lb.addObject(WatchtowerVisual.WatchtowerVisualSprite(x=1217, y=92,width=128,height=235-50,angle='0',restitution=0.2,static='true',friction=0.5,density=20,firstframe='watchtower.png' ))
  	lb.addObject(Beam.BeamSprite(x=1600, y=62,width=128,height=128,angle='0' ,restitution=0.2,static='false',friction=0.5,density=20  ,classname='Destructable', firstframe ='brittle_brick.png' ).setName('Beam'))
  	lb.addObject(Beam.BeamSprite(x=1721, y=123,width=376,height=30,angle='-15' ,restitution=0.2,static='false',friction=0.5,density=20 , firstframe ='bar_long.png' ).setName('Beam'))
  	lb.addObject(Beam.BeamSprite(x=1860, y=32,width=62,height=62,angle='0' ,restitution=0.2,static='false',friction=0.5,density=5 ))
  	lb.addObject(Beam.BeamSprite(x=1803, y=183,width=128,height=128,angle='-15' ,restitution=0.2,static='false',friction=0.5,density=5 ))
  	lb.addObject(Beam.BeamSprite(x=1721, y=255,width=376,height=30,angle='20' ,restitution=0.2,static='false',friction=0.5,density=20 , firstframe ='bar_long.png' ).setName('Beam'))
  	
  	SpaceShip.create(lb,0)
  	
  	lb.addObject(BulletTimePickup.BulletTimePickupSprite(x=2004,y=82,width=32, height=32, static='false',angle=0))
  	lb.addObject(Pickup.PickupSprite(x=1968,y=17,width=32, height=32, static='false',angle=0))
  	lb.addObject(Pickup.PickupSprite(x=2003,y=17,width=32, height=32, static='false',angle=0))
  	lb.addObject(Pickup.PickupSprite(x=2039,y=17,width=32, height=32, static='false',angle=0))
  	lb.addObject(Pickup.PickupSprite(x=2074,y=17,width=32, height=32, static='false',angle=0))
  	lb.addObject(Pickup.PickupSprite(x=1984,y=51,width=32, height=32, static='false',angle=0))
  	lb.addObject(Pickup.PickupSprite(x=2020,y=52,width=32, height=32, static='false',angle=0))
  	lb.addObject(Pickup.PickupSprite(x=2055,y=52,width=32, height=32, static='false',angle=0))
  	lb.addObject(BulletTimePickup.BulletTimePickupSprite(x=2039,y=82,width=32, height=32, static='false',angle=0))
  	lb.addObject(BulletTimePickup.BulletTimePickupSprite(x=2024,y=115,width=32, height=32, static='false',angle=0))
  	lb.addObject(Beam.BeamSprite(x=958, y=160,width=320,height=76,angle='-90' ,restitution=0.2,static='true',friction=0.5,density=20  ,classname='Destructable', firstframe ='brittle_brick_4_1.png' ).setName('dBeam'))
  	lb.render()