This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

albertlai431
albertlai431 presents ...

2019/11/13

Space Wars

Space Wars is a complex exciting simulation featuring multiple elements for a fast-paced and exciting screenplay of a war fought between Team Red and Team Blue. Each team starts with a Command Centre, 2 factories, and 4 mines. Each Command Centre commands its team and creates people. Workers work in factories and can also build new factories, while miners work in Mines to make money. Factories build ships and can be upgraded to build better ships; mines can be upgraded too.

The war is fought with ships/vehicles. There are 4 different kinds of ships, some more powerful than others and each fighting differently. Most ships shoot bullets, except for the Hyperion, which fires missiles (radius damage).

In the start screen, the user can specify parameters to start (the Viking is a type of ship). The game ends when one team destroys the Command Centre of the other team!

CREDITS
Graphics: Clash of Clans, StarCraft, Clash of Lords, sccpre.cat, pngkey.com, topping.com, Roblox, Gaurav.munjal.us, wallpaperplay.com
Music: Relaxation Ambient Music (AMAZING SPACE TRAVELING), www.gamedevmarket.net (TOP DOWN SHOOTER – 1)

1557 views / 35 in the last 7 days

1 vote | 0 in the last 7 days

Tags: space simulation with-source war explosions spaceship ships people factory mines

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on 2019-11-15 13:46:03 UTC Increased efficiency by reducing the amount of objects and made the font look better.
A new version of this scenario was uploaded on 2019-11-16 00:05:47 UTC Fixed Timer class making too many actors and Explostion class declaring images inside constructor.
A new version of this scenario was uploaded on 2019-11-16 19:09:02 UTC Static images and sounds, actually fixed the font this time, and added frame rate to make for smooth animations.
A new version of this scenario was uploaded on 2019-11-17 19:20:14 UTC Added title screen and moved everything to a new scenario to attempt to fix the issue of having greenfoot take a long time to load the default images.
MrCohenMrCohen

2019/11/18

I like that you took the initiative to put this up on the Gallery! I know it took some extra work. Thanks! I'm going to use this as an exemplar for future years :)
albertlai431albertlai431

2019/11/19

Thanks Mr. Cohen! It was pretty fun optimizing the game, fixing some of the bugs, and brushing it up a little. Glad you like it! :D
A new version of this scenario was uploaded on 2019-11-20 12:27:18 UTC Final update for simulation: added comments, fixed small bugs, and attempted to optimize timer with java.awt

Want to leave a comment? You must first log in.

Who likes this?

MrCohen