Don't see the feature you need? Tell us on the forum:)
If you would like to see some feature implemented sooner, please support the engine development on Patreon!
As for the Delphi version:
This will the free version of Delphi available as Delphi Starter Edition. I'll port (and maintain compatibility) with the latest Delphi Starter Edition available. Embarcadero seems willing to update the Delphi Starter Edition with each new version of Delphi, which is quite great.
Of course, bugreports and patches to fix support for any other Delphi version are also always welcome.
If someone wants to sponsor another Delphi version, then I can maintain a port to it too.
I'm afraid that any commercial edition of Delphi costs a lot, so I cannot afford to buy it on my own. Especially since, personally, I usually work on Linux with FPC + Lazarus these days:)
Prototype of a visual editor.
Fully working visual editor (release 6.8)
I outlined my details in this post. I want to edit things within Lazarus and Delphi (like GLScene and FireMonkey 3d), and I want to have a standalone editor (like Unity3d), and I want to edit at runtime too. And I think we can do it:)
More integration with physics engine. The details are listed in the manual about physics.
Mobile view3dscene (as Android and iOS application)
Associated with X3D and other 3D / 2D formats that the view3dscene (and Castle Game Engine) handles. Available in the App Store / Google Play Store. For free or for 1 USD (not sure yet; but definitely without ads, I really dislike ads).
I have not decided yet whether it would be based on our view3dscene source code, as desktop "view3dscene" contains a ton of GUI features that would not work comfortably on Android / iOS. Instead, we can develop a simple application that allows to open files, switch navigation type, turn on/off collisions and make screenshots (features that are available through the current view3dscene toolbar).
glTF format support
It supports meshes, advanced materials, animations. The file format is a readable JSON, but additional binary files are used to transfer coordinates, so it's fast to load from disk straight to GPU. It's also a Khronos format, so it's developed by people who really know what they are doing (the same people develop OpenGL[ES] and WebGL, Vulkan, KTX, Collada ...).
Because of this, it may (or already is?) become a widely supported 3D format across a range of 3D software. So we want to have really good support for it — reading all the features (including animations), and preserving the efficiency of binary-encoded meshes (to do this, we will probably invent some new X3D nodes).
Easily design a height map (X3D ElevationGrid node, with trees, rocks, grass). Saved and loaded as an X3D file.
Implementing this feature will most likely be split into a couple of small releases:
Edit the heights.
Edit the grass and trees and rocks.
Efficiently render huge amounts of grass and trees and rocks.
Implement nice shaders to show it, like this BareGame example.
What we have now: The engine includes a unit
CastleTerrain to generate terrains in various ways (most notably, from smoothed random noise). We have
examples/terrain/ demo to play around with it. We have the "Wyrd Forest" game that also uses
CastleTerrain, and also includes a simple editor of terrain settings.
What we need: Visual, interactive editor for the
ElevationGrid (the thing you get from
TTerrain.Node call). To make hills, valleys in a comfortable way. And comfortably plant there stuff (rocks, grass, trees...).
Blender X3D exporter improvements
Current Blender X3D exporter doesn't support animations, configuring collisions (X3D Collision node), 3D sound sources and more. We would like to fix it!:) This will be useful for everyone using Blender and X3D, not only with our engine.
Android Cardboard (VR)
Maybe also other VR devices — depending on demand, and our access to test devices.
Ready components to replicate data over the Internet
Allowing to trivially get multi-playter functionality in your games.
Maybe Metal renderer. Only maybe, as it's an API used by only one platform — iOS. So far, OpenGLES serves us good on iOS. In practice, this depends on the future, how much will Metal matter in a few years.
Maybe Direct3D renderer. Only maybe, as it's an API used only on Windows. So far, OpenGL serves us good. The rare platforms where OpenGL had problems on Windows are 1. really old right now (really old Intel GPUs), 2. we can consider using an OpenGLES->Direct3D bridge, like ANGLE, for them.
Help with this is most welcome. We have a simple example code that shows how you can start a new renderer: see new_renderer_skeleton.lpr. So get the engine from GitHub, and start changing the
new_renderer_skeleton.lpr. Just fill the
Larger scene processing and rendering improvements:
To smoothly fade in/out animation, with cross-fade between animations, for things played by TCastleScene.PlayAnimation.
Animation cross-fade time for creatures from resource.xml files could be configured using a CastleScript expression, so values like this could be possible:
fade_duration="0.5" fade_duration="animation_duration * 0.1" fade_duration="min(animation_duration * 0.25, target_animation_duration * 0.25, 0.5)"
Batching of shapes that have equal appearance for start, to optimize the rendering.
Make TCastleScene, T3DTranform and friends to be special X3D nodes
This would make the whole scene manager a single graph of X3D nodes, allowing for more sharing in code. The T3DTranform would be just like TTransformNode, but a little diferently optimized (but it would become toggable).
Make TCastleScene descend from T3DTranform?
SceneManager.MainScene to have some transformation
(right now, it's not 100% correct).
WebGL (HTML5) support
But this waits for the possibility from FPC to recompile to web (that is, JS or WebAsembly, probably through LLVM). Then our engine will jump on to the web platform. (Unlike the current web plugin, which is soon deprecated by all browsers, unfortunately.)
With a designer, probably.
Probably following the X3D "particle system" component, so it will be saved and loaded as an X3D file.
Example usage: blood, snow, rain, fire, smoke... 2D, 3D.
It would be nice to be able to export Blender particle engine to it, but possibly it's not really doable (different particle physics in Blender than X3D, we should go with own designer following more X3D).
Support Material.mirror field for OpenGL rendering
An easy way to make planar (on flat surfaces) mirrors. Just set Material.mirror field to something > 0 (setting it to 1.0 means it's a perfect mirror, setting it to 0.5 means that half of the visible color is coming from the mirrored image, and half from normal material color).
Disadvantages: This will require an additional rendering pass for such shape (so expect some slowdown for really large scenes). Also your shape will have to be mostly planar (we will derive a single plane equation by looking at your vertexes).
Advantages: The resulting mirror image looks perfect (there's no texture pixelation or anything), as the mirror is actually just a specially rendered view of a scene. The mirror always shows the current scene (there are no problems with dynamic scenes, as mirror is rendered each time).
This will be some counterpart to current way of making mirrors by RenderedTexture (on flat surfaces) or GeneratedCubeMap (on curvy surfaces).
Make a demo showing how to use Castle Game Engine together with RNL - a real-time network library, in Pascal, very suitable for games, by Benjamin Rosseaux.
Advanced networking support
Basic networking support is working already, see the manual.
Missing features / ideas:
Bear in mind that future engine version should work under both FPC and Delphi, so choosing one library that works under both FPC and Delphi is a plus.
So that you don't need to hang waiting for download.
The API design is already inside
look for the line "API for asynchronous downloader is below, not implemented yet".
Using threading (
TThread) to implement this is optional, as you can update the data
ApplicationProperties.OnUpdate in the main thread
(if only you use non-blocking API like LNet).
Note that you need to use non-blocking API anyway (as we must be able to cancel
the ongoing download, and you cannot instantly unconditionally terminate a running
Using threads may still be reasonable for efficiency (no need to slow down
the main thread), but then it should be 100% invisible to
the user of
TDownload class. From the point of view
of engine user, the
TDownload must be available in the main thread.
This will also enable cancelling the ongoing download.
Maybe add a "cancel" button to
CastleWindowProgress to cancel
ongoing view3dscene downloads.
(Low priority) Support for
ftp. By using LNet or Synapse, unless
something ready in FPC appears in the meantime.
Both LNet (through LFtp unit) and Synapse (FtpGetFile) support ftp.
(Low priority) Support for HTTP basic authentication. This can be done in our CastleDownload unit. Although it would be cleaner to implement it at FpHttpClient level, see this proposal. Or maybe just use LNet or Synapse, I'm sure they have some support for it.
(Low priority) Support X3D
(Low priority) Caching on disk of downloaded data. Just like WWW browsers, we should be able to cache resources downloaded from the Internet.
Note: don't worry about caching in memory, we have this already, for all URLs (local files, data URIs, network resources).
Easy way to use 3rd-person camera movement in your games