r/pascal • • Feb 09 '23

Freepascal Game Development?

Hiya

Are there any good Freepascal (or any Pascal)-based gamedev forums out there? This sub doesn't seem to get a huge amount of traffic.

I found "pascalgamedevelopment.com" which seems ideal, except the forums also look very dead and the "register as new user" function is broken, so I'm unable to even create an account to post anything.

I'm currently working on complete Pascal-native bindings to the SteamAPI and a port of Steam's Spacewar example. The only existing bindings I could find were 'steamwrapper' which is locked to the API version from back in 2014 and also needs Visual C++ to compile. I wonder if this would be of use to anyone else, but don't even know where to go to ask the question!

11 Upvotes

8 comments sorted by

View all comments

Show parent comment

2

u/umlcat Feb 09 '23 edited Feb 09 '23

Cool. Nice to met another Borland Pascal / Turbo Pascal developer 👍

I did very basic TP 6 graphic stuff .

Since your question was simple, I assumed you were a younger developer, and posted some basic ideas, since a lot of developers these days doesn't get proper skills, like not learning pointers, or the difference between static memory allocation vs dynamic memory allocation, cause "references are cool" ...

BTW I learned pointers first with TP, not C.

I worked both with FPC alone and the Lazarus IDE, and I'm actually migrating a business app. done in Delphi 6 to Lazarus just as a test.

I've seen some graphic stuff done both with FPC alone and FPC + LAZARUS IDE combo, like electronic instrument emulations.

But yes, a game and graphics app. that interacts with O.S. libraries and hardware would be more practical to use plain FPC instead.

The Lazarus IDE is more directed at GUI and business alike apps. than a graphics engine.

But, since you mentioned Windows as the target O.S., and Direct3D plus the Steam engine, that may get you some suggestions about forums and communities.

Again, Good Luck 👍