Optimization on game

Hi everyone,

I am making a personal game but I don’t know what can be the best for optimization on game. Does someone know how much polygons I can get on a same scene without lagging? Like 500 000? Less or more? And I found on some topics that there are some frame-per-second, that I probably not found on the program. How can I change the frame rate on the game engine? Thanks.

megalmn2000

Depending on the machine and the version of blender you’re using, 20 000 to 80 000 quads is good.

You can set the frame-rate with GameLogic.setLogicTicRate(60) in Python, obviously replacing 60 with an integer of your choice.

If you know what your doing, 100,000 polys work well on most computers.(including low end computers). However, like Chaser said, it depends on your machine. Some people have claimed to run over 3 million polys in the newest builds. O_o

Wouldn’t it be awesome if we could choose the framerate?

This game is lagging, Rasturizer.setFrameRate(120)

aaaaahhhhhh no lag!

Ah yes, good point.

GameLogic.setLogicTicRate(30)

The above line will set the maximum frame/logic rate. The frame-rate will of course dip when things get too intense, but it will not exceed the limit.

The reason for limiting your game’s frame-rate is to avoid obvious slowdowns during intense moments. A solid 30 frames per second is often better then regular fluctuations between 60 and 30.

Thanks guys,
here’s my computer:

  • Intel Core 2 Duo
  • 2Go RAM
  • NVIDIA GeForce 8600 GS

It think it should not lag at that level…