Closed Thread
Results 1 to 5 of 5

Thread: Darts in delphi

  1. #1
    Amonijack is offline Learning Programmer
    Join Date
    Apr 2009
    Posts
    56
    Rep Power
    0

    Darts in delphi

    It is posible to make this game in delphi ?
    does anybody made darts in delphi ? Some algoritm ?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    alienkinetics's Avatar
    alienkinetics is offline Programmer
    Join Date
    Feb 2010
    Location
    Australia
    Posts
    154
    Rep Power
    0

    Re: Darts in delphi

    Some reasons why you wouldn't want to write a game in Delphi are:

    1) You dont like Pascal (Lots of people prefer C/C++)
    2) You want the game to run in a browser (Use Java or Flash)
    3) You want the game to run on a mobile phone (Use J2ME)
    4) You want the game to be portable (Use C/C++ with OpenGL)
    5) You want a IPhone game (Um, suck an Apple)
    6) You want a retro game (Learn the assembly language. ie: 6502, Z80)

    As for an algorithm, gezz, um. the player moves the mouse for a starting X, Y and then holds and release the mouse to throw dart.

    Id use the length of time the mouse was held down to indicate not only exit velocity, but also flight trajectory (angle) to simulate.

    There was an old educational game that had a tank. It was a side view game. You had to enter the angle and power and the tank would shoot a rocket. If you missed the target, you would have to either change your power or angle. I think there was another tank shooting back at you.

    Anyway, This would be similar, except your have X, Y and Z so you know where on the dart board you hit.

    Tank Game

    Maybe add some beer, chicks and bar fights to make the game more relistic.

  4. #3
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: Darts in delphi

    Is it possible? Sure. However, you need to look at what version of Delphi you are using (especially .NET vs non-.NET), what type of graphics you want to use (sprites, DirectX, other), and how you want the game to work.

    Before we can discuss algorithms too much, you really need to figure out some sketches (on paper!) of how you want it to work. alienkinetics has offered one way the gameplay might be done, but you'll have to spend more time on that than worrying about algorithms/implementation right now. That can be figured out later.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  5. #4
    Firebird_38 is offline Programmer
    Join Date
    Aug 2008
    Posts
    126
    Rep Power
    0

    Re: Darts in delphi

    I think the more important question than "How do I make it?" would be "How can I get anyone to play it?". That might prove a lot harder than making it. Even throwing real darts tends to get old fast for most of us.

  6. #5
    alienkinetics's Avatar
    alienkinetics is offline Programmer
    Join Date
    Feb 2010
    Location
    Australia
    Posts
    154
    Rep Power
    0

    Re: Darts in delphi

    Quote Originally Posted by Firebird_38 View Post
    I think the more important question than "How do I make it?" would be "How can I get anyone to play it?".
    O, thats easy!

    Call it Wii Fit Darts and make millions telling people that playing virtual darts is a fitness activity.

    Im waiting for Wii Sex myself. I played the "hula hoop" on Wii the other day. i think chicks do it better

    Win a Wii Fit Bundle [A GUYS HULA HOOP PERSPECTIVE]
    Buzz PHP Class Library - Web Components Made Easy!
    http://www.buzzphp.com/

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. More about Delphi
    By abdulrauf in forum Pascal and Delphi
    Replies: 1
    Last Post: 02-09-2011, 02:12 AM
  2. Delphi UPX Help
    By KenTheFurry in forum Pascal and Delphi
    Replies: 6
    Last Post: 06-06-2008, 08:27 AM
  3. migration from of app delphi 2 to delphi 7
    By porno.shome in forum Pascal and Delphi
    Replies: 3
    Last Post: 04-22-2008, 08:57 AM
  4. Delphi help
    By Nefrit in forum Pascal and Delphi
    Replies: 2
    Last Post: 02-25-2008, 12:15 PM
  5. What is Delphi?
    By dirkfirst in forum Pascal and Delphi
    Replies: 6
    Last Post: 07-07-2006, 10:11 PM

Tags for this Thread

Bookmarks

Posting Permissions

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