Skip to content

civ-clone/electron-renderer

Repository files navigation

electron-renderer

An initial stab at a basic renderer for this project in Electron. This will likely lift from the previous implementation in the monorepo.

Current state

The game is currently reasonably playable. You can build cities and produce units, build improvements, research technologies, attack enemies, capture cities, etc.

The AI is relatively primitive, but it does do stuff and will attack you and try to capture your cities, etc.

Generating assets

To be able to see anything you need asset data. This can currently be generated from the original game's asset data and copied into the view directory.

See civ-clone/civ1-asset-extractor.

I'm looking at adding the ability to add an asset pack and a mechanism for managing these so they can also be plugins and I'd like to collate some open-source/royalty free image to make a default pack that doesn't necessitate the original game.

Known issues

  • It hangs when generating the start Tiles for way too long - this has been moved to a Worker but transferring the data is still slow and locks the main thread :(
  • No GoTo.
  • Some Civilization's colours are terrible.
  • CityImprovement maintenance isn't deducted.
  • Happiness and Unhappiness don't work as per Civ1.
  • Bombers don't function correctly.

Images

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published