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 - T800System

#1
Me again :X Sorry, but I'm having trouble with getting my GUI to fade in?

I'm using this line:

int trans = gInventory.Transparency;
while (trans < 100) {
  trans++;
  gInventory.Transparency = trans;
  Wait(1);
}

(with amended gInventory to correspond with my GUI name)

Every time I try to test it, the game won't load and says there's a compilation error. "Expected integer value after "=""

Thing is, when I put a number after the "=" it still won't work, and says that it expected a "," or ";" and not "gInventory". So, I try both a "," and a ";" - and still, no dice. It just says "unexpected gInventory" after that.

Can anyone enlighten me as to what I'm doing wrong here? Thanks :Z
#2
Hey, I'm having trouble trying to position my text window GUI. It's for a dialog option, which I want to position at the bottom centre of the screen. Obviously to do this I have set "Use GUI for dialog options" to 1 (which corresponds to the GUI number that I want to use) in the general settings.

In my first (and only) room script, I've got the following regarding this dialog option:

    gTestgui.SetPosition(10, 10);
    dBartender.Start();

The setposition code isn't doing anything to move the dialog options to where I want them. They're just staying centred. Could someone tell me what I'm doing wrong please?

Thank you in advance
#3
Is it possible to make a game using AGS that doesn't make use of the character feature? My game is going to be a first person adventure game, where the player just has to point and click on objects to examine in environments they are confronted with, and interact with characters they meet in these environments. These characters will be part of the background image, however - they won't be sprites.

So is this possible?
SMF spam blocked by CleanTalk