Войти в систему

Home
    - Создать дневник
    - Написать в дневник
       - Подробный режим

LJ.Rossia.org
    - Новости сайта
    - Общие настройки
    - Sitemap
    - Оплата
    - ljr-fif

Редактировать...
    - Настройки
    - Список друзей
    - Дневник
    - Картинки
    - Пароль
    - Вид дневника

Сообщества

Настроить S2

Помощь
    - Забыли пароль?
    - FAQ
    - Тех. поддержка



Пишет nancygold ([info]nancygold)
@ 2024-08-28 01:55:00


Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Настроение: contemplative
Entry tags:computing

Spell of Mastery Progress

XCOM games have flying units, maintaining continuous altitude as a major feature.
Yet it was never obvious how to implement that in an easy to use way.
In fact, the entire idea of fully 3d isometric view if complicated.
XCOM solved it by just allowing the players to change cursor Z-level.
That cut everything above the current Z, everything look especially horrible.

Other games, like Magic & Mayhem limited the Z to just two levels.
4 levels if we consider flying units.
Recent games, like Cataclismo, use some crazy hacks and don't support flyers.
These also allow free camera movement, so player can move it inside the buildings.
Yet most games at best usually just keep the flyers at a separate layer.
These games also don't allow switching between layers. I.e. no flight spell.

Anyway, I have kinda solved it using my own set of hacks.
But I keep redesigning the flying units mechanics.
Since I want it to be simple enough and yet deep enough.
And it has to integrate seamlessly with other mechanics.

For example a heavy units like dragon should be able to squash weaker units.
By landing on them. Same way, heavy terrain blocks should squash them.
I also want for different units to have different altitude limit.
Flying units also have shadow blobs, which should be on the ground.
In addition there are squads mixing flying and non flying units.
Then there are flying units which carry non-flying units terrain on top.
And don't forget the multicell heightmapped units which can have holes.

Initially that resulted into absolutely mess of a code.
I had to chain several unit actions to just change the altitude,
while keeping in mind that is shouldn't mess up the topological sort.
It was unmaintainable, forcing me to I transition to ECS.
Now I'm rewriting every feature into a standalone component,
which keeps abstraction leaking to the minimum.

At least now I kinda understand how it all can be put together.




(Добавить комментарий)


(Анонимно)
2024-08-28 11:31 (ссылка)
These blurry textured tower thingies look like ASS. And not nice ass, of a young, beautiful, well proportioned cisgender girl, but old saggy transgender ass, with an injured asshole.

(Ответить) (Ветвь дискуссии)


[info]nancygold
2024-08-28 11:46 (ссылка)
Work in progress. I initially paid freelancer for a smaller scale tower tileset, which wasn't working, so I quickly edited it just to have something in game.

(Ответить) (Уровень выше) (Ветвь дискуссии)


(Анонимно)
2024-08-28 12:39 (ссылка)
To Russians everything seems like ass, so don't take it personally. Do how you like.

(Ответить) (Уровень выше) (Ветвь дискуссии)


(Анонимно)
2024-08-28 12:54 (ссылка)
What kind of Sadkov-designated subhuman are you? There is little chance that you are a "anti-transgender transsexual" which would free you from the subhuman designation.

(Ответить) (Уровень выше)


[info]nancygold
2024-08-28 13:55 (ссылка)
<3

(Ответить) (Уровень выше)


(Анонимно)
2024-08-28 15:35 (ссылка)
you're spending so much time discussing Nancy's asshole here
so dedicated normal straight cis heterosexual male

(Ответить) (Уровень выше)