Content Archived

This content is no longer current.

Beginning Game Development: Part I – Introduction

Sign in to queue

The Discussion

  • User profile image
    kark

    hi, i finish my game code already, but i dont noe how to make my code to installer, cause i wan use other computer dont have visual stdio 2008 play my game, hope ur all can help me, i am using c++ write code

  • User profile image
    Clint

    @kark, try following this video:  http://www.betterthaneveryone.com/archive/2007/11/07/how-to-create-a-project-installer.aspx

    It is for c# but *should* do the job.

  • User profile image
    JonR

    After reading these comments I have to say something.. If you are trying to follow this tutorial and want to learn to program games, but don't even know what a constructor is, you need to stop what you are doing, this is way over your head. Please take some introductory computer science classes and learn about object oriented design. Game programming is difficult, especially for someone who doesn't know how to do any OOP.

  • User profile image
    jh1507

    Um...

    Hi, Sorry this tutorial is obaviously irealivent now beause i can`t find dxmutmisc.cs in the folder BTW i`m using dx10 SDK do u have any other tutoirals for beggining C# 2D game dev.

    Thanks Jordan

  • User profile image
    Clint

    @jh1507 managed DirectX (that is using VB and C#) is no longer supported.  Either use XNA to do your DirectX support needs or I'd recommend switching to C++.

    Is there something XNA can't handle that you need?

  • User profile image
    Clint

    @Pete managed DirectX (that is using VB and C#) is no longer supported.  Either use XNA to do your DirectX support needs or I'd recommend switching to C++.

    Based on the article date, a 2005 version of the directX SDK is going to be too old.  I'm going to say go for a 2006 version near October.

  • User profile image
    Pete

    I've downloaded the August 2005 version of the DirectX SDK to get the Managed code Samples.  However when I get to the step of including dxmutmisc.cs, that file fails to build because it can't find the references to Microsoft.DirectX and Microsoft.DirectX.Direct3D.  Can anyone help me locate these references so I can add them?

  • User profile image
    ge-force

    I downloaded the game - but are A S D W F1 F2 F3 F4 F5 the only keys? Is there a shoot key?

  • User profile image
    Clint

    @ge-force, check out the source code, looking at the DirectInput article for this series, https://blogs.msdn.com/coding4fun/archive/2006/11/03/940908.aspx  I'm inclined to say yes.

  • User profile image
    neil

    coding4fun, i checked out that XNA, and would you know of any sites that offer good tutorials, or can this site still teach me to make games that are like tetris and 2d? or do you know of any other site then XNA that offers good tutorials?

  • User profile image
    Clint

    @neil, managed direct x is no longer supported.  Chances are you can get this working but like I stated, XNA a far better choice if you want to do a managed language 3D game.  http://creators.xna.com/

    I'll bet you can get the article working, but it will require some effort in tracking some stuff down.

  • User profile image
    neil

    so i should go to that link you posted at the top for managed dirext x?

  • User profile image
    Clint

    @neil, VS 2005 over 2008 shouldn't matter, it is getting the managed direct x part working ...  XNA is a far better route to take.

  • User profile image
    neil

    humm, sucks that this is based on the 05' one, i got the 2008 visual basic, and can't get past making the app, what a bummer

  • User profile image
    Clint

    @neil, we have a bunch here, Creators Club has some pretty good tutorials as well.  For like, Tetris, I don't think either of us do.  A quick bing search however, http://www.bing.com/search?q=xna+tetris&form=QBLH&qs=n&sk= turns up a few

  • User profile image
    Clint

    @ninja4 i attempted to track it down, couldn't.  Managed DirectX is no longer supported.  XNA is the way to do this now.

  • User profile image
    ninja4

    Can anybody tell me where the link to download the game is?

    Thanks,

    ninja

  • User profile image
    dan

    hey im following the steps stage by stage on the part where u add direct x i kent find the files in the ritght place Samples\Managed\Common and select the dxmutmisc.cs file. the managed folder isnt there

  • User profile image
    Clint

    @Dan, this is no longer supported.  If you want to do DirectX with a managed language, please use XNA.  Coding4Fun has multiple articles with XNA to help get you jump started.

  • User profile image
    shapewear

    When I tried to start the program after adding the timer, it gave me 133 error messages saying it couldn't find parts of the timer

  • User profile image
    Clint

    @shapewear sorry, this uses a non-supported SDK now.

  • User profile image
    ping

    I was on the XNA web page and it seems that it is developed for windows phone and Xbox 360... The best way to make games for windows based computer is really xna ??

  • User profile image
    ping

    @Coding4Fun

    You made a lot of posts recommanding to switch to XNA...

    I clicked on http://creators.xna.com and it reroute me on https://create.msdn.com/en-US/

    Ther I find a lot of stufs about WindowsPhone and XBox. But I want to do games for Windows based computers... So my question is : Where I shoud begin ?

  • User profile image
    Clint

    @ping also http://creators.xna.com got moved to https://create.msdn.com now.  Smiley

  • User profile image
    Clint

    @ping XNA works across all of the platforms.  XNA is the way to go if you want to make a video game with a managed language like C#.  If you want to go C++ route, you can use Direct X.

    For a list of resources from create.msdn.com that is for XNA and Windows, create.msdn.com/.../catalog

  • User profile image
    Wolf

    This is a brilliant, informative and insightful tutorial. Sadly, it seems redundant now.. is this so?

    If so, is there an updated one planned? I really need something like this Sad

  • User profile image
    Tina

    I need help!! I'm doing game development as my senior project and I would love to know more about my topic

  • User profile image
    Sanij

    This article is very intresting for a beginners like me.

  • User profile image
    Dre

    @Clint: I went to the site that is suggested to get XNA, but I don't see a download link for XNA 4.0 (only for the phone APIs). I did a Google search but only found a link to D/L XNA 3.1. Any suggestions?

  • User profile image
    discount Nike shox shoes

    Cheap designer shoes on sale . Including discount Nike shox shoes , Adidas running shoes , on sale Air Jordan shoes and many other brands of men's and women's wholesale designer shoes . Welcome to our site http://www.high-grade-mall.com/discount-nike-shoes.

  • User profile image
    NathanTwomey

    hey, I'm new to game development.. only started yesterday and want to know if theres any good free programs for making games but also have tutorials???

  • User profile image
    amaria

    hey
     

  • User profile image
    kapil

    hi how are you you close this window and see the magic

  • User profile image
    GameDev​Training

    If you are interested in game development, you might also be interested in our online 4-day course on Game Development with Unity: gamedevtraining.zymichost.com

    Its interactive so you can ask questions from the instructor, and share your screen live. Its only over weekends, and since we are doing this live for the first time ( we usually do in-person), its very affordable.

  • User profile image
    joe

    Hi all,
    I am developing a small game for first time in my life.
    I am stuck @ writing logic for player and Computer.
    I also dont knw which lang should i use for game logic.
    I hav developed the UI in WPF and base lang as C# kindly help which lang should i use to write game logic.
    any Kind of help will be vry useful...... :(

  • User profile image
    Farhan

    hi all
    i design my first game with game maker8 without any language.i design 2d game.i hate to use language.tell me can i develop a game without use any language.i am from Pakistan and want to development a game whit i do plz tell me?????
    Thanks.

  • User profile image
    Marcos

    I have written the code of the first article as the steps but it showed some errors when doing the latest steps of "deltaTime = Microsoft.Samples.DirectX.UtilityToolkit.FrameworkTimer.GetElapsedTime()" It said "Samples is not a member of microsoft and Error 1 'deltaTime' is not declared. It may be inaccessible due to its protection level.
    What should I do please reply. Thanks

  • User profile image
    russell hickman

    If you develop a game using XNA for commerical, does this mean you have to purchase/subscribe to XNA professional?

    I develop in Visual Basic, just purchased MS VS 2010 Progessional at mega bucks, only to find DirectX is not supported in VB. Is microsoft forcing us to either: a) use C/C++ and b) force us to use XNA?

    What is coding4fun view, should I really only target professional games using C/C++? If yes, then is DirectX available for C/C++ or should I use only XNA? I am very confused, as a recent article now says XNA can be used in VisualBasic, but not DirectX....
    ...I have completed the game layer network protocol, the world management, and real time players handling of moves, but now need to create the sprites, images in 2D and 3D. Do I invest in XNA or DirectX if I am planning to sell the game?

  • User profile image
    Tekkno​Draykko

    Is there a more up-to-date version of this tutorial? One that uses the more modern technology (i.e. C# 2010, etc)? Or do we use the existing project, as is, but with modern tech (i.e. - XNA) in place of the obsolete stuff?

  • User profile image
    Elsen

    @russel take a look at Truevision3D middleware. It is completely rewritten in C++ and more flexible I think. You don't have to be concerned with Directx in C++, instead you just use MTV.dll as intermediary. And it supports almost all languages even Vb.net :). It is cheaper i think. But there is one problem. It supports DX8 and Dx9 I think. Not Dx10 or Dx11.

  • User profile image
    cherriemerr​ie

    @russel
    Might be worthwhile checking out SlimDX (http://slimdx.org/) with VB.NET?
    Personally, I still develop using the defunct MDX SDK Summer 2004. Good luck.

  • User profile image
    srikanth

    i knw a bit about ms visual basic 2005...
    my aim is to find a small game to show in my interviews that i developed a game to impress my interviewrs.....
    so any tell how to develop a small game using ms visual basic 2005 that no need to use sound apllications etc bt i just want to develop my own game so please help me to get a job

Add Your 2 Cents