Skip to content
/ Tritium Public

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

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

Sajjon/Tritium

Repository files navigation

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

Resources

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages