Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Hello! (New to Pascal where can I start?)

  1. #1

    Hello! (New to Pascal where can I start?)

    Hello!

    i have one idea of create a gem but, I don't know very much of Delphi. I think...

    Is there any package that englobe delphi and all components to do games?

    Similar that Gamemaker but wich more functionlly and development.

    Thanks for all

    And I'm sorry for my bad english.

  2. #2

    Hello! (New to Pascal where can I start?)

    There are plenty pascal-libraries available. Coding with pascal is harder than using the drag-drop gamemaker interface, but it gives you tons of extra possibilities.
    You must ask yourself some questions first:

    >> Do you want to use OpenGL or DirectX?
    with openGL you can make cross-platform games, and it also tends to be a bit easier to learn. DirectX is harder and windows-only, but is the standard for commercial games. DirectX also includes sound, input and networking modules.

    >> Do you want to make 2d or 3d games?
    2d games are a lot easier and don't require as much math as 3d games do.

    So here are some lib's for ya :

    UnDelphiX (2D using Direct3d)
    Asphyre (3d using directX)
    Necro3d (3d using DirectX)
    pascal-headers for SDL (OpenGL based... not quite sure :? )
    GLScene (3d with OpenGL)

    You could also start from the scratch by using
    Clooties DX headers or you could start learning openGL.
    But this is a lot harder and requires much time.

    Good luck
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  3. #3
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Hello! (New to Pascal where can I start?)

    Hi turminator.

    Truthfully, if you want to use Pascal or Object Pascal to make a game, you're going to have to learn how to program. There is no way around it.

    Good news is that it's easier to learn than most other languages.


    Now if you've gotten at least the basics of the Pascal or Object Pascal language(s) down, then the above will be able to help you out making your first few game projects.

    For a beginner [size=9px](who does not have a lot of programming knowledge)[/size], I'd recommend either UnDelphiX [size=9px](only if you have a version of Delphi that supports components)[/size], Asphyre, GLScene or JEDI-SDL [size=9px](supports all the 'big' compilers!)[/size] as a starters library. You eventually may want to move away to other ones as you learn more.

    Each of these use different API [size=9px](Application Programming Interface)[/size] for graphics, input [size=9px](mouse/joysticks)[/size] and sound.

    The main 3 that are commonly used for graphics are: DirectX, OpenGL and SDL.

    For sound there's: DirectX, OpenAL [size=9px](made as a 3rd party compliment to OpenGL)[/size] and others like BASS & FMOD.

    Here is what they use...

    UnDelphiX: (mainly DirectX 9)

    2D Graphics -- DirectDraw/Direct3D
    3D Graphics -- Direct3D (but weak implimentation)
    Input -- DirectInput
    Sound -- DirectSound
    Networking -- DirectPlay

    Asphyre: (mainly DirectX 9)

    2D/3D Graphics -- DirectDraw/Direct3D
    Input -- DirectInput
    Sound --

    GLScene:

    3D Graphics -- OpenGL
    Sound -- BASS/FMOD
    Input --

    JEDI-SDL: (mainly SDL)

    2D Graphics -- sdl
    3D Graphics -- OpenGL
    Input -- sdl
    Sound -- sdl_mixer
    Networking -- sdl_net
    Video -- smpeg


    If I missed any, someone please let me know.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  4. #4

    Hello! (New to Pascal where can I start?)

    Ok!

    Thanks for all information chronozphere.

    Now I know that I would do:

    - 2D game
    - multi across plataform (Using OpenGL)

    I see Jedi and it's good. The next trouble is which program you recommend me:

    I only know Borland Delphi (but isn't free)

    Exists other option?

    Thanks a lot!

  5. #5
    PGD Community Manager AthenaOfDelphi's Avatar
    Join Date
    Dec 2004
    Location
    South Wales, UK
    Posts
    1,245
    Blog Entries
    2

    Hello! (New to Pascal where can I start?)

    FreePascal with Lazarus is a viable alternative to Delphi and the environment shouldn't be too different from what you're used to (at least thats how I understand it).
    :: AthenaOfDelphi :: My Blog :: My Software ::

  6. #6
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Hello! (New to Pascal where can I start?)

    Yes, Lazarus is a very nice FREE environment for Object Pascal and you'll be able to support most major PC platforms. [size=9px](and a few others that none of the other compilers will support, GameBoy Advance, Nintendo DS, MacOSX, etc)[/size]

    But if you are set on Delphi there is Turbo Delphi versions that are still available from CodeGear.

    And perhaps to help get you started Nick Hodges has a bunch of Flash Tutorials on his blog site: http://blogs.codegear.com/nickhodges...les/26687.aspx
    Jason McMillen
    Pascal Game Development
    Co-Founder





  7. #7
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537

    Hello! (New to Pascal where can I start?)

    The way I make games is to create them in Delphi which has a very nice and user friendly IDE but at the same time ensuring that my code will compile with FreePascal. This allows my games to be cross platform while letting me code in the more user friendly developent environment.

    If you are just starting off with game development I would strongly suggest that you do NOT start with just the DirectX or OpenGL header files. I've been making games for over 5 years and I still dont understand the various header files.

    Start with a component set that will allow you to make games easily. My suggestins would be UnDelphiX , Asphyre as suggested above or S2DL which are similat wrappers for SDL.
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

  8. #8

    Re: Hello! (New to Pascal where can I start?)

    I'm going to have to take the opposite view to the last few posts. Don't even try to work with Lazarus if you value your sanity. Yes, it's "mostly" compatible with Delphi. But it has no support for some of the most useful features, such as Packages (no plugins for you!) and Frames (a very useful way to divide a form up into reusable sub-groups.) Also, the debugger is a real pain to work with.

    I was at the Delphi Live conference last week, and they showed off a demo of a working Delphi compiler for OSX. They're working on a cross-platform compilation system for Delphi, and it's making a lot of progress. Lazarus has cross-platform development for years now, but I haven't seen them actually make any progress on rectifying the crippling lack of features that makes it useless for serious development. You need cross-platform and a strong feature set to write cross-platform software, and to be honest, my money's on CodeGear reaching the point where they have both long before the Lazarus people do.

    I love open-source software, when it's done right. Sadly, Lazarus is almost a textbook example of how to do it wrong.

  9. #9

    Re: Hello! (New to Pascal where can I start?)

    Mind you the OP's question dates back 2 years.

  10. #10

    Re: Hello! (New to Pascal where can I start?)

    Quote Originally Posted by Traveler
    Mind you the OP's question dates back 2 years.
    Oh wow. I didn't even notice that. I found the post at the top of the page...

Page 1 of 2 12 LastLast

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
  •