473,569 Members | 2,880 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating a C# animated game

I was wondering if anyone could answer a couple of questions regarding
developing games. I would like to create one for fun on my spare time.
I want to know what type of technologies I would have to use.

Basically I want to create a sort of board game (for mutual funds). I
want to animate things like money (like have a pile of money in the
middle of the board, then pay money to each player, where the
chips/money would move to the player), rolling the dice, showing and
hiding lucky game cards, moving the players around the board, etc . I
just need some direction as to how to do all of that. Is it hard?
Would there be some sort of example I can see as to how I would do
this?

I would like to use C# to program the logic for the game. Do you think
I have to use DirectX or just GDI to make the graphics and animations
work for the program? How do I connect the graphics to the code?

Thanks for your time and your help.

Million thanks,

Tim :-)
Nov 15 '05 #1
2 4450
Tim,

My suggestion would be to use Manged DirectX. The interface for C# is
fairly straight forward. Help for it is available over in the managed
DirectX forum (microsoft.publ ic.win32.progra mmer.directx.ma naged).

--

Lynn Harrison
SHAMELESS PLUG - Introduction to 3D Game Engine Design (C# & DX9)
www.forums.Apress.com

"ck388" <go****@timyee. com> wrote in message
news:69******** *************** ***@posting.goo gle.com...
I was wondering if anyone could answer a couple of questions regarding
developing games. I would like to create one for fun on my spare time.
I want to know what type of technologies I would have to use.

Basically I want to create a sort of board game (for mutual funds). I
want to animate things like money (like have a pile of money in the
middle of the board, then pay money to each player, where the
chips/money would move to the player), rolling the dice, showing and
hiding lucky game cards, moving the players around the board, etc . I
just need some direction as to how to do all of that. Is it hard?
Would there be some sort of example I can see as to how I would do
this?

I would like to use C# to program the logic for the game. Do you think
I have to use DirectX or just GDI to make the graphics and animations
work for the program? How do I connect the graphics to the code?

Thanks for your time and your help.

Million thanks,

Tim :-)

Nov 15 '05 #2
> I want to know what type of technologies I would have to use [to develop
games].

It depends on what kind of game you want to make.
Basically I want to create a sort of board game (for mutual funds). I
want to animate things like money (like have a pile of money in the
middle of the board, then pay money to each player, where the
chips/money would move to the player), rolling the dice, showing and
hiding lucky game cards, moving the players around the board, etc . I
just need some direction as to how to do all of that.
All of this is possible with various technologies. You could do it all in
3D, but it is probably overkill for your game (I'm guessing here).
Is it hard?
That depends on who you ask. For a beginner, yes, it'll probably be
challenging.
Would there be some sort of example I can see as to how I would do
this?
There's tons of stuff on the Internet. http://www.GameTutorials.com might be
a good place to start, but here are some other sites with more info:
http://www.flipcode.com
http://www.gamedev.net
http://www.gamasutra.com

Also, try these newsgroups if you have a specific question:
alt.games.progr amming
comp.games.deve lopment.program ming.algorithms
comp.games.deve lopment.program ming.misc
comp.games.deve lopment.design
I would like to use C# to program the logic for the game. Do you think
I have to use DirectX or just GDI to make the graphics and animations
work for the program?
Once again, it depends on your goal. For modest graphics and animation, GDI
is probably fine. For fullscreen graphics and complex animation, especially
3D graphics, you'll probably want to use DirectX (Direct3D specifically for
graphics). But if you try this from the get-go, you're likely to be
overwhelmed. Instead, try to get your stuff working with the GDI. If it
doesn't meet your requirements, upgrade it to DirectX.
How do I connect the graphics to the code?


How long do you have? ;-) Check out the sites above.

Good luck! :-)
Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1607
by: Gonzalo Aguirre | last post by:
i have a classes diagram like this ------------ * ---------- | Vehicles | ------------------------- | Parking| ------------ vehicles ---------- ^ | +--+--------+ | | -------- ---------
9
9668
by: John J. Hughes II | last post by:
Is it possible using Image or Bitmap to build and save an animated GIF file? I am not have a problem saving the GIF file just getting the frames added to it. I did find ImageAnimator but it only seems to deal with showing the GIF and not saving it. Thanks, John
10
23469
by: Liz | last post by:
All: Can anyone tell me why my animated GIF does not show up as animated when put into a pictureBox?? Thanks. Liz
7
6315
by: Gary Kaucher | last post by:
At the top of the page on my website http://www.itemlook.com I have an animated gif called "eyeline.gif". It has worked fine in the past, but recently I am unable to get it to work using IE6. All that I get is a box with nothing in it. It almost seems as if the file will not open on my page, let alone animate. It still works fine with my...
1
2129
by: zoneal | last post by:
I wanted to insert an animated .gif into my VB.net game but the problem is that I don't want to use PictureBox. Is there any other method to insert it?
31
3153
by: JoeC | last post by:
I have read books and have ideas on how to create objects. I often create my own projects and programs. They end up getting pretty complex and long. I often use objects in my programs they are some of the most powerful programming tools I have found. Often times as my program grows so do my objects. Often times I look back and see that...
7
14528
by: Lemune | last post by:
Hi.. I am developing an application that connect to database on the other side of the net. And each time i want to connect to database and run some sql command, i want my user to know that there is some process is runing. My idea is to show animated gif until the process is done. My question is how i could achieved that? Any one could give...
1
1899
by: enp | last post by:
Hello, I am trying to create a board game in C#. I have looked into several different websites for creating a board for my game but I am unsuccessful. can somebody help me with their suggestion abt how can I go abt creating a board. I was thinking of using a gridlayout but I guess I am having issues with the display. Can anyone suggest if it is...
27
13985
by: Phil | last post by:
I thought it would be nice to display some animated GIFs on some of my forms. I put a PictureBox control on a form, and loaded my GIF file in. It animates, but not properly. It seems very jerky and dwells on some frames longer than it should. Searching for this problem, I have found several people who have stated that animated GIFs don't work...
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7619
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8138
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6290
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5228
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1229
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.