Commit Graph

10 Commits

Author SHA1 Message Date
shiva404
6b6ca341dc Добавил ускоренный A* из библиотеки pathfinding - произволительность выросла, но несильно. Пока этот вариант закомментил, сейчас реализация BFS + walkable матрица, работает гораздо лучше, с неоптимальным рендером 100 объектов держит, без рендера 300. 2026-02-24 02:03:22 +03:00
shiva404
2b114ddd2d Diagonal pathfinding and moving works great! Fixed teleport bug and terrain overlay. 2026-02-20 04:53:33 +03:00
shiva404
171eff1434 pre commit, make CAPS tasks from main 2026-02-20 02:09:43 +03:00
shiva404
bf4a80a54a Nevermind. 2026-02-18 22:31:31 +03:00
shiva404
b34aaa1664 shameslop, but gui still works. 2026-02-16 17:20:37 +03:00
shiva404
0e0bf1f84e Finally fixed sprite caching. For now it works only for one map, need to develop mapmanager and have a list of cached sprites for each map. 2026-02-16 02:46:28 +03:00
shiva404
2e6e75866b Couldn't beat graphic bugs with sprite caching. Returned to old way. Need to create branch with sprite caching and try to finish it. 2026-02-16 00:30:17 +03:00
shiva404
f679dde81f P.S. to previous commit: instead of Sprite flow load_sprites function was changed: gathering the number of sprites with the same names before second _ and hold it at sprites dict. also now sprites must be named as objectname_action_number. Main commit - full sprites support, with caching, transparency and smooth scaling. drawing function moved to Object methods 2026-02-15 21:23:02 +03:00
shiva404
d6a106301e initial sprites support, only terrain for now 2026-02-14 03:09:52 +03:00
shiva404
d7184ddab1 hlwrld1 2026-02-13 23:34:24 +03:00