I was wondering if anyone knows on any good methods to speed up
the game play once u create your games.
make sure the vertex count and texure resolution are fairly low
Once you have finished your game, you can change all LogicBricks to Python, this will speed it up… It is posible for the beginner, believe it or not. There is documentation on all the alternative Python commands for the LogicBrick commands. So even the beginner can fumble through it successfuly. Though it can cause a major headache… LOL…
The NDN…
Also the Basic stuff, Keep face counts down, Use Jpeg for texture wherever possible, limit use of targa, etc… etc…
The NDN…
reduce the number of collision polys by ghosting the scenery (or high poly/unreachable parts of) and adding a new invisible contact mesh/mesh parts
…(face mode in the paint buttons)
Putting things in different layers help.
Also, if you modify the texture (Vertex shading, etc.) Render it, and save it as jpg, then use that texture.
Understand?
I think reflection mapping does take the piss sometimes, so dont use too much, i dunno, does the reducing the draw distance help???
- If you make a game with Publisher2.25, You can use “setVisible()” method to Objects.(This don’t work at Creator 2.23)
import Rasterizer
Rasterizer.enableVisibility(1)
cont = GameLogic.getCurrentController()
near = cont.getSensor("Near")
objs = near.getHitObjectList()
if objs:
for obj in objs:
obj.setVisible(1)
This script is used in Camera object.
You must use script with Near Sensor named “Near” and link this.
-
only use “add” and “alpha” textures that you need.
-
reduce texture size.
Yep, reducing the draw distance helps a lot… not only for speed, but it’s great if you have a complex mesh. Especially for vid cards with a 16 bit z-buffer. Making the distance between clipsta and clipend as small as possible will also increase the precision of the z-buffer and prevents faces from overlapping. Not really relavent here, but usefull…
Wybren van Keulen
Funny Farm