The Daily Click ::. Forums ::. Klik Coding Help ::. Is Machine Independent a good thing? or a bad thing
 

Post Reply  Post Oekaki 
 

Posted By Message

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
29th July, 2003 at 16:48:31 -

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

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation

Kramy



Registered
  08/06/2002
Points
  1888
29th July, 2003 at 17:30:22 -

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.

 
Kramy

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14560

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
29th July, 2003 at 18:45:47 -

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.

 
.

Pkeod

Oontz Oontz Oontz

Registered
  19/11/2002
Points
  93

VIP Member
29th July, 2003 at 21:09:54 -

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

 
Faerie Solitaire - Get it now:

http://www.create-games.com/download.asp?id=7792

SircatmaN



Registered
  02/01/2002
Points
  382
29th July, 2003 at 22:59:23 -

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.

 
n/a

Cybermaze



Registered
  03/04/2003
Points
  853
30th July, 2003 at 10:22:44 -

Machince independant speed:

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.

 
If you knew, I would have to kill you...

Mr Saturn



Registered
  14/05/2002
Points
  357
30th July, 2003 at 12:42:33 -

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.

 
n/a

Mr Saturn



Registered
  14/05/2002
Points
  357
30th July, 2003 at 12:43:49 -

By the way, I have never seen it affect the gameplay.

 
n/a

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
30th July, 2003 at 12:43:56 -

MIS is evil. if you use it on slower machines the game is totally different.

 
www.thenatflap.co.uk

Kramy



Registered
  08/06/2002
Points
  1888
30th July, 2003 at 13:51:33 -

Wait a minute....what if it has to run through 800 events? Will that halt the ability to play a game on slower comps?

 
Kramy

Jenswa

Possibly Insane

Registered
  26/08/2002
Points
  2722
30th July, 2003 at 15:26:06 -

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.

 
Image jenswa.neocities.org

LittleGuy (Ecstasy Studios)



Registered
  22/12/2002
Points
  1497
30th July, 2003 at 17:28:42 -

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!

 
A Crusader for the LittleGuy's

Click Cell, a full fat community site, http://clickcell.tk

Rycon



Registered
  20/09/2002
Points
  996
30th July, 2003 at 17:46:30 -

Machine independant is obsolete now, computers are just too fast.

 
We are the music makers, we are the dreamers of dreams...

Kramy



Registered
  08/06/2002
Points
  1888
30th July, 2003 at 22:28:38 -

Ah ha! So 1/2, I'm 1!(slowest)

Anyone else have a faster comp? Post your specs.

 
Kramy

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
31st July, 2003 at 00:52:10 -

But not everyone has a fast comp yet, my comp is fairly old with upgrades and it lags when click games have scrolling.

-Andy

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
   

Post Reply



 



Advertisement

Worth A Click