Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Gah, where do I start?

  1. #1

    Gah, where do I start?

    I've been studying pascal in school for a semester and i've made a couple games in the console/ASCII

    I've made a game where a computer player chases you
    I've made a pong clone (Was easy for me)
    I've half-made space invaders (Got the shooting and the enemy)

    So a couple of questions,
    1) When am I ready to learn a graphics library or whatever you call it? Because the restrictions of the console are really getting to me.
    2) Should I be able to make a pac-man clone?
    3) What is a popular graphics library?
    4) This site confuses, is this the right board to post this on?

  2. #2

    Re: Gah, where do I start?

    Hi Serenok, welcome to the forums

    For graphics, I would recommend SDL (Simple Direct-media Library).

    You can get the SDL DLLs (windows), and .so files for linux here:

    http://www.libsdl.org/

    You can get freepascal/Delphi bindings for this here:

    http://sourceforge.net/projects/jedi-sdl/

    There are lots of tutorials around on the net, and the Jedi-SDL code comes with demos too

    With SDL, you can make programs what will work with minimal changes on Win32, Linux, Max OSX, and other platforms (even handheld devices like the gp2x).

    I hope this helps

    cheers,
    Paul

  3. #3

    Re: Gah, where do I start?

    Quote Originally Posted by paul_nicholls
    Hi Serenok, welcome to the forums

    For graphics, I would recommend SDL (Simple Direct-media Library).

    You can get the SDL DLLs (windows), and .so files for linux here:

    http://www.libsdl.org/

    You can get freepascal/Delphi bindings for this here:

    http://sourceforge.net/projects/jedi-sdl/

    There are lots of tutorials around on the net, and the Jedi-SDL code comes with demos too

    With SDL, you can make programs what will work with minimal changes on Win32, Linux, Max OSX, and other platforms (even handheld devices like the gp2x).

    I hope this helps

    cheers,
    Paul
    Thank you, what a nice reply.
    What should I be googling for tutorials on how to use these libraries?

  4. #4

    Re: Gah, where do I start?

    Well, they might be in C/C++, but this site seems to have good tutorials (see links on right-hand side).

    http://www.sdltutorials.com/

    should be easy to convert to Pascal format

    cheers,
    Paul

  5. #5

    Re: Gah, where do I start?

    Quote Originally Posted by paul_nicholls
    Well, they might be in C/C++, but this site seems to have good tutorials (see links on right-hand side).

    http://www.sdltutorials.com/

    should be easy to convert to Pascal format

    cheers,
    Paul
    That's actually good because I already know some C++ and will be switching over to it in a month or to.
    My knowledge of SDL would carry over, right?

  6. #6

    Re: Gah, where do I start?

    Your knowledge of SDL will be very handy even after you switch over - SDL still works the same way (or very close) in C/C++ as in Pascal with regards to how you use the routines

    The only thing that will changes is the names of some of the types of course

    PSDL_Surface in pascal and SDL_Surface in C I believe...

    cheers,
    Paul

  7. #7

    Re: Gah, where do I start?

    Quote Originally Posted by paul_nicholls
    Your knowledge of SDL will be very handy even after you switch over - SDL still works the same way (or very close) in C/C++ as in Pascal with regards to how you use the routines

    The only thing that will changes is the names of some of the types of course

    PSDL_Surface in pascal and SDL_Surface in C I believe...

    cheers,
    Paul
    Ok, well I downloaded the Jedi-SDL file and opened the demos but when I open the files (in bloodshed dev-pascal) it doesn't compile.
    Any tutorials on how to make the games (2d) work?

  8. #8

    Re: Gah, where do I start?

    Quote Originally Posted by Serenok
    Quote Originally Posted by paul_nicholls
    Your knowledge of SDL will be very handy even after you switch over - SDL still works the same way (or very close) in C/C++ as in Pascal with regards to how you use the routines

    The only thing that will changes is the names of some of the types of course

    PSDL_Surface in pascal and SDL_Surface in C I believe...

    cheers,
    Paul
    Ok, well I downloaded the Jedi-SDL file and opened the demos but when I open the files (in bloodshed dev-pascal) it doesn't compile.
    Any tutorials on how to make the games (2d) work?
    what error(s) did you get?

    cheers,
    Paul

  9. #9

    Re: Gah, where do I start?

    BTW, if you go to the Jedi-SDL forum:

    http://www.pascalgamedevelopment.com...php?board=23.0

    You might be able to find more help there

    Especially this topic (setup SDL for freepascal/lazarus though, not bloodshed dev-pascal):

    http://www.pascalgamedevelopment.com...p?topic=3973.0

    cheers,
    Paul

  10. #10

    Re: Gah, where do I start?

    Quote Originally Posted by paul_nicholls
    BTW, if you go to the Jedi-SDL forum:

    http://www.pascalgamedevelopment.com...php?board=23.0

    You might be able to find more help there

    Especially this topic (setup SDL for freepascal/lazarus though, not bloodshed dev-pascal):

    http://www.pascalgamedevelopment.com...p?topic=3973.0

    cheers,
    Paul
    Oh, well bloodshed dev-pascal is using freepascal it's just the program is bloodshed (if you know what I mean)

Page 1 of 3 123 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
  •