soastao
February 10, 2023, 1:17pm
1
Recently I try to convert to CGE, CGE is the best game engine in pascal
I also found some problems and reported
1、FPS low problem
Has been resolved,The official response is extremely fast, too efficient
I use Zengl render tiled map fps=700+, but cge have only fps=60+
How can cge be faster?
2、TiledMap obscured problem
This problem will be solved in the future
This is a problem with the map you designed. Your tower should be placed on two layers, the upper part of the tower always on the top layer, and the lower part set to impassable.
3、How to judge the mouse on irregular image in TiledMap
This problem will be solved in the future
I use TDrawableImage to draw by myself, Everything is good at present
I met a problem, How to judge the mouse on TDrawableImage
1、examples/viewport_and_scenes/detect_scene_hit/
This example not use TDrawableImage to draw
2、With TCastleTiledMap, you can use Map property and PositionToTile method to detect on which exactly tile we clicked.
My TDrawableImage shape is irregular,PositionToTile ,It seems that I can’t achieve my goal
I previously used Zengl to judge the mouse on ImageTex by fun…
I have stuck in these places, I want to study again in other CGE directions
Until I found out TCastleControl, I took a day to do the role editor (I use TDrawableImage to draw by myself on VCL Form), The effect is very good
The next goal is the map editor, TCastleControl It’s so easy to use
2 Likes
soastao
February 12, 2023, 3:57am
2
I took one day to do the MapEdit (I use TDrawableImage to draw by myself on VCL Form)
I haven’t used TCastleTiledMap
Similar to this TiledMap,I always think that draw by myself is the best way, because personalized ideas can be realized by myself
2 Likes
mokatun
February 12, 2023, 5:21am
3
this looks awesome good job!
soastao
February 12, 2023, 9:38am
4
Because have TCASTLECONTROL,combined with powerful Components on VCLFrom,so you can build a set of game development tool chains,I am very satisfied with the performance of CGE in this regard
1 Like