1.create a image of one pixel white and then save it to PNG (The image file must be of 1 x 1 size to work prperly)
2.create an actor called:Star_field_Generator
3.on create event change the visible state to: Dont draw but alowd event.
4.on create event create a timer called: Star_Field, and make it last for at lest 400 MS.
5.Create an actor called:Stars
6.on create event use this script:
- Code: Select all
angle=1+(rand(359));
Directional_Velocity=1+(rand(5));
7.on Out of Vision, use destroyd event actor (to prevent from the stars to uses to much memory)
8.now on the Star_field_Generator actor, on timer event (The Star_Field timer), make a script:
- Code: Select all
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
CreateActor("Stars","THE IMAGE FILE NAME",and bla bla bla);
and thats all
For any feedsback are appreciated