Yup. "Resize display to fill window size" also tends to slow down some games, especially while scrolling and stuff. It's generally a better idea to use the "change resolution" option instead.
Actually, how many colors you literally use doesn't matter. If you say, set the display to 256 colors, it won't matter if you just use one of those colors or all 256; the color mode is really all that matters.
hmm i guess for my 4-bit game i shouldnt be using
5 BAGILLION COLORS
jp
Its not enough,I need more
Not enough to satisify
I said I dont want it, I just need it.
To believe, to feel, to know I'm alive.
Knuckle deep beneath the borderlines.
This may hurt a little but its something you'll get used to.
Relax. Slip Away...
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
18th April, 2007 at 02:26:19 -
Phredreeke had some "always make a bunch of objects invisible" events in his Scurvy Sanchez code. I removed them, and BAM. The game ran twice as smooth immediately.
If you have lots of detectors, make them as small as possible, but make sure they don't lose their functionality because of it. This actually helps. Using box collision instead of precision collision on detectors will also save on memory usage.
Try turning on/off DirectX, it might help.
Of course, some computers just don't cope with scrolling well.
i think the problem is that i grouped each part of the movement
and add an always set position of detectors at the beginning and end of each group so as not to lag - however, this may be the problem - ill rehack it later
Its not enough,I need more
Not enough to satisify
I said I dont want it, I just need it.
To believe, to feel, to know I'm alive.
Knuckle deep beneath the borderlines.
This may hurt a little but its something you'll get used to.
Relax. Slip Away...
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
18th April, 2007 at 06:11:50 -
Setting the position of the objects multiple times is inefficient: doing it once at the end of the entire event list should be enough.
See, your event list is looped through once every time a frame was drawn, so putting the same event with the same effect twice has absolutely no effect. Unless you set a detector's position to an object's position and then set the other object's position to something else, because that will result in the detector falling behind with the object.
yes i understand that - which is why i did it - but i grouped my events wierdly (left movement, right movement, jump, falling, landing, etc.) so ijust put it at the top and bottom and bam much faster
Its not enough,I need more
Not enough to satisify
I said I dont want it, I just need it.
To believe, to feel, to know I'm alive.
Knuckle deep beneath the borderlines.
This may hurt a little but its something you'll get used to.
Relax. Slip Away...