×
Login to PixelPAD
Save
your project by logging in or signing up.
USERNAME OR EMAIL ADDRESS
PASSWORD
Remember Me
Forgot my Password?
Don't have an account?
Sign up as Individual
Sign up as Teacher
×
Sign Up For PixelPAD
Save
your project by logging in or signing up.
EMAIL ADDRESS
PASSWORD
CONFIRM PASSWORD
I already have an account
LOG IN
×
Sign up as a Teacher
Create
classrooms, and monitor your students.
SCHOOL NAME
EMAIL ADDRESS
PASSWORD
CONFIRM PASSWORD
I already have an account
LOG IN
import .pp2d file
EXPLORE
MY PAD
LEARN
FTC SIM
GAME JAMS
QR CODE
DISCORD
LOGIN
Tutorials
Documentation
Back
Close
Previous
Next
Documentation
Back
Close
{"assets":{"script":[{"Game":{"type":"game script","start":"self.bg = Background(sprite(\"level1.png\"))\r\nself.bg.scaleX = 2\r\nself.bg.scaleY = 2\r\n\r\nself.bg.y = 3000\r\n\r\n\r\nself.boss = Boss()\r\nself.boss.scaleX = 1\r\nself.boss.scaleY = 1\r\nself.boss.y = 300\r\nset_animation(self.boss, new_animation(new_sprite(\"wobblyufo.png\",1,15),1, 0,14))\r\n\r\nself.player = Player()\r\nself.player.sprite = new_sprite('player.png')\r\n\r\n\r\nself.bgtimer = 1\r\nself.bgmusic = new_sound(\"music.wav\")\r\nself.missile = new_sound(\"explodemedium.wav\")\r\n#sound_volume(self.missile, 0.1)\r\nself.missileGo = new_sound(\"missile.wav\")\r\n#sound_volume(self.missileGo, 0.1)\r\nself.boom = new_sound(\"explodebig.wav\")\r\n#sound_volume(self.boom, 0.1)\r\nself.playerboom = new_sound(\"explodesmall.wav\")\r\nsound_loop(self.bgmusic)\r\n\r\n\r\nself.score = 0\r\nself.level = 0\r\n\r\nself.gray = new_godray_filter()\r\nself.grayid = add_filter(self, self.gray)\r\n\r\nself.dropshadow = new_drop_shadow_filter()\r\nself.fid = add_filter(self.boss, self.dropshadow)\r\n\r\n","loop":"self.bg.y -= 1\r\n\r\n\r\n "}},{"folder0":[{"Background":{"type":"object script","start":"#Background start\n\n","loop":"#Background loop\n\n"}},{"Player":{"type":"object script","start":"self.scaleX = 1\nself.scaleY = 1\n\nself.level = 1\n\nself.shootTimer = 0\nself.shootTimerReset = 30\nself.anchorX = 0\nself.anchorY = 0\nself.anchorTimer = 0\n\nself.curX = 0\nself.curY = 0 \n\n","loop":"if key_is_pressed(\"arrowleft\"):\n self.x -= 5\n \nif key_is_pressed(\"arrowright\"):\n self.x += 5\n\nif key_is_pressed(\"arrowup\"):\n self.y += 5\n \nif key_is_pressed(\"arrowdown\"):\n self.y -= 5\n\nif mouse_is_pressed(\"left\"):\n if self.anchorTimer == 0:\n self.anchorX = mouse_x()\n self.anchorY = mouse_y()\n self.curX = self.x\n self.curY = self.y\n self.anchorTimer +=1\n\nif mouse_is_pressed(\"left\"):\n self.shootTimer -=1\n self.x = self.curX + mouse_x() - self.anchorX\n self.y = self.curY + mouse_y() - self.anchorY\n \nif mouse_was_released(\"left\"):\n self.anchorTimer = 0\n \nif key_was_pressed(\" \") or self.shootTimer < 0:\n self.shootTimer = self.shootTimerReset\n b = Missile()\n b.sprite = new_sprite(\"missile.png\")\n b.x = self.x\n b.y = self.y\n b.sound = True\n play_sound(game.missileGo)\n if self.level >= 2:\n self.shootTimerReset = 20\n if self.level >= 3:\n self.shootTimerReset = 10\n if self.level >= 4:\n b = Missile()\n b.sprite = new_sprite('missile.png')\n b.scaleX = 0.25\n b.scaleY = 0.25\n b.x = self.x + 50\n b.y = self.y - 10\n if self.level >= 5:\n b = Missile()\n b.sprite = new_sprite('missile.png')\n b.scaleY = 0.25\n b.scaleX = 0.25\n b.x = self.x - 50\n b.y = self.y -10\n if self.level >= 6:\n b = Missile()\n b.sprite = new_sprite('missile.png')\n b.scaleY = 0.5\n b.scaleX = 0.5\n b.x = self.x + 100\n b.y = self.y - 10\n if self.level >= 7:\n b = Missile()\n b.sprite = new_sprite('missile.png')\n b.scaleY = 0.5\n b.scaleX = 0.5\n b.x = self.x - 100\n b.y = self.y -10\n if self.level >= 8:\n self.scaleX = 0.75\n self.scaleY = 0.75\n if self.level >= 9:\n self.scaleX = 0.5\n self.scaleY = 0.5\n if self.level >= 10:\n b = Missile()\n b.sprite = new_sprite('bulletBill.png')\n b.scaleX = 0.5\n b.scaleY = 0.5\n b.x = self.x - 100\n b.y = self.y -10\n b.direction = \"left\"\n if self.level >= 11:\n b = Missile()\n b.sprite = new_sprite('bulletBill.png')\n b.scaleX = -0.5\n b.scaleY = 0.5\n b.x = self.x\n b.y = self.y -10\n b.direction = \"right\"\n if self.level >= 20:\n self.shootTimerReset = 5\n \ncolufo = collision_check(self, \"UFO\")\ncolboss = collision_check(self, \"Boss\")\ncolOrb = collision_check(self, \"Orb\")\ncolOrb2 = collision_check(self, \"Orb2\")\ncolStar = collision_check(self, \"Pickup\")\ncolUfo2 = collision_check(self, \"Ufo2\")\n\nif colufo or colboss or colOrb or colUfo2 or colOrb2:\n destroy(self)\n o = Explode()\n o.x = self.x\n o.y = self.y\n play_sound(new_sound(\"snd_explode2\"))\n \nif colStar:\n destroy(colStar)\n play_sound(new_sound(\"starpickup.wav\"))\n self.level += 1\n \n"}},{"Missile":{"type":"object script","start":"#Missile start\n\nself.direction = \"\"\nself.sound = False\nself.scaleX = 0.5\nself.scaleY = 0.5\n\n","loop":"#Missile loop\n\n\nif self.direction == \"\":\n self.y += 40\nif self.direction == \"right\":\n self.x += 15\nif self.direction == \"left\":\n self.x -= 15\n\ncol = collision_check(self, \"Boss\")\ncolboss2 = collision_check(self, \"Boss2\")\ncolboss3 = collision_check(self, \"Boss3\")\ncolboss4 = collision_check(self, \"Boss4\")\n\nif col or colboss2 or colboss3 or colboss4:\n if self.sound:\n play_sound(game.missile)\n destroy(self)\n o = Explode()\n o.x = self.x\n o.y = self.y\n game.score +=4\nif self.x > 400:\n destroy(self)\nif self.x < -400:\n destroy(self)\nif self.y > 1000:\n destroy(self)\n\n\n"}},{"Boss":{"type":"object script","start":"import math\nimport random\n\nself.direction = \"left\"\nself.y = 250\nself.ufoTimer = 30\nself.health = 1000\nself.spawnReset = 30\n\nself.orbSpawn1 = 60\nself.orbSpawn2 = 45\nself.orbSpawn3 = 30\n\nself.speed = 2\n\nself.pi = 3.1415954\n\nself.angleDirection = \"positive\"\nself.spawnAngle = 0\n\n","loop":"#Boss loop\nimport random\n\nif self.direction == \"left\":\n self.x -= self.speed\n\nif self.direction == \"right\":\n self.x += self.speed\n\nif self.x < -300:\n self.direction = \"right\"\n \nif self.x > 300:\n self.direction = \"left\"\n\nself.ufoTimer -=1\nself.orbSpawn1 -=1\nself.orbSpawn2 -=1\nself.orbSpawn3 -=1\n\nself.spawnAngle += random.randint(1,2) * 0.01\n \nif self.ufoTimer < 0 and game.score < 500:\n self.ufoTimer = self.spawnReset\n self.ufo = UFO()\n self.ufolevel = 1\n self.ufo.x = self.x\n self.ufo.y = self.y\n\nif game.score > 10:\n self.spawnReset = 60\nif game.score > 25:\n self.spawnReset = 45\nif game.score > 50:\n self.spawnReset = 30\n self.speed = 5\nif game.score > 125:\n self.spawnReset = 20\n self.speed = 10\n\nif game.score > 125:\n self.speed = 1\n \nif game.score > 125 and self.x == 0:\n direction = \"\"\n\nif self.orbSpawn1 < 0 and game.score > 125:\n self.orbSpawn1 = 60\n spawnOrb(1, 1, 6, self.spawnAngle, self.x, self.y)\nif self.orbSpawn2 < 0 and game.score > 200:\n spawnOrb(2, 82, 83, self.spawnAngle, self.x, self.y)\n self.orbSpawn2 = 45\nif self.orbSpawn3 < 0 and game.score > 250:\n spawnOrb(3, 75, 77, self.spawnAngle, self.x, self.y)\n self.orbSpawn3 = 30\nif game.score > 500 and game.level == 0:\n b = Bigboom()\n b.x = self.x\n b.y = self.y\n game.level += 1\n destroy(self)\n remove_filter(game, game.fid)\n sound_play(sound_new(\"explodebig.wav\"))\n b1 = object_new('Boss2')\n b1.sprite = sprite_new(\"bossAlien.png\")\n b1.x = -601\n b2 = object_new('Boss2')\n b2.sprite = sprite_new(\"bossAlien.png\")\n b2.x = 601\n\ngame.gray.center = [self.x, self.y]\ngame.gray.parallel = False\ngame.gray.gain = 0.1\ngame.gray.lacunarity = 0.1\ngame.gray.time += 0.1\n\n"}},{"Boss2":{"type":"object script","start":"import math\nimport random\n\nself.direction = \"left\"\nself.y = 250\nself.ufoTimer = 30\nself.health = 1000\nself.spawnReset = 30\n\nself.orbSpawn1 = 60\nself.orbSpawn2 = 45\nself.orbSpawn3 = 30\n\nself.speed = 2\n\nself.pi = 3.1415954\n\nself.angleDirection = \"positive\"\nself.spawnAngle = 0\n","loop":"\nif self.direction == \"left\":\n self.x -= self.speed\n\nif self.direction == \"right\":\n self.x += self.speed\n\nif self.x < -300:\n self.direction = \"right\"\n \nif self.x > 300:\n self.direction = \"left\"\n \nself.ufoTimer -=1\nself.orbSpawn1 -=1\nself.orbSpawn2 -=1\nself.orbSpawn3 -=1\n\nself.spawnAngle += random.randint(1,2) * 0.01\n \nif self.ufoTimer < 0 and game.score < 500:\n self.ufoTimer = self.spawnReset\n self.ufo = UFO()\n self.ufolevel = 1\n self.ufo.x = self.x\n self.ufo.y = self.y\n\n\nif game.score > 200:\n self.spawnReset = 20\n self.speed = 10\n\nif game.score > 300:\n self.speed = 1\n \n\nif self.orbSpawn3 < 0 and game.score > 250:\n self.spawn = spawnOrb(3, 75, 77, self.spawnAngle, self.x, self.y)\n self.spawn.sprite = new_sprite(\"spider.png\")\n self.spawn.scaleX = 0.25\n self.spawn.scaleY = 0.25\n set_animation(self.spawn, new_animation(new_sprite(\"spider.png\", 3, 2), 30, 0, 4))\n self.spawn.destructible = True\n self.orbSpawn3 = 30\n\n\nif game.score > 1600:\n game.level +=1\n destroy(self)\n sound_play(sound_new(\"deathqueen.wav\"))\n o = Bigboom()\n o.x = self.x\n o.y = self.y\n b1 = Boss3()\n b1.y = 1000\n \n \n \n \n \n \n \n "}},{"Boss3":{"type":"object script","start":"\nanimation_set(self, animation_new(sprite_new(\"ufo.png\", 1,3),30,0, 2))\n\nself.scaleX = 0.5\nself.scaleY = 0.5\n\nimport math\nimport random\n\nself.direction = \"left\"\nself.ufoTimer = 30\nself.health = 1000\nself.spawnReset = 30\nself.orbSpawn1 = 0\nself.orbSpawn2 = 0\nself.orbSpawn3 = 0\nself.ufoSpawn1 = 60\nself.ufoSpawn2 = 45\nself.ufoSpawn3 = 30\n\nself.speed = 0\n\nself.pi = 3.1415954\n\nself.angleDirection = \"positive\"\nself.spawnAngle = 0\nself.angle = 0\n\n","loop":"if self.y > 200:\n self.y -= 5\n\nif self.direction == \"left\":\n self.x -= self.speed\n\nif self.direction == \"right\":\n self.x += self.speed\n\nif self.x < -100:\n self.direction = \"right\"\n \nif self.x > 100:\n self.direction = \"left\"\n \nself.ufoTimer -=1\nself.ufoSpawn1 -=1\nself.ufoSpawn2 -=1\nself.ufoSpawn3 -=1\n\nself.spawnAngle += random.randint(1,2) * 0.01\n \nif game.score > 2050:\n self.spawnReset = 20\nif game.score > 2875:\n self.spawnReset = 15\nif game.score > 4125:\n self.spawnReset = 10\n self.speed = 2\nif game.score > 5005:\n self.ufoSpawn1 = 10\n self.ufoSpawn2 = 10\n self.ufoSpawn3 = 10\n \nif self.ufoSpawn1 < 0 and game.score > 1200:\n self.ufoSpawn1 = self.spawnReset\n spawnUfo(1, \"blueufo.png\", self.spawnAngle, self.x, self.y)\nif self.ufoSpawn2 < 0 and game.score > 2000:\n spawnUfo(2, \"blueufo.png\", self.spawnAngle, self.x, self.y)\n self.ufoSpawn2 = self.spawnReset\nif self.ufoSpawn3 < 0 and game.score > 3000:\n spawnUfo(3, \"redufo.png\", self.spawnAngle, self.x, self.y)\n self.ufoSpawn3 = self.spawnReset\n \nself.orbSpawn1 -=1\nself.orbSpawn2 -=1 \nself.orbSpawn3 -=1\nself.angle += random.randint(1,2) * 0.01\n \n\nif game.score > 4000 and game.level == 3:\n destroy(self)\n sound_play(sound_new(\"explodebig.wav\"))\n a = Bigboom()\n a.x = self.x\n a.y = self.y\n b1 = Boss4()\n b1.y = 1000\n\n\n \n \n \n \n \n \n \n \n \n "}},{"Boss4":{"type":"object script","start":"import math\nimport random\nself.z = 100\nself.direction = \"left\"\n\nself.ufoTimer = 30\nself.health = 1000\nself.spawnReset = 30\n\nself.orbSpawn1 = 60\nself.orbSpawn2 = 45\nself.orbSpawn3 = 30\nself.orbSpawn4 = 15\nself.speed = 2\n\nself.pi = 3.1415954\n\nself.angleDirection = \"positive\"\nself.spawnAngle = 0\n\nanimation_set(self, animation_new(sprite_new(\"bossQueen.png\", 1, 16),30, 0, 15))\n\n\n","loop":"if self.y > 200:\n self.y -= 10\n\nif self.direction == \"left\":\n self.x -= self.speed\n\nif self.direction == \"right\":\n self.x += self.speed\n\nif self.x < -300:\n self.direction = \"right\"\n \nif self.x > 300:\n self.direction = \"left\"\n \n\nself.orbSpawn1 -=1\nself.orbSpawn2 -=1\nself.orbSpawn3 -=1\nself.orbSpawn4 -=1\n\nself.spawnAngle += random.randint(1,2) * 0.01\n \nif self.orbSpawn1 < 0 and game.score > 300:\n self.orbSpawn1 = 15\n spawnOrb(1, 60, 63, self.spawnAngle, self.x, self.y)\nif self.orbSpawn2 < 0 and game.score > 400:\n spawnOrb(3, 75, 77, self.spawnAngle, self.x, self.y)\n self.orbSpawn2 = 30\nif self.orbSpawn3 < 0 and game.score > 500:\n spawnOrb(5, 75, 77, self.spawnAngle, self.x, self.y)\n self.orbSpawn3 = 45\nif self.orbSpawn4 < 0 and game.score > 5000:\n spawnSpider(1, self.spawnAngle, self.x, self.y)\n self.orbSpawn4 = 5\n \n\nif game.score > 10000:\n game.level += 1\n destroy(self)\n sound_play(sound_new(\"deathqueen.wav\"))\n o = Splat()\n o.x = self.x\n o.y = self.y\n o.scaleX = 1\n o.scaleY = 1\n \n \n \n \n \n \n \n "}},{"UFO2":{"type":"object script","start":"#UFO2 start\n\nimport random\n\nself.speedx = 0\nself.speedy = 0\nself.orbTimer = 0\nself.scaleX = 0.5\nself.scaleY = 0.5\nself.direction = \"\"","loop":"\nself.y -= self.speedy\n\nself.orbTimer -=1\nif self.orbTimer < 0:\n self.orbTimer = 150\n spawnOrb2(5, 33, 35, self.x, self.y)\n\nif self.direction == \"\":\n self.x += self.speedx\n\nif self.direction == \"left\":\n self.x -= abs(self.speedx)\n\nif self.direction == \"right\":\n self.x += abs(self.speedx)\n\nif self.x < -300:\n self.direction = \"right\"\n \nif self.x > 300:\n self.direction = \"left\"\n\nif self.y < -1000:\n destroy(self)\n\nself.y -= self.speedy\n\ncol = collision_check(self, \"Missile\")\nif col:\n destroy(self)\n destroy(col)\n play_sound(game.boom)\n o = Explode()\n o.x = self.x\n o.y = self.y\n game.score +=1\n if random.randint(1,40) == 1:\n o = Pickup()\n o.x = self.x\n o.y = self.y\n \nif game.score > 4500:\n destroy(self)\n sound_play(game.boom)\n o = Bigboom()\n o.x = self.x\n o.y = self.y\n\n\n "}},{"Orb":{"type":"object script","start":"#Orb start\nself.destructible = False","loop":"self.x += self.speedx\n\nif self.x < -300:\n destroy(self)\n \nif self.x > 300:\n destroy(self)\n\nif self.y < -1000:\n destroy(self)\n\nself.y -= self.speedy\n\ncol = collision_check(self, \"Missile\")\nif col and self.destructible:\n destroy(self)\n destroy(col)\n a = sound_new(\"deathling.wav\")\n set_volume(a, 0.1)\n sound_play(a)\n o = Splat()\n o.x = self.x\n o.y = self.y\n game.score +=1\n if random.randint(1,40) == 1:\n o = Pickup()\n o.x = self.x\n o.y = self.y\n\n\n"}}]},{"UFO":{"type":"object script","start":"#ufo start\n\nself.sprite = new_sprite(\"wobblyufo.png\",1, 15)\nset_animation(self, new_animation(new_sprite(\"wobblyufo.png\",1,15),30,0,14))\nself.scaleX = 0.25\nself.scaleY = 0.25\n\nself.direction = \"left\"\n\nself.fid = add_filter(self, game.dropshadow)\n\nself.ufolevel = 0\n","loop":"#ufo loop\nimport random\n\nif self.direction == \"left\":\n self.x -= 1\n\nif self.direction == \"right\":\n self.x += 1\n\nif self.x < -300:\n self.direction = \"right\"\n \nif self.x > 300:\n self.direction = \"left\"\n\nself.y -= 0.5\n\ncol = collision_check(self, \"Missile\")\nif col:\n remove_filter(self, self.fid)\n destroy(self)\n destroy(col)\n sound_play(game.boom)\n o = Explode()\n o.x = self.x\n o.y = self.y\n game.score +=1\n if random.randint(1,10) == 1:\n o = Pickup()\n o.x = self.x\n o.y = self.y\n\n"}},{"Orb2":{"type":"object script","start":"#Orb2 start\n\nself.speed = 1","loop":"#Orb2 loop\n\nself.y -= self.speed\n\nif self.y < -1000:\n destroy(self)"}},{"Pickup":{"type":"object script","start":"#Pickup start\n\nset_animation(self, new_animation(new_sprite(\"star.png\", 3, 8), 30, 0, 23))\n\n","loop":"#Pickup loop\n\nself.y -= 1"}},{"Explode":{"type":"object script","start":"#Explode start\n\nset_animation(self, new_animation(new_sprite('explosion.png', 4, 4), 30, 0, 15))\n\nself.timer = 0\n\n","loop":"#Explode loop\n\n\nself.timer +=1\nif self.timer > 20:\n destroy(self)\n\n\n\n\n"}},{"Splat":{"type":"object script","start":"#Splat start\n\nself.scaleX = 0.5\nself.scaleY = 0.5\nset_animation(self, new_animation(new_sprite('splat.png', 2, 7), 15, 0, 6))\n\nself.timer = 0\n\n","loop":"#Splat loop\n\nself.timer +=1\nif self.timer > 15:\n destroy(self)\n\n\n\n\n"}},{"Bigboom":{"type":"object script","start":"#BigExplode start\n\nset_animation(self, new_animation(new_sprite('explosion.png', 4, 4), 30, 0, 15))\nself.scaleX = 2\nself.scaleY = 2\n\nself.shock = new_shockwave_filter({\n \"amplitude\":50,\n \"wavelength\": 100.0,\n \"speed\": 2000,\n \"brightness\": 1,\n \"radius\":-1\n})\n\nself.filterid = add_filter(game, self.shock)\nself.scaleX = 0.00001\nself.scaleY = 0.00001","loop":"#BigExplode loop\n\n\nself.shock.center = [self.x, self.y]\nself.shock.time += 0.01\nif self.shock.time > 3:\n self.shock.time = 0\n remove_filter(game, self.filterid)\n destroy(self)\n \n\n"}}],"room":[],"texture":[{"level1.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.level1.png"}},{"bossAlien.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.bossAlien.png"}},{"ufo.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.ufo.png"}},{"bossQueen.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.bossQueen.png"}},{"bulletBill.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.bulletBill.png"}},{"ufo2.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.ufo2.png"}},{"explosion.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.explosion.png"}},{"missile.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.missile.png"}},{"sparks.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.sparks.png"}},{"splat.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.splat.png"}},{"missile2.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.missile2.png"}},{"spider.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.spider.png"}},{"star.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.star.png"}},{"wobblyufo.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.wobblyufo.png"}},{"blueufo.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.blueufo.png"}},{"redufo.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.redufo.png"}},{"player.png":{"type":"image","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.player.png"}}],"sound":[{"explodebig.wav":{"type":"audio","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.explodebig.wav"}},{"death.wav":{"type":"audio","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.death.wav"}},{"explodesmall.wav":{"type":"audio","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.explodesmall.wav"}},{"explodemedium.wav":{"type":"audio","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.explodemedium.wav"}},{"missile.wav":{"type":"audio","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.missile.wav"}},{"deathship.wav":{"type":"audio","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.deathship.wav"}},{"deathqueen.wav":{"type":"audio","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.deathqueen.wav"}},{"deathling.wav":{"type":"audio","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.deathling.wav"}},{"starpickup.wav":{"type":"audio","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.starpickup.wav"}},{"music.wav":{"type":"audio","uri":"https://s3.us-west-1.amazonaws.com/media.pixelpad.io/__PIXELPAD_ASSET__.881.198264.music.wav"}}],"function":[{"spawnOrb":{"type":"function script","head":"import math\nimport random\n\ndef spawnOrb(spd, anistart, anistop, spawnAngle, xx, yy):\n orb = Orb()\n orb.speedy = abs(math.cos(spawnAngle)) * spd\n orb.speedx = math.sin(spawnAngle) * spd\n orb.x = xx\n orb.y = yy\n set_animation(orb, new_animation(new_sprite(\"sparks.png\", 8, 12 ), 30, anistart, anistop))\n return orb\n\n\n"}},{"spawnUfo":{"type":"function script","head":"import math\nimport random\n\ndef spawnUfo(spd, sprite, angle, xx, yy):\n ufo = UFO2()\n ufo.speedy = abs(math.cos(angle)) * spd\n ufo.speedx = math.sin(angle) * spd\n ufo.x = xx\n ufo.y = yy\n ufo.direction = \"\"\n animation_set(ufo, animation_new(new_sprite(sprite, 1, 4 ), 30, 0, 3))\n return ufo\n"}},{"spawnOrb2":{"type":"function script","head":"import math\nimport random\n\ndef spawnOrb2(spd, anistart, anistop, xx, yy):\n orb = Orb2()\n orb.x = xx\n orb.y = yy\n orb.speed = spd\n animation_set(orb, animation_new(sprite_new(\"sparks.png\", 8, 12 ), 30, anistart, anistop))\n\n"}},{"spawnSpider":{"type":"function script","head":"def spawnSpider(spd, spawnAngle,xx, yy):\n orb = Orb()\n orb.destructible = True\n orb.speedy = abs(math.cos(spawnAngle)) * spd\n orb.speedx = math.sin(spawnAngle) * spd\n orb.x = xx\n orb.y = yy + 100\n orb.scaleX = 0.25\n orb.scaleY = 0.25\n animation_set(orb, animation_new(sprite_new(\"spider.png\", 3, 2 ), 5, 0, 4))\n\n\n\n"}}]}}
Game
Alien Invaders
2159 plays
gary oak
You can use the WASD to move, or you can use the mouse! Holding down the mouse button will shoot
52
You can use the WASD to move, or you can use the mouse! Holding down the mouse button will shoot
0
198264