View Single Post
Old 09-10-09, 08:39 AM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by maerean_m View Post
In no way would be feasible to use a interpreted language in a game. The python scripts I've created are compiled and used in a sort of virtual machine. So it's not quite assembler code, but it's not interpreted either. Still is not advisable to call python code per frame. That's why it's used in the interface and the update of the interface is done using a timer (15 times a second).
Thanks for the info. I was wondering about this since interpreted languages are rather slow. So the scripts you created are being used in their byte-code (compiled) form in the game or are you JIT compiling?
Is this timer (15 times/second) modifiable by the end user?
TheDarkWraith is offline   Reply With Quote