Hi,
I have been silently tinkering away with developing a rather small game over 5-6 months solid.
Just about every problem I have encountered in developing this game I have eventually overcome.
I have refrained from asking questions until now and I can’t seem to find anything specific to this topic.
My game is strange and not typical for BGE in some ways. Because of this I have had (in some cases) a very
difficult time, figuring out an adaptation method for what I was trying to accomplish. I’m out of leads here…
With all that behind me, UV editing, snapping, animating, extensive logic bricking, scene appending, why I can’t animate
the “emit” value of a mat with key frames (found work-around) and basically loads of other little things.
I have one room, with one machine consisting of over 250 little nails, roughly 64,000 faces in this scene.
There are a few mouse-over sensors in objects within the machine but I get huge logic spikes when I move the
mouse cursor over areas that don’t even have mouse sensors, and if anything a few simple logic bricks.
I go from 60 FPS (cursor out of game window) to about 20 FPS (cursor over machine) and even down to 5-10 FPS
If the cursor is out of the game window, its all good.
It is a complex area with a lot of objects but am I not removing something that I should be?
This has been going on for a while. At first I thought it was related to objects I was using a lot of controller expressions
in.
There are objects within the setup that do have a lot of Boolean properties that are and being using to perform
actions to make a specific object “left clickable” only when the mouse is over it.
Additionally I figured out how to setup a separate title screen and I have a small non-functional display machine rotating
back and fourth off a repeating delay. I have removed all the logic out of this smaller machine and I still get crazy lag
with the mouse cursor over it.
I’m thinking its because of all the objects? Needs to pass some sort of detection? What is this sorcery! Blender, its not THAT difficult, she’s like a genie in a bottle… just gotta rub her the right way.
Should I start the rub from the right or left? Diagonally or horizontally?
XD
Thanks for any help/insight!