Results 1 to 6 of 6

Thread: Good 2D Pascal (FPC) Engine

  1. #1

    Good 2D Pascal (FPC) Engine

    Hey guys. I'm looking into switching to graphics for my game now, and I want to know, whats a good engine for 2D graphics? Would be good if some documentation came with it, just throw the ideas at me and I'll pick through them...

    Note: I don't care what features it has, or even if it's still in production- as long as its not a problem to update it to fix the problems, and is atleast usable with not too many bugs.

    Also, one more question..

    How difficult is it to write your own 2D engine? I'm making an RPG game, MagicRPG, and it's not easy... Text-Based is hard enough; but text just doesn't cut it anymore. I need atleast minimal graphics, but I'm wanting to fully make it graphical now. 2D, like already said, and in Pascal. It hopefully won't be OOP, because a) I'm not coding in OOP, and b) I don't really understand OOP.


    Thanks for all the help and input in advance, cause I'm gonna need it
    (NOTE: I would prefer the first question to be answered over the second)
    --MagicRPG--

  2. #2

    Good 2D Pascal (FPC) Engine

    I think it would be wise to take this time between projects to understand OOP. Your games and other projects will benefit from it in the long run.
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  3. #3

    Good 2D Pascal (FPC) Engine

    Besides, it'll be hard to find such engine or even library that doesn't require OOP knowlegde. There is one however, it's called VGFX . Win32 version isn't developed. There is a compiler directive wihtin the code that should allow you to use it in FPC 2.x, it worked under 2.0.0 for me. This directive also means that you can't benefit from Freepascal new features... You better do as savage says, object pascal is really easy, and when you learn enough you can try Jedi-SDL or Phoenix and write an outstading 2d crossplatform RPG game with fxs, ogg sound etc.

  4. #4

    Good 2D Pascal (FPC) Engine

    {$calling oldfpccall} does not prevent you from using new features. In fact, FPC is really good at combining old and new code.

  5. #5

    Good 2D Pascal (FPC) Engine

    Theres really no time between projects, as I'm still working on the game. However, my problem, is that if I switch my game to OOP, it will be more than tons of work- I basically will have to rewrite the entire 5500 lines, to restructure it.

    Not fun.

    I've looked at OOP too, but I cannot understand it very well... I really can't understand tutorials, because I simply cannot learn without the questions I have being answered. As an example...

    It took me nearly a year to learn Pascal using Turbo Pascal... A year to learn how to write to screen and I still couldn't properly read from a file. I could barely write to a file... And I had no clue as to structuring of programs. Still don't. This is my first programming language, after all.

    Now, if someone is willing to atleast teach me the basics, over like MSN or IRC, I would be very pleased, because I could then learn OOP much much easier, and quicker...

    So you see, if I take the time between projects to learn OOP, it will be at minimum 2 months before I can even write a simple OOP program... I expected within 2 months to be working on the project again, and have it in the process of switching to graphics.

    So indeed, unless someone teaches me OOP, it's out of the question for now...

    Can VGFX make NEW graphics, and not look like DOS? Because if it looks like DOS, there is no point in using it- I might as well stick with text.
    --MagicRPG--

  6. #6

    Good 2D Pascal (FPC) Engine

    If you are looking for a cross-platform solution that definitely works on Win32 and Linux and should also work on MacOS X, you should look at cairnswm project S2DL ( http://thegamedeveloper.co.za/?page_id=61 ).
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

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
  •