# Uncategorized

**URL:** https://forum.castle-engine.io/c/uncategorized/1.md

[Latest](https://forum.castle-engine.io/latest.md) · [Categories](https://forum.castle-engine.io/categories.md)

---

## [Forum Guidelines](https://forum.castle-engine.io/t/forum-guidelines/28)

<div class="topic-metadata">

**Author:** [@michalis](https://forum.castle-engine.io/u/michalis)\
**Replies:** 0\
**Last updated:** [January 12, 2019, 6:38am UTC](https://forum.castle-engine.io/t/forum-guidelines/28 "2019-01-12T06:38:55Z")

</div>

How to Best Get Help Clearly state the problem you need to solve. Mention your Operating System (OS), the version of Free Pascal Compiler (FPC), Lazarus and Castle Game Engine (CGE). Provide a piece of code to re…

---

## [Welcome to the Castle Game Engine forum](https://forum.castle-engine.io/t/welcome-to-the-castle-game-engine-forum/7)

<div class="topic-metadata">

**Author:** [@system](https://forum.castle-engine.io/u/system)\
**Replies:** 3\
**Last updated:** [January 24, 2019, 7:42pm UTC](https://forum.castle-engine.io/t/welcome-to-the-castle-game-engine-forum/7 "2019-01-24T19:42:43Z")

</div>

This is a place to discuss anything related to Castle Game Engine, an open-source cross-platform game engine for Object Pascal. If you’re looking for help, check out also our documentation: Getting Started Manual (ser…

---

## [Unable to Install the Web Platform or Update FPC Using FPCUpDeluxe](https://forum.castle-engine.io/t/unable-to-install-the-web-platform-or-update-fpc-using-fpcupdeluxe/2208)

<div class="topic-metadata">

**Author:** [@Hamid](https://forum.castle-engine.io/u/Hamid)\
**Replies:** 3\
**Last updated:** [October 4, 2026, 12:42pm UTC](https://forum.castle-engine.io/t/unable-to-install-the-web-platform-or-update-fpc-using-fpcupdeluxe/2208 "2026-10-04T12:42:34Z")

</div>

Hi, I have been using the latest version of FPCUpDeluxe for quite some time, and I installed FPC 3.2.2 successfully. However, I cannot install the Web platform for this FPC version, so I cannot build a web target with …

---

## [3D particle system (Now with full support for 2D and castle-editor)](https://forum.castle-engine.io/t/3d-particle-system-now-with-full-support-for-2d-and-castle-editor/406)

<div class="topic-metadata">

**Author:** [@kagamma](https://forum.castle-engine.io/u/kagamma)\
**Replies:** 20\
**Last updated:** [September 23, 2026, 5:01pm UTC](https://forum.castle-engine.io/t/3d-particle-system-now-with-full-support-for-2d-and-castle-editor/406 "2026-09-23T17:01:57Z")

</div>

Previous thread Thanks to castle-editor’s recent developments, now it is possible to edit particle effects directly inside castle-editor! This release also introduce several new features: You can now use MiddlePar…

---

## [Dragging items between various UIs](https://forum.castle-engine.io/t/dragging-items-between-various-uis/2206)

<div class="topic-metadata">

**Author:** [@kagamma](https://forum.castle-engine.io/u/kagamma)\
**Replies:** 6\
**Last updated:** [September 14, 2026, 11:47am UTC](https://forum.castle-engine.io/t/dragging-items-between-various-uis/2206 "2026-09-14T11:47:18Z")

</div>

I am trying to implement item dragging between various UI. The issue is that if I trigger a Press event and start dragging, the Motion and Release events only fire for the UI that the item originally belonged to, and not…

---

## [About TCastleTransform Remove from TCastleViewport](https://forum.castle-engine.io/t/about-tcastletransform-remove-from-tcastleviewport/2202)

<div class="topic-metadata">

**Author:** [@pascalboy](https://forum.castle-engine.io/u/pascalboy)\
**Replies:** 6\
**Last updated:** [August 29, 2026, 5:49pm UTC](https://forum.castle-engine.io/t/about-tcastletransform-remove-from-tcastleviewport/2202 "2026-08-29T17:49:00Z")

</div>

when game over check Clear All TCastleTransform; First : TCastleTransformend.Exists:= false; Secound : TCastleTransform.Update(const SecondsPassed: Single; var RemoveMe: TRemoveType); RemoveMe := rtRemove; First = S…

---

## [Shadow maps in 2026?](https://forum.castle-engine.io/t/shadow-maps-in-2026/2184)

<div class="topic-metadata">

**Author:** [@edj](https://forum.castle-engine.io/u/edj)\
**Replies:** 5\
**Last updated:** [August 1, 2026, 11:52pm UTC](https://forum.castle-engine.io/t/shadow-maps-in-2026/2184 "2026-08-01T23:52:56Z")

</div>

Hi guys, glad to see you are all still here and keeping busy. I have taken about a year off working on my project. I was hoping that in that time progress has been made on the shadow maps to make them natural and easy t…

---

## [Updating Progress Label During Long Calculation in Start](https://forum.castle-engine.io/t/updating-progress-label-during-long-calculation-in-start/2130)

<div class="topic-metadata">

**Author:** [@Hamid](https://forum.castle-engine.io/u/Hamid)\
**Replies:** 17\
**Last updated:** [July 18, 2026, 11:18pm UTC](https://forum.castle-engine.io/t/updating-progress-label-during-long-calculation-in-start/2130 "2026-07-18T23:18:10Z")

</div>

I have a loop and a 10-second pause for calculations in Start. I run it inside WaitForRenderAndCall. I also have a label to display the progress percentage. But since the Update event is not called, I tried to update t…

---

## [Effekseer 1.80.5](https://forum.castle-engine.io/t/effekseer-1-80-5/2181)

<div class="topic-metadata">

**Author:** [@kagamma](https://forum.castle-engine.io/u/kagamma)\
**Replies:** 5\
**Last updated:** [July 10, 2026, 8:06pm UTC](https://forum.castle-engine.io/t/effekseer-1-80-5/2181 "2026-07-10T20:06:06Z")

</div>

I’ve add support for latest effekseer version (1.80.5). Download link: Release 1.80.5 · Kagamma/cge-effekseer · GitHub (Only Windows is included for now, I will add other platforms later) For existing projects, since …

---

## [Excerpts from WEB-build and Itch.io deploy of CGE Project journey](https://forum.castle-engine.io/t/excerpts-from-web-build-and-itch-io-deploy-of-cge-project-journey/2125)

<div class="topic-metadata">

**Author:** [@phomm](https://forum.castle-engine.io/u/phomm)\
**Replies:** 22\
**Last updated:** [June 14, 2026, 10:20pm UTC](https://forum.castle-engine.io/t/excerpts-from-web-build-and-itch-io-deploy-of-cge-project-journey/2125 "2026-06-14T22:20:09Z")

</div>

Following the topic of my game Tower Fight, Samurai Arcade for testing math Skills - #4 by michalis and stealing a good topic naming from topic Excerpts from the Shooter development journey :) - #14 by hal09 Here what…

---

## [CGE does not cache fonts with similar URL, size and charset?](https://forum.castle-engine.io/t/cge-does-not-cache-fonts-with-similar-url-size-and-charset/2005)

<div class="topic-metadata">

**Author:** [@kagamma](https://forum.castle-engine.io/u/kagamma)\
**Replies:** 3\
**Last updated:** [June 10, 2026, 5:30pm UTC](https://forum.castle-engine.io/t/cge-does-not-cache-fonts-with-similar-url-size-and-charset/2005 "2026-06-10T17:30:13Z")

</div>

I haven’t verified it yet and am basing my assumption on the log, but it seems that if I load UIs designed from separate .castle-user-interface files with their own TCastleFont, CGE will create a new font texture even if…

---

## [UI: List Box for all](https://forum.castle-engine.io/t/ui-list-box-for-all/2145)

<div class="topic-metadata">

**Author:** [@Recongalina](https://forum.castle-engine.io/u/Recongalina)\
**Replies:** 2\
**Last updated:** [May 21, 2026, 5:54pm UTC](https://forum.castle-engine.io/t/ui-list-box-for-all/2145 "2026-05-21T17:54:33Z")

</div>

Hi everyone! I made a special widget the list box for my project. I decided to publish it as a separate project. So, feel free to use it if anyone needs it. There are four types of List Boxes: regular, with check…

---

## [My project: Training Timer 2: Zero Time](https://forum.castle-engine.io/t/my-project-training-timer-2-zero-time/2136)

<div class="topic-metadata">

**Author:** [@Recongalina](https://forum.castle-engine.io/u/Recongalina)\
**Replies:** 8\
**Last updated:** [May 8, 2026, 5:37pm UTC](https://forum.castle-engine.io/t/my-project-training-timer-2-zero-time/2136 "2026-05-08T17:37:08Z")

</div>

Well, I don’t even know why, but I really wanted to make this project. It’s a timer for different periods of training like as boxing, swimming, or anything else. Supported platforms: Windows and Android. Here is on it…

---

## [\[solved\] Error on compiling to web](https://forum.castle-engine.io/t/solved-error-on-compiling-to-web/2146)

<div class="topic-metadata">

**Author:** [@Carring](https://forum.castle-engine.io/u/Carring)\
**Replies:** 11\
**Last updated:** [May 7, 2026, 3:20pm UTC](https://forum.castle-engine.io/t/solved-error-on-compiling-to-web/2146 "2026-05-07T15:20:30Z")

</div>

I tried to compile my game code to web but get this error: So it something has to do with the used fonts?

---

## [Problems installing Castle Game Engine (Lazarus 2.0.2, and later Lazarus 4.2 + FPC 3.2.2 via OPM and fpcup)](https://forum.castle-engine.io/t/problems-installing-castle-game-engine-lazarus-2-0-2-and-later-lazarus-4-2-fpc-3-2-2-via-opm-and-fpcup/122)

<div class="topic-metadata">

**Author:** [@aiodev](https://forum.castle-engine.io/u/aiodev)\
**Replies:** 6\
**Last updated:** [April 23, 2026, 2:44am UTC](https://forum.castle-engine.io/t/problems-installing-castle-game-engine-lazarus-2-0-2-and-later-lazarus-4-2-fpc-3-2-2-via-opm-and-fpcup/122 "2026-04-23T02:44:41Z")

</div>

Hello everyone, everything good ? How much time. I went back to using Lazarus (2.0.2 - win32), and went to install Castle Engine (6.5-win32-i386). So far everything went well when installing, except that, after rebuild…

---

## [Came up across this https://itch.io/suggest-a-tool](https://forum.castle-engine.io/t/came-up-across-this-https-itch-io-suggest-a-tool/2142)

<div class="topic-metadata">

**Author:** [@phomm](https://forum.castle-engine.io/u/phomm)\
**Replies:** 1\
**Last updated:** [April 13, 2026, 8:49pm UTC](https://forum.castle-engine.io/t/came-up-across-this-https-itch-io-suggest-a-tool/2142 "2026-04-13T20:49:30Z")

</div>

I think it could bring a little value to engine recognition Not sure if I can do it on behalf of CGE, but I could take everything from itch page of CGE to add it to itch tools DB, and then I will use it to fill in corre…

---

## [Custom component. Doesn't show on basic tap](https://forum.castle-engine.io/t/custom-component-doesnt-show-on-basic-tap/2141)

<div class="topic-metadata">

**Author:** [@BlueIcaro](https://forum.castle-engine.io/u/BlueIcaro)\
**Replies:** 4\
**Last updated:** [April 13, 2026, 7:24am UTC](https://forum.castle-engine.io/t/custom-component-doesnt-show-on-basic-tap/2141 "2026-04-13T07:24:13Z")

</div>

Hello, I making a Custom Component, but the properties doesnt show in basic tap. I got this: public const DefaultDistancia = 50; property Direccion: TVector3 read Fdireccion write Setdireccion; property Velocidad: …

---

## [Android: How to prevent а device from going to sleep?](https://forum.castle-engine.io/t/android-how-to-prevent-device-from-going-to-sleep/2133)

<div class="topic-metadata">

**Author:** [@Recongalina](https://forum.castle-engine.io/u/Recongalina)\
**Replies:** 7\
**Last updated:** [March 27, 2026, 5:29pm UTC](https://forum.castle-engine.io/t/android-how-to-prevent-device-from-going-to-sleep/2133 "2026-03-27T17:29:45Z")

</div>

Hello to All! I’m making a workout timer for Android. For such an app, it’s crucial that the screen doesn’t turn off while the counting is in progress. So my first question is: how can I prevent the screen from turning…

---

## [Problem prepare tool-chain to building a CGE project for Android](https://forum.castle-engine.io/t/problem-prepare-tool-chain-to-building-a-cge-project-for-android/2131)

<div class="topic-metadata">

**Author:** [@Recongalina](https://forum.castle-engine.io/u/Recongalina)\
**Replies:** 11\
**Last updated:** [March 27, 2026, 4:16pm UTC](https://forum.castle-engine.io/t/problem-prepare-tool-chain-to-building-a-cge-project-for-android/2131 "2026-03-27T16:16:36Z")

</div>

Hi everyone! Today I wanted to try compiling a CGE project for Android. I’m following this guide. However, I can’t figure out how to tell the engine where my Android SDK is. I downloaded “Android Studio Panda 2” and ev…

---

## [Change Texture dinamically](https://forum.castle-engine.io/t/change-texture-dinamically/2119)

<div class="topic-metadata">

**Author:** [@krivoj](https://forum.castle-engine.io/u/krivoj)\
**Replies:** 5\
**Last updated:** [February 17, 2026, 11:53pm UTC](https://forum.castle-engine.io/t/change-texture-dinamically/2119 "2026-02-17T23:53:37Z")

</div>

What is the easiest way to change the texture of a TCastleScene? For example, I have two files: red.jpg and yellow.jpg. I want to change an athlete’s jersey.

---

## [Problems with game data files changing](https://forum.castle-engine.io/t/problems-with-game-data-files-changing/2092)

<div class="topic-metadata">

**Author:** [@Noscow](https://forum.castle-engine.io/u/Noscow)\
**Replies:** 10\
**Last updated:** [February 15, 2026, 8:40pm UTC](https://forum.castle-engine.io/t/problems-with-game-data-files-changing/2092 "2026-02-15T20:40:29Z")

</div>

Good day! I have a little problem with files in the data folder. Sometimes, when I change some sprite to another, old sprite returns. Or, when I change folders names, files inside mixes… Can I fix this thing?

---

## [Suggestion to Extend the Tag Property of Components](https://forum.castle-engine.io/t/suggestion-to-extend-the-tag-property-of-components/2085)

<div class="topic-metadata">

**Author:** [@Hamid](https://forum.castle-engine.io/u/Hamid)\
**Replies:** 11\
**Last updated:** [February 4, 2026, 2:16pm UTC](https://forum.castle-engine.io/t/suggestion-to-extend-the-tag-property-of-components/2085 "2026-02-04T14:16:18Z")

</div>

Hello @Michalis, It would be great if, in addition to the usual Tag, components could also have a TagString or even TagFloat, etc.

---

## [How to design Toast dialog?](https://forum.castle-engine.io/t/how-to-design-toast-dialog/2070)

<div class="topic-metadata">

**Author:** [@pascalboy](https://forum.castle-engine.io/u/pascalboy)\
**Replies:** 4\
**Last updated:** [January 26, 2026, 5:08am UTC](https://forum.castle-engine.io/t/how-to-design-toast-dialog/2070 "2026-01-26T05:08:23Z")

</div>

unit ToastLayerUI; {this code is not run! Like this design} interface uses SysUtils, Classes, CastleUIControls, CastleControls; type TToastLayerUI = class(TCustomControl) private FText: string; FDurationMs: Inte…

---

## [Add TClientConnection.GetIdentifier in CastleClientServer.pas](https://forum.castle-engine.io/t/add-tclientconnection-getidentifier-in-castleclientserver-pas/2072)

<div class="topic-metadata">

**Author:** [@pascalboy](https://forum.castle-engine.io/u/pascalboy)\
**Replies:** 4\
**Last updated:** [January 26, 2026, 5:04am UTC](https://forum.castle-engine.io/t/add-tclientconnection-getidentifier-in-castleclientserver-pas/2072 "2026-01-26T05:04:39Z")

</div>

TClientConnection = record private {$ifndef ANDROID} OtherID : String; Context: TIdContext; {$else} ID: String; {$endif} public constructor Create({$ifdef ANDROID}AID: String{$else}AContext: TIdContext{$endif}); function…

---

## [Test loading models from disk in a separate thread](https://forum.castle-engine.io/t/test-loading-models-from-disk-in-a-separate-thread/2090)

<div class="topic-metadata">

**Author:** [@hal09](https://forum.castle-engine.io/u/hal09)\
**Replies:** 1\
**Last updated:** [January 23, 2026, 2:13pm UTC](https://forum.castle-engine.io/t/test-loading-models-from-disk-in-a-separate-thread/2090 "2026-01-23T14:13:53Z")

</div>

I tested loading models from disk in a separate thread using Delphi / windows. I loaded the same model 200 times into an array, It looks safe and stable, as long as I avoid calling: procedure TCastleDownload.Update(Se…

---

## [Feedback on Delphi Groundwork for New Platforms (Android)](https://forum.castle-engine.io/t/feedback-on-delphi-groundwork-for-new-platforms-android/2081)

<div class="topic-metadata">

**Author:** [@Hamid](https://forum.castle-engine.io/u/Hamid)\
**Replies:** 6\
**Last updated:** [January 20, 2026, 7:32am UTC](https://forum.castle-engine.io/t/feedback-on-delphi-groundwork-for-new-platforms-android/2081 "2026-01-20T07:32:53Z")

</div>

Today I came across this article: https://castle-engine.io/wp/2025/07/25/delphi-advancements-groundwork-for-more-platforms-android-macos-ios-castle-model-viewer-delphi-cli-delphi-tools-on-macos-fixes-for-c-builder-delph…

---

## [How to get the exposetransforms unde the mouse](https://forum.castle-engine.io/t/how-to-get-the-exposetransforms-unde-the-mouse/2068)

<div class="topic-metadata">

**Author:** [@BlueIcaro](https://forum.castle-engine.io/u/BlueIcaro)\
**Replies:** 2\
**Last updated:** [December 24, 2025, 12:58pm UTC](https://forum.castle-engine.io/t/how-to-get-the-exposetransforms-unde-the-mouse/2068 "2025-12-24T12:58:47Z")

</div>

Hello, I have this CastleScene, which is a GLB file. This file have some expose transforms How can I know in which transform I clicked?. If I use: if Viewport1.TransformUnderMouse \<\> nil then WritelnLog(Viewport1.Tran…

---

## [Memory use of models](https://forum.castle-engine.io/t/memory-use-of-models/833)

<div class="topic-metadata">

**Author:** [@edj](https://forum.castle-engine.io/u/edj)\
**Replies:** 8\
**Last updated:** [December 21, 2025, 9:52pm UTC](https://forum.castle-engine.io/t/memory-use-of-models/833 "2025-12-21T21:52:22Z")

</div>

I have acquired a number of low poly animated and rigged animals. They work great except some use dramatically more memory than others. With my free horse, cow, sheep, pig that have no texture maps and about 6 animatio…

---

## [Using APNG in 2D game](https://forum.castle-engine.io/t/using-apng-in-2d-game/2058)

<div class="topic-metadata">

**Author:** [@Carring](https://forum.castle-engine.io/u/Carring)\
**Replies:** 4\
**Last updated:** [December 8, 2025, 3:06pm UTC](https://forum.castle-engine.io/t/using-apng-in-2d-game/2058 "2025-12-08T15:06:15Z")

</div>

Is it possible (and then how) to load and play a APNG file as an animation sequence in a TCastleScene? Up until now I use single png files with multiple images in a TCastleScene but it would be awesome if I can just loa…

---

## [\[solved\] How to build examples\\network\\tcp\_connection\\server](https://forum.castle-engine.io/t/solved-how-to-build-examples-network-tcp-connection-server/2041)

<div class="topic-metadata">

**Author:** [@pascalboy](https://forum.castle-engine.io/u/pascalboy)\
**Replies:** 2\
**Last updated:** [October 21, 2025, 12:52pm UTC](https://forum.castle-engine.io/t/solved-how-to-build-examples-network-tcp-connection-server/2041 "2025-10-21T12:52:51Z")

</div>

How to install Indy in FPCUPdeluxe? in delphi ,build(examples\\network\\tcp\_connection\\server) is ok! delphi installed indy! in lazarus,this code is build and test run ok! FPCUPdeluxe lazarus installed indy! ----------…

[Next page](https://forum.castle-engine.io/c/uncategorized/1.md?page=1)
