Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Novice on Thu 26/08/2004 06:46:33

Title: [SOLVED] Strange "Ghost" Objects
Post by: Novice on Thu 26/08/2004 06:46:33
I think I found a bug :o. In the program I have there are 8 objects, but for some odd reason 3 of the objects produce duplicate images in the center off the screen.

When I go to the Object placement screen it says there are only 8 objects in the room, I turned off all 8 but the images are still there when the program is run.

Tried downloading a new background but it didn't help. Someone once told me that mixing menu options with scripting might be tricky (variables) and most of my program is scripting.

These are the commands used in handling the objects.

ObjectOn, ObjectOff, MoveObjectDirect, SetObjectPostion.
While (to set and move objects), Wait, If/Else.

The extra images appear in the center of the screen grouped together as though they were all placed on the same coordinates, one on top of the other.

Only the last 3 images are duplicated. Is there anything that can be done? ???

Thanks.
Title: Re: Strange "Ghost" Objects
Post by: Gilbert on Thu 26/08/2004 06:51:20
Can you offer a download to the resource in question for us to look at?
Title: Re: Strange "Ghost" Objects
Post by: Dave Gilbert on Thu 26/08/2004 17:15:16
There are no bugs. Only features. :)

That could happen due a number of reasons.  There might be a script that turns the objects on. Try deleting the objects from the room entirely and see what happens.  If they are still there, then you might have imported the objects as a character my mistake.

-Dave
Title: Re: Strange "Ghost" Objects
Post by: Novice on Fri 27/08/2004 06:41:00
 :o...... Gentalmen, once more I stand in AWE of the genius I encounter within these grand forums!

I checked the Characters screen and sure enough, the "ghost images" were assigned as characters, sure enough the room they were listed as being in was the very room where the problem was, and on top of that they all shared the same coordinates.

Problem solved!!!

Thanks to individuals like Gilbert, Gilbot & SimB, my dream of making a game may yet become reality! Again many thanks to you all.

Hmmm Gilbert & Gilbot.. Hey I know! Maybe you guys can call yourselves "The GIL squad", that would be totally cool ;D, how about it? :D
Title: Re: [SOLVED] Strange "Ghost" Objects
Post by: Dave Gilbert on Tue 07/09/2004 02:04:58
Heh.  Well, Gilbot's name really IS "Gilbert", so yeah.

Happy to have helped!  It's always something simple like that.  I once spent a week frothing at the mouth because something wouldn't work right, and all I had to do was click one small checkbox.  Good luck with your game.

-Dave
Title: Re: [SOLVED] Strange "Ghost" Objects
Post by: Phemar on Thu 09/09/2004 15:32:58

Yeh well I once spent 2 weeks almost killing myself only to find that my script didn't work because it was nested within something else.

Yeh I'm a regular dumbass :)