C7-Game / Prototype

An early-stage, open-source 4X strategy game
https://c7-game.github.io/
MIT License
32 stars 9 forks source link

Render Units on TileMap #408

Closed pcen closed 11 months ago

pcen commented 1 year ago

rebased

QuintillusCFC commented 11 months ago

Units seem to be working here, although some of the other things that have been fixed in the base godot4 branch, such as textures on the buttons, aren't, and for some reason the lower-right status area is in the middle of the screen on this branch.

image

Also note sure if it's just this branch, but the AI isn't building cities in it for some reason. I know that was working when I last looked at Godot 3.5.

Most of this is probably resolved by the refactor you mentioned.

pcen commented 11 months ago

This branch is behind the godot4 base so once I rebase all the visual fixes will be in. Rendering cities on tilemap is based on this branch, so is it possible that the AI is building cities but they aren't being rendered? I just checked the log file, cities are being built but they are not rendered on this branch. If you test on https://github.com/C7-Game/Prototype/pull/412 AI should be building cities.

Rebased on godot4 branch so UI should look normal again

WildWeazel commented 11 months ago

UI looks good to me in the latest and unit animations seem to be working but I'm not sure what has changed & is expected. Not seeing HP bars for example.

pcen commented 11 months ago

UI looks good to me in the latest and unit animations seem to be working but I'm not sure what has changed & is expected. Not seeing HP bars for example.

Yeah, HP bars need to be reimplemented on top of the TileMap branch still. Everything else should have parity with the main 4.x branch