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

Comments for Starship

Return to Starship

JetLennitJetLennit

2013/5/7

What are the controls?
GreenGooGreenGoo

2013/5/7

WASD. I will add a firing mechanism tomorrow. I already have three weapons but haven't implemented them yet.
GreenGooGreenGoo

2013/5/7

Scrap that, the controls are the arrow keys.
Hawx_Hawx_

2013/5/8

Are you going to publish the code?
GreenGooGreenGoo

2013/5/8

In the future, yes, but for sentimental reasons I'll keep it to myself for a while first.
A new version of this scenario was uploaded on Thu May 09 15:40:34 UTC 2013 Added health bar, auto-enemy generation, a starship weapon, and fixed various bugs.
A new version of this scenario was uploaded on Thu May 09 15:55:14 UTC 2013 Fixed a bug where the ship can be damaged when the forcefield is up
A new version of this scenario was uploaded on Thu May 09 19:35:01 UTC 2013 Fixed some more bugs.
A new version of this scenario was uploaded on Fri May 10 19:52:01 UTC 2013 Added cascading explosions and text instructions
A new version of this scenario was uploaded on Sat May 11 10:17:07 UTC 2013 Fixed the forcefield levels, added an enemy counter, and a new sound.
KartoffelbrotKartoffelbrot

2013/5/12

This could become a great game.
GreenGooGreenGoo

2013/5/12

What should I try to add to it?
KartoffelbrotKartoffelbrot

2013/5/12

-better enemy-image -laser should come out at front of ship -maybe different levels -different enemy-types
GreenGooGreenGoo

2013/5/12

I'm working on a round system, perhaps a kind of enemy AI, and the laser coming out the front of the ship requires some serious maths that will take me a while to do.
KartoffelbrotKartoffelbrot

2013/5/12

Round system is nice to do. If you want the laser come out at the front of the ship you dont have to calculate coordinates and angles. If you fire you generate a new object of class laser, like: Laser l = new Laser(); getWorld().addObject(l, getX(), getY()); If you do it like that you can move it afterwards, with only one line: l.move(half length of the ship+half length of the laser); I made it like that in my game.
GreenGooGreenGoo

2013/5/12

I'll try it out!
A new version of this scenario was uploaded on Tue May 14 19:35:31 UTC 2013 Added a new enemy, and changed the pictures. A few minor tweaks too.
A new version of this scenario was uploaded on Tue May 14 19:45:34 UTC 2013 Fixed cascading explosion bug