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

Report as inappropriate.

MatheMagician
MatheMagician presents ...

2012/7/8

StarField

Accelerate and decelerate forward and backward and side to side using the arrow keys. Thanks to nic for the idea of changing colors. You can switch between the color mode and normal white mode using the "a" key. I implement this in my texture cube scenario here: http://www.greenfoot.org/scenarios/5944. You may use the code as long as you like the scenario and give me credit in your game.

Suggestions, as always, are welcome.

5098 views / 1065 in the last 7 days

9 votes | 0 in the last 7 days

Tags: simulation demo with-source 3d

open in greenfoot
Your browser is ignoring the <APPLET> tag.
MatheMagicianMatheMagician

2012/11/17

Thank you! I can't wait to see your game.
kiarockskiarocks

2012/11/20

It won't be in Greenfoot due to its limited abilities, but I will try to port it maybe.
Entity1037Entity1037

2012/12/13

Now THIS is awesome! Its amazing how you can create a 3-d effect with just dots! Seriously this is amazing.
Entity1037Entity1037

2012/12/13

Also if you go up to warp speed like 10, then slow back down to 1, the stars all spawn simultaneously, ruining the effect.
kiarockskiarocks

2012/12/14

Has to do with the internal variable called time I think. I have been messing with it and the time variable causes this problem if increased/started with top high a value.
A new version of this scenario was uploaded on Mon Dec 17 21:04:36 UTC 2012 I fixed both bugs!
MatheMagicianMatheMagician

2012/12/24

I think I fixed all bugs:)
A new version of this scenario was uploaded on Fri Mar 22 11:50:10 UTC 2013
JetLennitJetLennit

2013/5/8

May I use this in a scenario that I am using?
MatheMagicianMatheMagician

2013/12/12

Yes, you may! Sorry about getting back so late.

See all comments

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

Who likes this?

Nosson1459 bourne birdy kiarocks miles7191 adamkjelstroem -nic- fireandlce blahblah26