![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
09-10-09, 12:43 AM
|
#17 |
|
Captain
![]() Join Date: Mar 2007
Location: Bucharest, Romania
Posts: 529
Downloads: 0
Uploads: 0
|
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). If the games pulls 60 FPS, the interface will only be updated every 4th frame (but the input from the player is handled every frame).
__________________
Kilroy was here Last edited by maerean_m; 09-10-09 at 02:16 AM. |
|
|
| Thread Tools | |
| Display Modes | |
|
|
