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

Messages - Phemar

#1741
Advanced Technical Forum / Re: A question
Sun 29/08/2004 06:21:47

Imagine if all the script functions were translated ... chaos.
#1742
Advanced Technical Forum / Re: Saving
Sat 28/08/2004 18:50:02

I think Ashen's got it.
#1743

I vote Ginneh...
#1744

Sweet Entries so far ... I used to hate that wheelbarrow puzzle in GF...
#1745

Ah, silly me and those braces ... And recently I just had mine taken off.

Of course you can change those cursy thingamabobs as long as you change every occurence of it in your script.
I'm just weird when it comes to naming my data types...

BTW I use a selection of cursors in my game, so if you want to use this in a sierra-type game, you should take away the
if (cursy==5) {
  blablabla}
if (cursy==8) {
  blablabla}


- Cheers
#1746

I would say not to cut 'n paste the grey lines along the wall. Instead redraw them differently each time.
#1747

BT's looks very good now. Just define the edges a bit and add a few stones, maybe tire marks along the road...
#1748
Critics' Lounge / Re: Heart work.
Mon 23/08/2004 17:04:53

The new banner looks way better... Everything looks nice now...nice...
#1749
Critics' Lounge / Re: Some guy
Mon 23/08/2004 17:02:15

He's nice, just his arms are a bit too big and his neck looks too fat. But then again it is a cartoon...
#1750

Just thought I'd let someone know. This script:
  if (GetCursorMode()==0) {
    SetLabelText (MAINGUI, 13, "WALK TO @OVERHOTSPOT@");
    }
  else if (GetCursorMode()==1) {
    SetLabelText (MAINGUI, 13, "LOOK AT @OVERHOTSPOT@");
    }
  else if (GetCursorMode()==2) {
    SetLabelText (MAINGUI, 13, "USE @OVERHOTSPOT@");
    }
  else if (GetCursorMode()==3) {
    SetLabelText (MAINGUI, 13, "TALK TO @OVERHOTSPOT@");
    }
  else if (GetCursorMode()==4) {
    GetInvName (player.activeinv, inventory);
    StrFormat (buffer, "Use %s with @OVERHOTSPOT@", inventory);
    SetLabelText (MAINGUI, 13, buffer);
    }
  else if (GetCursorMode()==5) {
    SetLabelText (MAINGUI, 13, "PICK UP @OVERHOTSPOT@");
    }
  else if (GetCursorMode()==6) {
    SetLabelText (MAINGUI, 13, "CLICK");
    }
  else if (GetCursorMode()==7) {
    SetLabelText (MAINGUI, 13, "WAIT...");
    }
  else if (GetCursorMode()==8) {
    SetLabelText (MAINGUI, 13, "OPEN @OVERHOTSPOT@");
    }

It works fine, except the hotspot isn't shown while the click is being processed. Instead you should use this script:
  string bunky;string texty; int cursy;
  StrCopy (texty, "");
  cursy=GetCursorMode();
  if (cursy==0){
    StrCat(texty,"Walk to ");}
  else if (cursy==1) {
    StrCat (texty,"Look at ");}
  else if (cursy==2) {
    StrCat(texty,"Use ");}
  else if (cursy==3) {
    StrCat(texty,"Talk to ");}
  else if (cursy==4) {
    StrCat(texty,"Use ");
    GetInvName (player.activeinv, bunky);
    StrCat(texty,bunky);
    StrCat(texty," with ");}
  else if (cursy==5) {
    StrCat(texty, "Pick up ");}
  else if (cursy==8) {
    StrCat(texty, "Open ");}
  GetLocationName(mouse.x,mouse.y,bunky);
  StrCat(texty,bunky);
  SetLabelText (MAINGUI,13,texty);

This updates the hotspot even while the mouse click is being processed.

I hope I'm not being dumb or nothing...
#1751

I wonder if they know they're a famous game...
#1752
General Discussion / Re: It's my birthday!!
Sun 22/08/2004 08:53:09

Hey sweet, happy birthday. Note your profile has a happy birthday cake on it!



Woopee!
#1754

PlayVideo
PlayVideo (string filename, int skip, int flags)

Plays an AVI or MPG file, or any other file type supported by Media Player.
FLAGS can be one of the following:

0: the video will be played at original size, with AVI audio
1: the video will be stretched to full screen, with appropriate
   black borders to maintain its aspect ratio and AVI audio.
10: original size, with game audio continuing (AVI audio muted)
11: stretched to full screen, with game audio continuing (AVI audio muted)

SKIP defines how the player can skip the video:
0  player can't skip video
1  player can press ESC to skip video
2  player can press any key to skip video
3  player can press any key or click mouse to skip

The game is paused while the animation plays.
IMPORTANT: Any video files you have for this cannot be compiled into the main game data file, so you will have to place them seperately in the Compiled folder for them to work.

IMPORTANT: The end player will have to have the correct codecs installed in order to play the video. Bear in mind that if you encode your intro with DivX, for instance, the player will need to have that codec installed in order to view the video.

NOTE: Since the video must play at your game's colour depth, you may notice that in a 256-colour game it is very difficult to get a video that looks good, due to the attempt to reduce the depth of the video on the fly. FLIC may be a better choice for 256-colour games.

Cross-Platform Support

Windows: Yes
MS-DOS: No
Linux: No

Example:

PlayVideo ("intro.mpg", 1, 1);

will play the video Intro.mpg, allowing the player to skip with ESC if they've seen it before.
See Also: PlayFlic

RTFM.

Edit: Removed the quote to scroll better.
#1755

set your game to 'guis unchanged when disabled.'
#1756

Thanks it works okay now.

Now I'm just upset because my .wav was 3kb and my .ogg file is 10kb...

You can't win can you?
#1757
The Rumpus Room / Re: How did you find AGS?
Wed 18/08/2004 13:01:58

especially me :D
#1758

Another suggestion. If you have a function without any variables, eg:
function DoThing () {
  MoveCharacter (EGO, 40, 70);
}

Then if you wanted to call the function you could just type:
DoThing;

And leave off the brackets.
#1759

In future just give 2ma2 a PM... I uploaded to 2dadventure for you (there was really no need, just felt like it.)

Download.
#1760

Err probably. But how to compress them?

P.S. Sorry ben for posting in your topic   :'(

PP.SS Is there a smaller or better format than wave sounds for your game?
SMF spam blocked by CleanTalk