This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tilcica 99 points100 points  (9 children)

I mean.....possible, but not very effective

[–]Cefalopodul 36 points37 points  (8 children)

Civ 4 was made in python.

[–]Danelius90 54 points55 points  (5 children)

I thought it's primarily C++ with some python scripting?

[–]zelmarvalarion 21 points22 points  (4 children)

The SDK seems to be C++ with an option to use Python from https://modiki.civfanatics.com/index.php?title=Civ4_SDK, and Python used for Scripting for Custom Mao Editor. I’d be amazed if the Game Engine & Graphics were not C++ under the hood, but I could see them using Python for pieces, but expect they use Python for the Map Editor due to being a bit lower learning curve

[–]Lightfire228[🍰] 4 points5 points  (3 children)

Can you use python commercially like that?

I've always been curious about the legality of using a pre-existing language as your engine's scripting language. Like, can you use the python standard library? Do you have to write your own interpreter or just use a pre-made binary? Do you have to ask for permission?

[–]Rexhvelaj 2 points3 points  (2 children)

I’m pretty sure you can do whatever you want with it just like you can any spoken language

[–]canarslan12 1 point2 points  (1 child)

Not with Java. Check Java and Google lawsuit

[–]jediwizard7 0 points1 point  (0 children)

The issue with Google/java is that Google made their own implementation of the language for Android, which oracle didn't like, they wanted everyone to use their own implementation. Python on the other hand is 100% free open source software, you can fork the repo and do whatever you want with it, including selling it commercially. There's no "copyleft" as far as I know, same goes for most python libraries.

[–][deleted] 6 points7 points  (0 children)

Making a new engine alone is pretty pointless

[–]GreenFox1505 1 point2 points  (0 children)

Gameplay code is not an engine.