April 23rd, 2012, 03:12 PM
Falling Objects Game
I'm new in c# but have a bit of knowledge in c++ and vb.net. I have a small assignment here of writing a simple game in c#. The game consists of a single player who can move left or right. It also has the raindrops which appear in random position in the top quarter of the screen vertically.
The objective of the game is to move the player so that he dodges the raindrops. If raindrop touches the player then the game is over.
I understand c# code but my problem is on making the graphics/animation. How can I create the falling raindrops and the player moving horizontally across the screen?
Your help is highly appreciated.
April 27th, 2012, 05:23 AM
Re: Falling Objects Game
What are you using as your player? Are you using Windows GDI, or window controls? If you are using window controls and want to move them around the screen you really need to have your controls running on separate threads and use a delegate to see if the control is locked or not.
April 27th, 2012, 09:21 AM
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!