Starfield
This is an old revision of this page, as edited by Bg4545 (talk | contribs) at 22:13, 23 September 2011. It may differ significantly from the current revision. |
StarField | |
General | |
---|---|
Author(s) | Owen |
Type | Demo |
Version | 1 |
License | GPL |
Links | |
Download | |
Source | |
Peripherals | |
![]() |
Starfield is a small app that was written to demonstrate the starfield effect that I use in Newo Shooter. I wrote this program for beginners who want to get into Wii homebrew. Uses GRRLIB. It is not a game. You can modify the included source to simulate things like warps, rain and various other flying effects.
How it works
Check the source. The C program basically draws some lines in 3d space inside a single GX block. Half the lines are a different colour and are moving slower than the other half. The lines move from the back of the box to the front (-1 to 1) and are placed back at -1 if they become greater than 1. Lines are better than dots because they provide a nice motion blur appearance. You can interact with effect by pressing the appropriate buttons. If you change the angle you can make it look like rain, heavy rain or a slow drizzle. You only need the void draw_stardust() function, the rest of the code is just there to for the demo purpose and is not needed.
Controls
The controls are on the screen
(kinda looks like the effect in the video)
Comments
I love to hear your feedback, please leave your comments and experiences on the talkpage!