Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Ishmael on Sun 19/10/2003 14:16:59

Title: Objects slowing game down... how much?
Post by: Ishmael on Sun 19/10/2003 14:16:59
If this don't belong here, move it k? Just that I want to know... about object vs character.

Ok, for my MAGS game I have i the first room three rather big objects plus one small, which I could have drawn into the background, but I didn't, because then I couldn't make then disappear. all of the need to, and they can be removed in any order, except for one of them, which requires another to be removed. That make sense? Anyway, using a background frames wont work, as I'd need like 13 frames to do this.

So, do characters slow down the game as much as objects? I mean, if I make the objects characters instead of room objects, does the game run slower? I have larger objects in many rooms, I have not yet build them, however.

I was just thinking...
Title: Re:Objects slowing game down... how much?
Post by: CB.. on Sun 19/10/2003 14:45:16
i may be doing something wrong but even one stock object (like the key or cup) slows my game down to a crawl , but i can plaster characters all over the place and it runs fine..

i think it might be (in my case) a graphics card issue tho as i don't see this problem mentioned to this extreme anywhere?. so im just by passing the objects and have-ing give inventory item as a result of walking onto regions  and other interactions..i can add and remove characters in the same way as the objects and use the object graphics  so it doesn't seem to limit things too much..

must be my Voodoo GFX Card
Title: Re:Objects slowing game down... how much?
Post by: Pumaman on Sun 19/10/2003 15:39:53
CB: the kind of slowdown you described is usually caused by mismatched colour depths (eg. if you are using a 16-bit sprite in a 256-colour game, or vice versa). Try using one of the character sprites for the object temporarily and see if it still happens.

TK: objects and characters should have about the same effect on game speed - in fact, objects should be slightly faster since it doesn't have to consider scaling and so forth.
Are you having performance problems at the moment?
Title: Re:Objects slowing game down... how much?
Post by: Ishmael on Sun 19/10/2003 19:27:42
Um... No, as far as know (?)

----- EDIT -----

It was a slowdown, I see now... It works perfectly... Seems AGS is sensitive with large objects or something..?
Title: Re:Objects slowing game down... how much?
Post by: CB.. on Sun 19/10/2003 22:22:55
Ok Puma'
i'll try that out, thanks for the pointer !,