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

#2261
Advanced Technical Forum / Re: Keycode Problem
Wed 16/06/2004 10:24:26
What is the variable b for?

If it can only be either 0 or 1 then

  if (keycode==359) GUIOn (1);

would never be true since you reset the keycode variable in both instances.
#2262
QuoteI goofed something up and would fix it later
Quotesome odd problem with my GUI

I don't get it.
What are you doing? Are you modifying the Demo game? Do you have a problem with your own game?
And what exactly is the problem? Is code from the repeatedly_execute function executed that isn't supposed to be executed? ???

Edit:
I've just read your other thread. You're working on the new demo game, right?
But I still can't figure out what exactly your problem is.
#2264
Quote from: Scorpiorusblocking commands block the text script but not the interaction editor's actions

Thanks for stating it so quotable. ;)
Now if only I knew what happenend to the tidbits & snippets thread...
#2265
It looked to me like its left side was pointing to the bottom left.
#2266
Quick & dirty:

#2267
Wow, it's excellent.
But to me the whole scene looks kind of skewed, like something is pulling it to the bottom left:


Know what I mean?
#2268
The Rumpus Room / Re: game nostalgia
Tue 15/06/2004 19:16:27
QuoteDoes anyone know where I can find an Atari ST-Emulator and Games?

Don't know about games, but the emulator Steem looks good. Never tried it though.
#2269
You can define your own custom function:

Global script

function RandomEx(int min, int max) { return (min + Random(max-min)); }

Script header (so you can use it outside the global script, ie in rooms)

import function RandomEx(int min, int max);
#2270
Hm, I don't even remember... ???
I visited the forums about about 1 1/2 years ago, posted some character art in the Critic's Lounge, then quickly lost interest.
I returned earlier this year and have (slowly) been working on a game ever since.

QuoteEver wonder what CJ was doing or where he was at when HE concieved the idea for AGS???

Check this out: The AGS history

Or did you mean something else?
#2271
But you were not trying to use GetLocationName directly, right?
Because
  GetLocationName (int x, int y, string buffer)
fills the string BUFFER, it doesn't return anything (useful).
#2272
Yes, music should be no problem, since it uses another channel.

Let me know how it turns out. :)
#2273
If you mean a single, non-looping sound, I suppose you could use something similar as above by forcing the sound into a specific channel with PlaySoundEx and then adjusting its volume.
So it's certainly possible, yes, but probably not worth the trouble. Why not just pre-process the sound in a wave editor?

Edit:
Maybe we misunderstand each other.
The way my above suggestion would work is that when entering Room 1, the wind ambient sound is played.
The code in rep_ex would sets its volume to 0 at the bottom of the cliff and would increase the volume the higher the player is up the cliff.
This way, you would only need a single looping sound. Its volume is adjusted dynamically.
I assume it would sound much more natural than the wind suddenly fading in if you crossed some invisible line while walking up the cliff.
#2274
Snarky, I think he meant AGS masks, they're different. :)

QuoteI created it in ms-paint but the main problem is, that the I had to use 256 colors and MS-paint's color don't match Ags's

The colors don't need to be the same as in the editor, you just have to use the appropriate palette slots:
Color 0 = transparent
Color 1 = walkable area/hotspot/region 1
Color 2 = walkable area/hotspot/region 2
...etc.

It seems to be quite a pain to do that in Paint, but I've never used it before so I may be wrong.
So yeah, try some other prog from the sticky in the Critic's Lounge.
#2275
You're welcome. :)

And thanks for letting us know it solved your problem!
#2276
You can define more than one "Run script" action for a given interaction.
Just add another "Run script" action or an interaction editor action with the room change in it.
It gets executed after the first "Run script" action.
#2277
Not in VirtualDub.
You need a MPEG encoder, for example TMPGEnc.
#2278
Yeah, I thought about that.

The problem being that the object interaction is executed the moment you click on it when you just use MoveCharacter.

Does
  MoveCharacter(EGO, x, y);
  while (character[EGO].walking) Wait(1); // blocking
trigger the region interaction?

You have to turn off the automatic movement first:
  game.auto_use_walkto_points = 0;

Edit: Could you please let me know how you solved it?
#2279
I think these older AGS versions should be made available from the download page.
The acwin.exe's at least.
#2280
When you click the objects, the character moves there automatically, right?
I suppose region interactions don't get triggered when the game is blocked.

Can't think of a simple solution atm... :-\
SMF spam blocked by CleanTalk