Falling Objects Game
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Falling Objects Game

  1. #1
    Join Date
    Apr 2012
    Posts
    7

    Falling Objects Game

    Hi,

    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.

  2. #2
    Join Date
    Apr 2012
    Posts
    1

    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.

  3. #3
    Join Date
    Apr 2012
    Posts
    7

    Re: Falling Objects Game

    Hi,
    I'm using GDI..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center