What the title says.
My game goes slow at one point (too many active objects) so i tried Machine independent. It made it a lot faster but at the slow point it went too fast and had TGF problem (TGF problem message). Any1 can solve this or i have to remove some active objects
I wouldn't use machine independent speed if you can avoid it.....examples of machine independent speeds are all those DOS games you used to have that you threw out because you could move 1600 pixels(~6 screens) every time you pressed an arrow key.
P.S. What's your comp speed? I just ran a speed test in MMF with various animated active objects over multi-coloured backgrounds. There wasn't any serious slow down(aside from creating the objects at half the speed) but it stopped creating objects at 2000.
i use my dads computer and my own computer and my dads one is really slow (its claims to be 533mhz pfff)
machine independant speed is usefull because when i was testing one of my games the character wouldnt jump high enough unless i turned on machine independant speed
leaving it off would have made the game unplayable.
hmm i would say that you should use MIS only when you are createing the game, or testing the levels that have the active objects... BTW 9/10 chances if you have too many active objects that means you are trying to do way to much... ease up
Hmm I don't usually use MIS, so I can't say for sure, but wouldn't it mean that the game may play way to fast on someone else's computer and the right speed that you want on yours? I'd say leave it off, especially if its causing errors.
KNP/TGF/MMF etc. runs the events list 50 times a second that is every 0.02 seconds. After the event list is run KNP/TGF/MMF updates the screen and then waits for the event to run again.
If Machince independant speed is turned on KNP/TGF/MMF will evaluate if too much time is used on the events and if it is impossible to draw the screen (that is moving the objects, scrolling etc. and the actual draw to the screen) within the time (0.02 seconds total) KNP/TGF/MMF skips the drawing part and goes straight to waiting for the next run of the event list.
This can cause laggy graphics as the screen is not updated IF too much time has gone evaluating events.
This is only affects gameplay on slow machines. It will never run faster as fast computers will not be affected what so ever.
Machince independant speed may cause problems with collision or other things but its not certain (depends on how it works). Try to turn it on/off to see if theres any difference. An eventual difference should only be noticeable on a computer that is too slow to run the game.
The game will still run slow on very slow computers if they cannot complete the event list in 0.02 seconds.
I see Machince independant speed as a kind of automatic frame skip feature. But with lack of test I cannot garantee that it will not affect gameplay.
I never use Machince independant speed myself. Always deactivated. Instead test your game on different computers (in size) and find out how a fast a computer must be to run the game and let that be your minimum system requirements.
Alternatively, if the requirements are too high turn down the number of active objects or reduce the number of events. The fewer events the less time it takes to run the event list. Group events and close groups at runtime to cut the number of events checked. Got 20 events that only run at start of level? Group it and let the last event in the group be to deactive the group itself.
I always use it. If you don't use machine independant speed then your game can become much easier than it should be on slow computers. Also, not using machine independant speed can cause problems if you are making an online game. If you notice, commercial games use it. They don't slow down the game, they skip frames.
Hmm it might sound as a handy future,
but that depends on your opinion,
most people dislike it, just like me.
It skips too many of my display,
that might come good to the gameplay,
but if you walk forward and your characters
skips 32 pixels, it's starting to get annoying.
And most moderen pc run these klik-games at a normal perofrmance.
Machine Independant Speed should run the game as fast as the CPU can. This means the game will play diferently from machine to machine, and the amount of programs you are running can also affect it.
I would leave this off as it causes compatibility problems (you have to have a minimum system spec and a maximum one!)
If you have problems with the character, make a custom movement engine to suit you.
I am the proud owner of a 2.8Ghz P4 PC
I would expect it to mince through some games with MIS turned on!