
-----------------------------------
Jonny Tight Lips
Wed Jan 12, 2005 8:07 pm

Help with star fly by program
-----------------------------------
Well I'm trying to make a program like the windos screen saver with the stars. Well it works... it  just doesn't look right. Just need some help to make it actualy look like it should. Thanx.

-----------------------------------
Neo
Wed Jan 12, 2005 9:35 pm


-----------------------------------
Why do you use lines? Changing it to a dot looks better and when calculating your y values use maxy div 2 so its centered.

-----------------------------------
apomb
Thu Jan 13, 2005 2:36 am


-----------------------------------
alright, heres whats wrong
   drawdot (x1, y1, white)
        drawdot (x2, y2, white) in place of 
 drawline (x1,y1,x2,y2,white)
and change the maxx with  maxy in these two lines
        y1 := round (distance (o) * cosd (angel (o)) + maxx div 2)
                 y2 := round ((distance (o) - 10) * cosd (angel (o)) + maxx div 2)

 and now... try this, it should look a lot better
all you have to do now is make it fullscreen and get rid of the titlebar! gj on the "particle engine" looking thing tho, great programming!

- compwiz
