Recent

Author Topic: Graphics and Sprites  (Read 2379 times)

freedom71

  • New member
  • *
  • Posts: 7
Graphics and Sprites
« on: July 01, 2021, 07:17:48 pm »
Hi there!

I'm new to Pascal Programming, I program in C++ but what I wanted to do was a 2d game with FreePascal... Is it possible? I would like to have a complete documentation...

Thanks for the reply... :)

Handoko

  • Hero Member
  • *****
  • Posts: 5149
  • My goal: build my own game engine using Lazarus
Re: Graphics and Sprites
« Reply #1 on: July 01, 2021, 07:48:54 pm »
I program in C++ but what I wanted to do was a 2d game with FreePascal... Is it possible?

Yes, of course you can create 2D even 3D games using Free Pascal. Pascal syntax is easy to understand, I believe you will find doing games in Pascal is easier than in C++.

Have you consider to use Lazarus? Lazarus is a combination of Free Pascal Compiler + a powerful IDE + some useful units. It is a powerful combination to create games and GUI applications.

The documentation for doing games in Pascal is rare to find. Most of them only explain a small topic in game programming.

If you are new in Lazarus and interested to learn about some basic graphics tricks, try this:
https://wiki.freepascal.org/Portal:HowTo_Demos#Graphics

If you want to see some simple games created using Lazarus/FPC, here:
https://forum.lazarus.freepascal.org/index.php/topic,35313.0.html

And this is the game portal for Lazarus/FPC:
https://wiki.freepascal.org/Portal:Game_Development

freedom71

  • New member
  • *
  • Posts: 7
Re: Graphics and Sprites
« Reply #2 on: July 01, 2021, 09:18:44 pm »
Thank you very much for your reply !

I'm going to see your links ...

I have already seen ZenGL ...

Thank you!
Great support!

 

TinyPortal © 2005-2018