www.xbdev.net
xbdev - software development
Thursday November 21, 2024
Home | Contact | Support | Programming.. With C# and .Net...
     
 

Programming..

With C# and .Net...

 

Death Valley Game

(Creating a simple Demo Game - Keep the mouse inside the lines!)

 

You can create all sorts of different games using basic C# and simple 2D images.  This simple demo uses the mouse cursor and a simple path.  You click the start circle, then it begins, you have to move the mouse cursor along the path without going over the edges.  If this isn't hard enough, a few added flying objects are added so that it makes it more challenging.

 

 

The demo game is done in various parts to build up to the final version, as shown in the screenshot on the right.  Its not perfect and can still be improved.  The perfect game is an always ongoing endevour. 

 

 

 

 

Download Source Code (139kb)

 

 

 

Tutorials take time, but for now I've put the source code for the different stages of development so you can play with them and learn.

 

main_01_normal.cs
main_02_mouse_inside.cs
main_03_inside_wobly_path.cs
main_04_background_image.cs
main_05_moving_orbjects.cs
main_06_let_game_begin.cs

 

 

 

To be continued....

 
Advert (Support Website)

 
 Visitor:
Copyright (c) 2002-2024 xbdev.net - All rights reserved.
Designated articles, tutorials and software are the property of their respective owners.