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

#321
The Rumpus Room / Re: Name the Game
Tue 12/11/2013 11:55:51
Fire force (roll)
#322
The Rumpus Room / Re: Show us your desk, baby.
Tue 29/10/2013 10:39:39




I modified the desk so the computer sits underneath and you can wheel it out. One of my greatest achievements!  ;-D
#323
What you need a NON BLOCKING WAIT FUNCTION

This topic has no doubt been covered before, but I'll dispense my knowledge nonetheless.

In my early programming days, when I was young and naive, I used my own custom-made, non-blocking timer that involved playing a silent sound clip (~ 1 sec) and repeatedly checking if the sound was still playing (with IsSoundPlaying(), now obsolete) in the repeatedly execute function.  When the sound wasn't playing, the timer had expired and an action could continue.

I then discovered these..

SetTimer (int timerID, int cycles)
IsTimerExpired(int timerID)

I tried to implement the above functions in a similar fashion to the 'sound check' method, but discovered that IsTimerExpired() actually only returns true once, then false again.  This is unlike IsSoundPlaying() which will always return false when there is no sound.

So you can try sticking this in your global script..

Code: AGS

bool pause_timer_state;

function pause_timer(int cycles)
{
  if (cycles == 0)
  {
    if (pause_timer_state == 0) return 0;  // timer has expired
    else return 1;
  }
  else
  {
    SetTimer(1, cycles);
    pause_timer_state = 1;
  } 
}

function repeatedly_execute()
{ 
  if ((pause_timer_state == 1) & (IsTimerExpired(1) == true)) pause_timer_state = 0;
}


Call pause_timer(cycles) to set the timer, where cycles (> 0) is the duration of the timer.
Call pause_timer(0) from repeatedly execute to check if timer has expired.

This code only uses one timer (ID=1), but you could modify the code to introduce multiple timers.

ALSO..
Don't forget to include eNoBlock when NPC is walking or animating.
#324
I'd like to volunteer for the role of belching plant. Please send me the script so I can rehearse.
#325
QuoteChuck Norris VS the mole people

Brilliant! If no other takers, I'm gonna steal adopt that idea for my next project..

#326
I love big butts too!
#327
QuoteHow's
QuoteToo bad it was your good hand that you tied.
possibly a counter-insult?

Implies the idiot tied the wrong hand because he's an idiot!

Ahem..

QuoteI've seen better fighting style in a small hedgehog!

You've been playing too much Sonic the Hedgehog.

---------------------------------

I've seen better fighting style from a pudgy Italian plumber!
#328
QuoteI am above fighting such a coward as you!

Look out! Aww.. Too late. You just trod in dog poo!

--------------------------

Your theatrical moves belong in a Gilbert and Sullivan play!
#329
The Rumpus Room / Re: Name the Game
Mon 01/07/2013 09:54:14
Correct. Good work Gribbler. You certainly know your stuff. And i must agree, Sherlock (in disguise) does look a lot like John Cleese in this sketch.. scene.
#330
The Rumpus Room / Re: Name the Game
Sun 30/06/2013 21:54:02
bbX1138 - no

and Gribbler - no

I'll give you a clue.. it's a fake moustache!
#331
QuoteMy swordmastery is known across the seven seas

Aye, your comedy act is well known. Folk laugh til they cry and fall to their knees.

------------------------------------------

Cake or death?
#332
The Rumpus Room / Re: Name the Game
Sun 30/06/2013 12:33:28
#333
Hints & Tips / Re: Chalkman
Sun 30/06/2013 00:50:04
Michael.
Sounds like you're on the right track.
#334
The Rumpus Room / Re: Name the Game
Sun 30/06/2013 00:44:26
It's toonstruck 2. But I'm not sure what the connection is. I've never actually played this but I've seen the screen shot before when I googled the old toonstruck looking for some music from that game. According to the Wikipedia entry for toonstruck there was additional material made but not included in the first game, and it has been or will be released in a second game.
#335
Hints & Tips / Re: Chalkman
Thu 27/06/2013 12:43:02
Good work getting into the
Spoiler
vault via subway.
[close]
Did you
Spoiler
talk to the guards in the casino outside the vault?
[close]
If so, can you
Spoiler
give them something to put in the vault?
[close]
Hint:
Spoiler
Watch Ocean's 11.
[close]
If you don't own a copy of
Spoiler
Ocean's 11
[close]
then
Spoiler
Go to the video shop and rent Ocean's 11.
[close]
If you don't have the
Spoiler
item for the vault
[close]
then you may need to
Spoiler
Solve another random and idiotic puzzle first.
[close]
Good luck!

Also, check this promo I made recently. You might see a clue somewhere that might help.
#336
As far whiffiness goes.. you take the lead.

------------------------------------

I fart in your general direction.
#337
I can't think of anything.. I'm off to bed now.. I'm sure Miguel will come up with something involving a 'boner'
#339
Hints & Tips / Re: Chalkman
Mon 24/06/2013 12:51:08
Hey mate.

I'll send you a walk through of the mall maze tomorrow when I can get to the computer. Didn't get a chance tonight. Using iPhone.

Sounds like you're nearly there anyway. If you got to level 3 and are in the right grid cell, then just try going down a couple of flights of stairs back to level 1.


MEGA MART MAZE WALKTHROUGH
Spoiler

Starting at the entrance, proceed as follows:

LevelCellGo through door *
1D11
1C21
1C30
1B43
2B52
2C52
2D52
2E52
2F53
3G52
3G42
2G31
1G41 or 2


* where:

0 = middle door
1 = left door
2 = right door
3 = left stairs
4 = right stairs
[close]
#340
QuoteYour Mom is so hairy, Bigfoot takes pictures of her.

So you're the pervert who's been taking photos of her twat and posting on hornymums.com!!? Shame on you sir!

-------------------------

Did your mother drop you on your head when you were young?
SMF spam blocked by CleanTalk