Game Development Community

Probably simple question

by J Sears · in Torque Game Engine · 06/21/2006 (10:29 am) · 1 replies

What parts of a game should be kept in coding and what parts are better off in scripts? It seems like you can do an incredible amount in the scripts so was just wondering which parts besides the core engine is best off being coded in?

#1
06/21/2006 (10:34 am)
A simple answer would be: anything that could be considered an intensive operation (rendering, collision detection, and so on) or things that you need to do many many times, repeatedly.

The key is that compiled engine code will run faster than script code, so if you're looking to optimize speed, then code is the way to go. However, I don't know how much of a speed difference it is, so it's tough to say where to draw the line.