ONCE UPON A STAR LIT SKY
I discuss 2 programs which try to mimic stars in the sky.
Program 1 (stars.py)
This program comes along with examples in the official pygame package , very nice introductory example. With every mouse click the supposed center of the screen moves to that point. Creates a good illusion and can be used as the start-up for further futuristic starry games and animations.
Program 2 (parallaxstars.py)
I came across this example from Chapter 8 of Will's book, this example creates an illusion that the stars close to the observer are moving faster than those in the background, unlike last example ... a mouse click does no good to the program ! once again a good program and can be used as background for futuristic games.
I discuss 2 programs which try to mimic stars in the sky.
Program 1 (stars.py)
This program comes along with examples in the official pygame package , very nice introductory example. With every mouse click the supposed center of the screen moves to that point. Creates a good illusion and can be used as the start-up for further futuristic starry games and animations.
Video 1. Program 1
Program 2 (parallaxstars.py)
I came across this example from Chapter 8 of Will's book, this example creates an illusion that the stars close to the observer are moving faster than those in the background, unlike last example ... a mouse click does no good to the program ! once again a good program and can be used as background for futuristic games.
Video 2. Program 2
It is worth nothing that both these Pygame GUI's generate random stars and does not use any images to blit the screen.
2 comments:
Great explanation! Thank you for the informative post. Emperor Clubs is an Online Casino in Malaysia that offers more than just casino games. We offer more than 100 Slot Games Malaysia that really can help reduce stress, have fun as well as refreshing your mind.
A person necessarily assist to make seriously articles I’d state.
That is the first time I frequented your web page and thus far?
my web page; 안마
(jk)
Post a Comment