Hacker News new | past | comments | ask | show | jobs | submit login
Castle Game Engine: Cross-platform 3D and 2D game engine (github.com/castle-engine)
128 points by MindGods on July 5, 2020 | hide | past | favorite | 20 comments



Probably most interesting is the gallery (games using the engine): https://castle-engine.io/gallery_games.php


I thought that the most interesting thing was that it was in pascal! which I do have a bit of a soft spot for. It was my first "Real" language I learnt after Atari Basic/6502 asm, good ol Turbo Pascal


If you want to see more Pascal game code, a few months ago there was an MS-DOS game jam and i wrote a 3D adventure game in Free Pascal[0] :-). It comes with the source for the game and editor (the editor is in Lazarus).

I might do a proper submission to HN once i finish the OpenGL [1] and OUYA [2] ports. There is also a Windows port (this one is already available) that runs even on Win95, though it uses GDI so it isn't exactly fast (i might do a DirectDraw version at some point too).

[0] https://bad-sector.itch.io/post-apocalyptic-petra (scroll down for the downloads)

[1] https://i.imgur.com/xH9asnp.jpg

[2] https://i.imgur.com/NFOkDL6.jpg

[3] https://i.imgur.com/iOhcUtf.png


I love the aesthetic. I'm impressed.


Thanks :-).

The hardware accelerated versions will lose the "grittiness" of the software renderer, but i want to eventually have them working in my Voodoo 1 PC and such visual differences weren't uncommon at the time :-P.


how are you still working on ouya? is there an active community these days? (serious question)


Pascal was also my first real language after Basic. And never again. With all the modern languages available I just don't see the appeal.


I remember a lot of BBS games were done in Pascal. I remember want to learn it, but never did.


The most interesting part for me is that the scene graph is based on X3D, a successor to VRML: https://castle-engine.io/vrml_x3d.php


There is a Switch game on the list, which isn't a trivial thing.

Also, I did not expect to see Object Pascal as the scripting language!


You can use Pascal Script. Quite straightforward to embed in Delphi or in freepascal. It's also a component of the Lazarus IDE toolbox.

[1] https://wiki.lazarus.freepascal.org/Pascal_Script_Examples


Though note that Pascal Script is a bit limited - while you can use classes and methods exposed by the host application you can't declare your own classes and you are limited to using procedural style programming (but this is probably fine for most script uses).


This reminds me to libgdx. The first time I saw libgdx my first thought was that it was dead but after making some small games with it I discovered that the small community is very active and was really trying to grow and help each other. It was really nice never the less it was very small. So I will keep an eye out on this project. Maybe its a good option to do next ludum dare with.


Heh, not to be confused with https://castle.games, a lua/LOVE based gaming platform.


Or Castlemania Games, a retro gaming store.

https://castlemaniagames.com/


how is this compared to Godot?


At a very quick glance, less featured and Pascal. I'd expect to find more Godot resources online as well.


This is more of a framework whereas Godot is more of a tool.


seeing .php on the links .. I dunno about this one.


not this topic again...




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: