AlmasB / FXGL

Java / JavaFX / Kotlin Game Library (Engine)
http://almasb.github.io/FXGL/
MIT License
4.26k stars 542 forks source link

2.5D #1255

Open red0bear opened 1 year ago

red0bear commented 1 year ago

hello there ,

i was expecting we had https://en.wikipedia.org/wiki/2.5D environments ... but i dont know if you have plans to add it .

chengenzhao commented 1 year ago

Is this effect you expect?

https://twitter.com/WhiteWoodCity/status/1638528428440944640

We use GameSubScene to implement this effect the original GameScene is used for x and z axis in which we display shadows of the unit and add a new GameSubScene(x and y axis) in which we display the real characters like 2D games and then use binding to associate two different entities(one in the xz coordinates, another in the xy cooridnates)

For GameSubScene check the sample code here

https://github.com/AlmasB/FXGL/commit/4a70a035bddde3de54690052dad2820f925cbe3e

red0bear commented 1 year ago

hello,

Nice example ... that's not exact what am looking for. Am looking more like command conquer 2.5D map just to play around if possible.

AlmasB commented 1 year ago

Hi, the plans are there, particularly this one as Tiled supports isometric tiles. Though it needs a good chunk of development time to make it work out of the box.

red0bear commented 1 year ago

Oh ok sir. Just try some stuff here. i see your examples are more like 2d and some 3d experimental thing. But thank you to answer.

AlmasB commented 1 year ago

Whilst the engine does not yet understand the 2.5 mode yet, isometric support for .tmx is now ready. Here's a screenshot:

Screenshot 2023-03-28 20 38 03

red0bear commented 1 year ago

yes , i see that stuff at your channel ... is a steam game . i was thinking use some svg and other stuff and make draws on inkscape just to test somethings on future. look at this ... http://freeciv.org/