Report as inappropriate.
A simple demonstration of a 3d starfield in the world background image. Will improve the demo with improved visuals. CODE to be provided in the next few days.
Press 'Up' to accelerate
Press 'Down' to decellerate
Press 'F' to toggle between flashing and white stars
Simple demo, will annotate code soon (if required). This is the start of some simple 3d styled games/demos.
Please note this is generating a pseudo 3d environment, i.e. the calculations to plot the stars is not using matrix's, to keep it simple and to reduce processing requirements. This code could be significantly improved on too, but I've tried to make the code readable for people to learn from.
To embed this scenario in a web page, copy the following HTML code:
Want to leave a comment? You must first log in.