Objects slowing game down... how much?

Started by Ishmael, Sun 19/10/2003 14:16:59

Previous topic - Next topic

Ishmael

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...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

CB..

#1
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

Pumaman

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?

Ishmael

#3
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..?
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

CB..

Ok Puma'
i'll try that out, thanks for the pointer !,

SMF spam blocked by CleanTalk