ScratchData LogoScratchData
Back to fbrd's profile

Photon Cage v10 (with more turning)

FBfbrd•Created November 30, 2008
Photon Cage v10 (with more turning)
1
2
212 views
View on Scratch

Description

***DOWNLOAD TO FIRE*** Post Your High Score! Controls: spacebar=fire (costs energy) move mouse=turn click and hold=accelerate in direction you are pointing avoid anything but yourself and orange laser pulses if you get hit you will lose health and teleport 100 pixels away from your position shoot the hostile (all) droids you get 5 points per second and 30 points for destroying a droid. Sprites from: <A href="<A href="http://lostgarden.com/">http://lostgarden.com/</A>"><A href="http://lostgarden.com">http://lostgarden.com</A></A> Music from: <A href="<A href="http://incompetech.com/">http://incompetech.com/</A>"><A href="http://incompetech.com">http://incompetech.com</A></A> original game from SorWiz9 I (4dragonking) changed the movement to turning instead of strafing and using velocities to move I (fbrd) changed the velocities to simulate reality and made smarter enemys. I also changed the laser beams into laser pulses. Project: Photon Cage v10 (with more turning) Author: Scratch: 1.3 (release of 2-Sep-08) Notes: Post Your High Score! (mine is 45) Controls: Arrow Keys for movement Spacebar for attack Hit enemy ships with your photon beam [SPACEBAR] to refill your steadily depleting energy. Energy drops automatically over time, and when you fire the beam. Maneuver [ARROW KEYS] to avoid enemy ships and beams. They destroy your ship and cost you energy to reform. How long can you last? Earn the highest score you can by shooting as many enemies as possible before your energy runs out. To try again, restart [MOUSE CLICK THE GREEN FLAG]. Sprites from: <A href="<A href="http://lostgarden.com/">http://lostgarden.com/</A>"><A href="http://lostgarden.com">http://lostgarden.com</A></A> Music from: <A href="<A href="http://incompetech.com/">http://incompetech.com/</A>"><A href="http://incompetech.com">http://incompetech.com</A></A> original game from SorWiz9 I changed the movement to turning instead of strafing and using velocities to move History: 2008-4-1 10:43:25 save Ghost Battle Thomas Iu 2008-4-1 10:43:49 save Ghost Battle Thomas Iu 2008-4-30 01:19:07 save Ghost Battle 2008-4-30 01:34:37 save Ghost Battle 2008-5-3 06:07:15 save Ghost Battle 2008-11-6 06:51:42 save Ghost Battle 2008-11-6 07:18:56 save Space Battle 2008-11-6 07:19:43 save Space Battle 2008-11-6 07:31:31 save Space Battle 2008-11-6 07:31:37 save Space Battle 2008-11-6 07:34:01 save Space Battle 2008-11-6 07:35:08 save Space Battle 2008-11-6 07:36:36 save Space Battle 2008-11-6 07:46:51 save Space Battle 2008-11-6 07:59:39 save Space Battle 2008-11-6 08:17:27 save Space Battle 2008-11-6 08:18:15 save Space Battle 2008-11-6 08:41:11 save Space Battle 2008-11-6 08:53:47 save Space Battle 2008-11-6 08:54:11 save Space Battle 2008-11-6 08:55:39 save Space Battle 2008-11-6 09:02:54 save Space Battle 2008-11-6 09:26:10 save Space Battle 2008-11-6 09:34:10 save Space Battle 2008-11-6 09:35:04 save Space Battle 2008-11-6 09:47:39 save Space Battle 2008-11-6 09:48:43 save Space Battle 2008-11-6 09:57:15 save Space Battle 2008-11-6 10:09:54 save Space Battle 2008-11-6 10:15:38 save Space Battle 2008-11-6 10:20:40 save Space Battle 2008-11-6 10:33:55 save Space Battle 2008-11-6 10:43:03 save Space Battle 2008-11-6 10:43:27 save Space Battle 2008-11-6 10:44:17 save Space Battle 2008-11-6 10:53:58 save Space Battle 2008-11-6 10:56:46 save Space Battle 2008-11-6 10:59:30 save Space Battle 2008-11-6 11:02:09 save Photon Cage 2008-11-6 11:16:41 share Photon Cage SorWiz9 2008-11-6 11:19:54 save Photon Cage SorWiz9 2008-11-6 11:20:07 save Photon Cage SorWiz9 2008-11-6 11:20:50 save Photon Cage SorWiz9 2008-11-6 11:24:08 share Photon Cage SorWiz9 2008-11-6 11:27:42 save Photon Cage SorWiz9 2008-11-6 11:30:00 save Photon Cage SorWiz9 2008-11-6 11:38:18 save Photon Cage SorWiz9 2008-11-6 11:38:46 save Photon Cage SorWiz9 2008-11-6 11:39:22 share Photon Cage SorWiz9 2008-11-6 11:44:00 save Photon Cage v2 SorWiz9 SorWiz9 2008-11-6 11:45:26 share Photon Cage v2 SorWiz9 SorWiz9 2008-11-6 11:51:34 save Photon Cage v2 SorWiz9 SorWiz9 2008-11-6 11:52:23 save Photon Cage v2 SorWiz9 SorWiz9 2008-11-6 11:52:39 save Photon Cage v2 SorWiz9 SorWiz9 2008-11-6 11:54:00 save Photon Cage SorWiz9 SorWiz9 2008-11-6 11:54:25 save Photon Cage SorWiz9 SorWiz9 2008-11-6 11:55:51 save Photon Cage SorWiz9 SorWiz9 2008-11-6 11:56:49 share Photon Cage SorWiz9 SorWiz9 2008-11-6 11:58:15 share Photon Cage SorWiz9 SorWiz9 2008-11-6 11:59:04 save Photon Cage v3 SorWiz9 SorWiz9 2008-11-6 11:59:26 share Photon Cage v3 SorWiz9 SorWiz9 2008-11-6 12:07:32 save Photon Cage v3 SorWiz9 SorWiz9 2008-11-7 00:08:42 save Photon Cage v3 2008-11-7 00:11:07 save Photon Cage v3 2008-11-7 00:59:04 save Photon Cage v3 2008-11-7 01:16:40 save Photon Cage v3 2008-11-7 01:17:59 save Photon Cage v3 2008-11-7 01:18:41 save Photon Cage v3 2008-11-7 01:53:21 save Photon Cage v3 2008-11-7 01:55:06 save Photon Cage v3 2008-11-7 02:43:45 save Photon Cage v3 2008-11-7 02:44:30 save Photon Cage v4 2008-11-7 02:45:14 share Photon Cage v4 SorWiz9 2008-11-7 02:54:26 save Photon Cage v4 SorWiz9 2008-11-7 02:56:45 save Photon Cage v4 SorWiz9 2008-11-7 17:09:58 save Photon Cage v5 2008-11-7 17:35:08 save Photon Cage v6 SorWiz9 SorWiz9 2008-11-7 17:53:54 save Photon Cage v6 SorWiz9 SorWiz9 2008-11-7 18:01:24 save Photon Cage v6 SorWiz9 SorWiz9 2008-11-7 18:01:43 save Photon Cage v6 SorWiz9 SorWiz9 2008-11-7 18:02:09 save Photon Cage v6 SorWiz9 SorWiz9 2008-11-7 18:03:18 save Photon Cage v6 SorWiz9 SorWiz9 2008-11-7 18:10:25 share Photon Cage v6 SorWiz9 SorWiz9 2008-11-7 18:12:20 save Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 00:38:48 save Photon Cage v7 2008-11-8 00:41:48 save Photon Cage v7 2008-11-8 00:53:41 save Photon Cage v7 2008-11-8 00:57:02 share Photon Cage v7 SorWiz9 2008-11-8 01:06:29 save Photon Cage v7 SorWiz9 2008-11-8 01:29:07 save Photon Cage v7 SorWiz9 2008-11-8 01:33:28 save Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 01:33:50 share Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 01:34:14 save Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 01:36:07 save Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 01:38:33 save Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 01:44:33 save Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 02:00:20 save Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 02:00:25 save Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 02:00:47 share Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 02:14:13 save Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 02:14:37 share Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 02:20:15 save Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 02:20:31 share Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 02:24:11 save Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 02:24:26 share Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 02:41:43 save Photon Cage v7 SorWiz9 SorWiz9 2008-11-8 06:13:39 save Photon Cage v7 2008-11-21 00:59:45 save Photon Cage v8 2008-11-21 01:14:25 save Photon Cage v8 2008-11-21 01:18:58 save Photon Cage v8 2008-11-21 01:30:12 save Photon Cage v8 2008-11-21 01:31:23 save Photon Cage v8 2008-11-21 01:36:22 save Photon Cage v8 2008-11-21 01:42:51 save Photon Cage v8 2008-11-21 01:46:26 save Photon Cage v8 2008-11-21 01:50:31 save Photon Cage v8 2008-11-21 02:07:13 save Photon Cage v8 2008-11-21 02:51:18 save Photon Cage v8 2008-11-21 02:53:24 save Photon Cage v8 2008-11-21 03:07:48 share Photon Cage v8 SorWiz9 2008-11-21 03:17:11 save Photon Cage v9 SorWiz9 SorWiz9 2008-11-21 03:26:08 save Photon Cage v9 SorWiz9 SorWiz9 2008-11-21 03:30:43 save Photon Cage v9 SorWiz9 SorWiz9 2008-11-21 04:50:41 save Photon Cage v9 2008-11-21 05:06:32 save Photon Cage v9 2008-11-21 05:08:08 save Photon Cage v9 2008-11-21 05:08:14 save Photon Cage v9 2008-11-21 05:08:28 save Photon Cage v9 2008-11-21 16:26:18 save Photon Cage v10 2008-11-22 05:48:15 save Photon Cage v10 2008-11-22 06:32:35 save Photon Cage v10 2008-11-22 06:33:18 save Photon Cage v10 2008-11-22 06:35:01 share Photon Cage v10 SorWiz9 2008-11-25 10:01:41 save Photon Cage v10 (with turning) 2008-11-25 10:02:04 share Photon Cage v10 (with turning) 4dragonking 2008-11-30 12:55:24 save Photon Cage v10 (with more turning) 2008-11-30 16:40:47 save Photon Cage v10 (with more turning) 2008-11-30 18:03:47 save Photon Cage v10 (with more turning) 2008-11-30 18:07:50 save Photon Cage v10 (with more turning) Totals: Sprites: 17 Stacks: 29 Unique costumes: 8 Unique sounds: 32 -------- Sprite: Stage Costumes (1): background1 (480x360) Sounds (2): Unrelenting Intr (0:00:11) implosion2 soft (0:00:03) Stacks (2): when green flag clicked forever if Explode = 1 play sound "implosion2 soft" set "Explode" to 0 end when green flag clicked set "Energy" to 100 set "Score" to 0 set "Explode" to 0 forever play sound "Unrelenting Intr" until done end -------- Sprite: enemy2 Costumes (3): Starship 2 (25x19) Explode1 (17x17) Explode2 (25x25) Sounds (0): Stacks (3): when green flag clicked reset timer switch to costume "Starship 2" go to front forever hide go to " " turn pick random -180 to 180 degrees repeat until touching " "? move -40 steps switch to costume "Starship 2" show repeat 10 move 5 steps point towards " " repeat until touching " "? move 5 steps end when green flag clicked forever if touching color c[E06008]? switch to costume "Explode1" set "Explode" to 1 wait 0.1 secs switch to costume "Explode2" wait 0.1 secs hide change "Score" by 1 change "Energy" by 2 go to " " turn pick random -180 to 180 degrees repeat until touching " "? move -40 steps switch to costume "Starship 2" show end when green flag clicked forever if Explode = 0 wait 0.5 secs broadcast "bang1" wait 0.5 secs broadcast "bang2" wait 0.5 secs broadcast "bang3" wait 0.5 secs broadcast "bang4" end -------- Sprite: Enemy Costumes (3): Starship 2 (25x19) Explode1 (17x17) Explode2 (25x25) Sounds (0): Stacks (3): when green flag clicked forever if touching color c[E06008]? switch to costume "Explode1" set "Explode" to 1 wait 0.1 secs switch to costume "Explode2" wait 0.1 secs hide change "Score" by 1 change "Energy" by 2 go to " " turn pick random -180 to 180 degrees repeat until touching " "? move -40 steps switch to costume "Starship 2" show end when green flag clicked reset timer switch to costume "Starship 2" go to front forever hide go to " " turn pick random -180 to 180 degrees repeat until touching " "? move -40 steps switch to costume "Starship 2" show repeat 10 move 5 steps point towards " " repeat until touching " "? move 5 steps end when green flag clicked forever if Explode = 0 wait 0.5 secs broadcast "fire1" wait 0.5 secs broadcast "fire2" wait 0.5 secs broadcast "fire3" wait 0.5 secs broadcast "fire4" end -------- Sprite: Sprite12 Costumes (1): Beam (41x3) Sounds (3): ELSHOT Soft (0:00:05) recording1 (0:00:02) recording2 (0:00:01) Stacks (1): when I receive "0" hide set x to "x position" of " " point in direction "direction" of " " set y to "y position" of " " show play sound "ELSHOT Soft" repeat until touching " "? or touching " "? or touching " "? move 30 steps hide end -------- Sprite: Sprite11 Costumes (1): Beam (41x3) Sounds (3): ELSHOT Soft (0:00:05) recording1 (0:00:02) recording2 (0:00:01) Stacks (1): when I receive "3" hide set x to "x position" of " " point in direction "direction" of " " set y to "y position" of " " show play sound "ELSHOT Soft" repeat until touching " "? or touching " "? or touching " "? move 30 steps hide end -------- Sprite: Sprite10 Costumes (1): Beam (41x3) Sounds (3): ELSHOT Soft (0:00:05) recording1 (0:00:02) recording2 (0:00:01) Stacks (1): when I receive "2" hide set x to "x position" of " " point in direction "direction" of " " set y to "y position" of " " show play sound "ELSHOT Soft" repeat until touching " "? or touching " "? or touching " "? move 30 steps hide end -------- Sprite: Sprite9 Costumes (1): Beam (32x3) Sounds (2): ELSHOT Soft (0:00:05) Zoop (0:00:00) Stacks (1): when I receive "bang4" hide set x to "x position" of " " point in direction "direction" of " " set y to "y position" of " " show play sound "ELSHOT Soft" repeat until touching " "? or touching " "? move 15 steps hide end -------- Sprite: Sprite8 Costumes (1): Beam (32x3) Sounds (2): ELSHOT Soft (0:00:05) Zoop (0:00:00) Stacks (1): when I receive "bang3" hide set x to "x position" of " " point in direction "direction" of " " set y to "y position" of " " show play sound "ELSHOT Soft" repeat until touching " "? or touching " "? move 15 steps hide end -------- Sprite: Sprite7 Costumes (1): Beam (32x3) Sounds (2): ELSHOT Soft (0:00:05) Zoop (0:00:00) Stacks (1): when I receive "bang2" hide set x to "x position" of " " point in direction "direction" of " " set y to "y position" of " " show play sound "ELSHOT Soft" repeat until touching " "? or touching " "? move 15 steps hide end -------- Sprite: Sprite6 Costumes (1): Beam (32x3) Sounds (2): ELSHOT Soft (0:00:05) Zoop (0:00:00) Stacks (1): when I receive "bang1" hide set x to "x position" of " " point in direction "direction" of " " set y to "y position" of " " show play sound "ELSHOT Soft" repeat until touching " "? or touching " "? move 15 steps hide end -------- Sprite: Sprite4 Costumes (1): Beam (32x3) Sounds (2): ELSHOT Soft (0:00:05) Zoop (0:00:00) Stacks (1): when I receive "fire4" hide set x to "x position" of " " point in direction "direction" of " " set y to "y position" of " " show play sound "ELSHOT Soft" repeat until touching " "? or touching " "? move 15 steps hide end -------- Sprite: Sprite3 Costumes (1): Beam (32x3) Sounds (2): ELSHOT Soft (0:00:05) Zoop (0:00:00) Stacks (1): when I receive "fire3" hide set x to "x position" of " " point in direction "direction" of " " set y to "y position" of " " show play sound "ELSHOT Soft" repeat until touching " "? or touching " "? move 15 steps hide end -------- Sprite: Sprite2 Costumes (1): Beam (32x3) Sounds (2): ELSHOT Soft (0:00:05) Zoop (0:00:00) Stacks (1): when I receive "fire2" hide set x to "x position" of " " point in direction "direction" of " " set y to "y position" of " " show play sound "ELSHOT Soft" repeat until touching " "? or touching " "? move 15 steps hide end -------- Sprite: Sprite1 Costumes (1): Beam (32x3) Sounds (2): ELSHOT Soft (0:00:05) Zoop (0:00:00) Stacks (1): when I receive "fire1" hide set x to "x position" of " " point in direction "direction" of " " set y to "y position" of " " show play sound "ELSHOT Soft" repeat until touching " "? or touching " "? move 15 steps hide end -------- Sprite: Player Costumes (3): Starfighter (28x20) Explode1 (17x17) Explode2 (25x25) Sounds (0): Stacks (7): when space key pressed repeat until Energy &lt; 0.1 or not key "space" pressed? broadcast Fire: Which one? change "Fire: Which one?" by 1 change "Energy" by -5 wait 0.25 secs end when green flag clicked forever set "Fire: Which one?" to Fire: Which one? mod 4 end when green flag clicked set "health" to 100 forever if touching color c[0042FF]? switch to costume "Explode1" set "Explode" to 1 wait 0.1 secs switch to costume "Explode2" wait 0.1 secs hide change "health" by pick random -5 to -15 turn pick random -180 to 180 degrees move -100 steps turn pick random -30 to 30 degrees switch to costume "Starfighter" show end when green flag clicked forever if Energy &gt; 99.8 set "Energy" to 100 change "health" by 0.1 if health &gt; 99.9 set "health" to 100 end when green flag clicked forever if mouse down? change "xvel" by 0.5 * "sin" of direction change "yvel" by 0.5 * "cos" of direction point towards "mouse-pointer" end when green flag clicked forever change "Energy" by 0.5 if health &lt; 1 stop all end when green flag clicked set "Energy" to 100 set "xvel" to 0 set "yvel" to 0 forever if "abs" of x position &gt; 238 set "xvel" to xvel * -0.5 set x to x position * 0.975 change x by xvel if "abs" of y position &gt; 178 set "yvel" to yvel * -0.5 set y to y position * 0.975 change y by yvel end -------- Sprite: Beam Costumes (1): Beam (41x3) Sounds (3): ELSHOT Soft (0:00:05) recording1 (0:00:02) recording2 (0:00:01) Stacks (1): when I receive "1" hide set x to "x position" of " " point in direction "direction" of " " set y to "y position" of " " show play sound "ELSHOT Soft" repeat until touching " "? or touching " "? or touching " "? move 30 steps hide end -------- Sprite: Stars1 Costumes (1): Stars2 (480x360) Sounds (1): pop (0:00:00) Stacks (1): when green flag clicked go to front go back 100 layers go to x: 0 y: 180 show forever repeat until y position &lt; -160 change y by -1 set y to 540 end -------- Sprite: Stars2 Costumes (1): Stars3 (480x360) Sounds (1): pop (0:00:00) Stacks (1): when green flag clicked go to front go back 101 layers go to x: 0 y: 540 show forever repeat until y position &lt; -160 change y by -1 set y to 540 end --------

Project Details

Project ID337947
CreatedNovember 30, 2008
Last ModifiedNovember 30, 2008
SharedNovember 30, 2008
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root