It's hard to explain here, but if you'd like, you can download the scripts and see how I scripted it. I have the player sprite change x or y by a certain amount as long as a direction key is pressed. Spacebar causes the beam sprite to show and then hide. The beam's x/y constantly matches the player's ship. Enemies spawn at a random coordinate along the screen edge and move at a constant x or y change until killed or they reach a particular x/y. That's the basic script anyway.
I'm glad you like it! What are some other Scratch games you think are addictive?
Download this project!
Download the 17 sprites and 40 scripts of "Photon Cage v7" and open it in Scratch
Project Notes
Go check out my Photon Cage v10! The enemies fire differently, so it has a different feel. Let me know which version you like better.
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].
Comments
You need to be logged in to post comments
Add a Comment
its a bit hard good game
my score is 1 :-) awesome game!!
25!
Addicted, huh? Have you seen Photon Cage v10 yet?
i got 13.
boss, i like both versions. how did you make the game? it looks to hard :D
It's hard to explain here, but if you'd like, you can download the scripts and see how I scripted it. I have the player sprite change x or y by a certain amount as long as a direction key is pressed. Spacebar causes the beam sprite to show and then hide. The beam's x/y constantly matches the player's ship. Enemies spawn at a random coordinate along the screen edge and move at a constant x or y change until killed or they reach a particular x/y. That's the basic script anyway.
WELL HE DIDNT MAKE IT!
nice im putting you in next weeks game of the week!
has this been featured?
I don't think so. How would I know for sure?
cool
I'm glad you think so. I have a new version, Photon Cage v10. I hope you'll try it out and give me some feedback.
Really cool!
Thanks! Be sure to try out the new version. The enemy attack patterns are a bit different.
You are DEFENENTALY IN Classics Revealed Co.!
Really good game. This is the kind of game that works well in Scratch. Nice job.
Thanks. I hope you'll try out the newer v10 version too.
thx for adding this to my gallery! i thank u, SorWiz9!
I meant Photon Cage v10, plus some updates I made to it two days ago.
You're welcome. Have you checked out the new version yet?
(view all replies)Awesome fun and addictive!!
I have a new version, Photon Cage v10. I'd like you to try it out and let me know what you think. Thanks.
I'm glad you like it! What are some other Scratch games you think are addictive?