Sajjon / Tritium

H3: Heroes of Might and Magic III Frontend (GUI) in pure Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tritium: Heroes 3 in Swift

Tritium

Tritium - H3 - is an open source frontend (GUI) for Heroes of Might and Magic III in pure Swift, powered by the Swift HoMM3 game engine Makt

⚠️ You MUST have the resources (DATA, Maps and Music files) from the original game in order to play this. See under Copyright on where and how to buy the game if you don't own it.

Status

🚨 Status NOT playable yet 🚨

I've just managed to render maps, using original game resources that Makt extracts. But performance is terrible, since I've literally put zero effort into this. So next is to come up with a good solution. Maybe generate a PNG image for the whole map and use a single SwiftUI Image View (instead of tens of thousands).

Progress

This is the map called `"Freedom"` in Tritium, rendered using SwiftUI with a trivial completely non-optimized solution where each sprite is its own Image view. Performance is bad and scrolling in larger maps is unfeasibly bad.

Focus

In this repo - the frontend Tritium - I focus on rendering maps only. Nothing else such as menus or nice SwiftUI code. Because I suck at SwiftUI. But most work is really done in the repo for the backend Makt.

Copyright

All rights for the original game and its resources belong to former The 3DO Company. These rights were transferred to Ubisoft. We do not encourage and do not support any form of illegal usage of the original game. We strongly advise to purchase the original game on Ubisoft Store or GOG.

About

H3: Heroes of Might and Magic III Frontend (GUI) in pure Swift

License:Other


Languages

Language:Swift 100.0%