Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Novice

#1
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.
#2
 :o I placed my images on the screen and started them moving but there's something wrong (yeah again). Some of the images are all clumped together in the center of the screen ???.

I tried to solve it by turning off all the objects and then placing their starting position and movement before turning them back on, still they have these 'ghost images' that are all bunched up in the middle of the screen.

Does anyone know how I can prevent this from happening?

Once again, thanks :).
#3
I've typed in the following command:

SetObjectPosition (1,222,333);

and I got this error message:

"SetObjectGraphic:Invalid object specified"

Here's the strange thing about it, the object DOES exist in the sprite manager and even if I erase the command the error will still appear and list it's location as line 499 when my program isn't that long.

Is this a bug? I did use the 'SetObjectGraphic' command but erased it when the errors started, it seems the command somehow ruined me program. The error continued even after the 'SetObjectGraphic's were deleted.

Any ideas on what could've gone wrong?

Thanks.
#4
;DÃ,  Hi peoples!

I was wondering what are the various types of games possible with AGS. Are there many different types? And are there any examples of the various types available here for download?

Thanks for your time :).

#5
In games like Maniac Mansion all you have to do to know if an item is clickable is move the cursor over it, if a name appears that means you can somehow manipulate it.

I would like to use this method myself but I couldn't find any information in the manual.

I tried using 'Display' but that would stop the game briefly and show that little 'watch/timer' icon, not smooth at all :-\.

I would just like to show the object's name next to the cursor with no pause so players can scan a room quickly.

Any ideas on how this can be done?

Thank you for your time ;D.
#6
Hi everyone! Here's the situation, how do I manipulate variables from any script?

I know about Globals but I must be doing something wrong ???.

This is what I'm trying to do.

1. Talking to one Character increases a Global variable by 1

2. Goto a differant room and if said Global variable increased
Ã,  Ã,  then another Character who was invisible appears in the
Ã,  Ã,  new room.

I've been using the 'GetGlobalInt(x)' but it ain't workin.
I used the SetGlobal but it's no good either.

eg. { Game Set Variable Value = variable Global 1 new value 2

Ã,  Ã,  Ã,  Ã,  Ã, Then another character in another room uses

Ã,  Ã,  Ã,  Ã,  Ã,  Display("The variable changed to %d", GetGlobalInt(1));
Ã,  Ã,  Ã,  Ã, }

No matter what I set the variable value to the knuckle head character
always says "The variable changed to 0". In other words the value of
2 I put in didn't register :o.

I can't figure it out and have started cussin :-[.
Please help.

Thank you. :)
SMF spam blocked by CleanTalk