AGS Awards nominations close at 13:59 GMT on Saturday 10 February 2018. You haven't yet nominated, so you've got 18 days and 9 hours left to play the games and decide which to nominate!

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.


Messages - Kweepa

Pages: [1] 2 3 ... 163
1
The Rumpus Room / Re: Can you solve this riddle?
« on: 14 Jan 2018, 15:37 »
Elven?

2
The Rumpus Room / Re: Can you solve this riddle?
« on: 13 Jan 2018, 18:46 »
Anyone want a hint? ???

3
The Rumpus Room / Re: Can you solve this riddle?
« on: 12 Jan 2018, 15:05 »
A haiku:

Bounteous in girth,
By light under emerald,
Ceylon use prevails.

4
The Rumpus Room / Re: *Guess the Movie Title*
« on: 05 Jan 2018, 20:31 »
Jack, I'm curious about the first still...
Is there anything in that image that would suggest "The Gods Must Be Crazy"?
This is not a criticism :)

5
The Rumpus Room / Re: Slasher's Corner
« on: 04 Jan 2018, 21:39 »
Hmm, your code only changes the view when entering a room.

Here's how I would do it (in the global script):

Code: Adventure Game Studio
  1. int oldX;
  2. int oldMove;
  3. enum EState
  4. {
  5.   eStopped,
  6.   eMovingNoDecision,
  7.   eMovingMadeDecision
  8. };
  9. EState state;
  10.  
  11. function repeatedly_execute_always()
  12. {
  13.   int xMove = player.x - oldX;
  14.   if (player.Moving)
  15.   {
  16.     if (state == eStopped)
  17.     {
  18.       state = eMovingNoDecision;
  19.     }
  20.     if (state == eMovingMadeDecision && oldMove != xMove)
  21.     {
  22.       state = eMovingNoDecision;
  23.     }
  24.     if (player.View == 1)
  25.     {
  26.       if (xMove > 0)
  27.       {
  28.         player.ChangeView(3);
  29.         state = eMovingMadeDecision;
  30.       }
  31.       else if (xMove == 0 && state == eMovingNoDecision)
  32.       {
  33.         if (player.DestinationX > player.x)
  34.         {
  35.           player.ChangeView(3);
  36.         }
  37.       }
  38.     }
  39.     else if (player.View == 3)
  40.     {
  41.       if (xMove < 0)
  42.       {
  43.         player.ChangeView(1);
  44.         state = eMovingMadeDecision;
  45.       }
  46.       else if (xMove == 0 && state == eMovingNoDecision)
  47.       {
  48.         if (player.DestinationX < player.x)
  49.         {
  50.           player.ChangeView(1);
  51.         }
  52.       }
  53.     }
  54.   }
  55.   else
  56.   {
  57.     state = eStopped;
  58.   }
  59.   oldX = player.x;
  60.   oldMove = xMove;
  61. }
  62.  

6
The Rumpus Room / Re: What's on TV?
« on: 03 Jan 2018, 21:30 »
That is Leo, yup, but it's S1E22, when they use 'the signal' to communicate while Bartlet is doing a town hall.

That looks near-future (with the cool old fashioned lamp and the mysterious middle eastern chap in the picture).
Is it an episode of Black Mirror?

7
The Rumpus Room / Re: What's on TV?
« on: 03 Jan 2018, 19:59 »
You are wrong. It IS the West Wing!

8
The Rumpus Room / Re: What's on TV?
« on: 02 Jan 2018, 16:25 »
Sorry about the delay!


9
The Rumpus Room / Re: What's on TV?
« on: 30 Dec 2017, 23:57 »
Hmm
- looks like an office
- there's a stack of newspapers in the floor
- there's a circular logo on the wall with a rectangular banner across it
- fashion looks like circa 2000

News Radio?

10
You spelled 'haberdashery' wrong.
Do I qualify for a QA credit and a free copy?

11
Could it be you didn't 'fill' the hotspot with a solid colour?
Or perhaps the hotspot is behind another object that is consuming the click?
You could add this code to the room script:
Code: Adventure Game Studio
  1. function on_mouse_click(MouseButton button)
  2. {
  3.   Hotspot *h = Hotspot.GetAtScreenXY(mouse.x, mouse.y);
  4.   if (h != null)
  5.   {
  6.     if (h.IsInteractionAvailable(eModeInteract))
  7.     {
  8.       Display("Hotspot %s has interact interaction.", h.Name);
  9.     }
  10.     else
  11.     {
  12.       Display("Hotspot %s has NO interact interaction.", h.Name);
  13.     }
  14.   }
  15.   else
  16.   {
  17.     Display("No hotspot there.");
  18.   }
  19.   Object *ob = Object.GetAtScreenXY(mouse.x, mouse.y);
  20.   if (ob != null)
  21.   {
  22.     Display("Object %s hiding hotspot.", ob.Name);
  23.   }
  24.   Character *c = Character.GetAtScreenXY(mouse.x, mouse.y);
  25.   if (c != null)
  26.   {
  27.     Display("Character %s hiding hotspot.", c.Name);
  28.   }
  29. }
  30.  

12
The Rumpus Room / Re: What's on TV?
« on: 29 Dec 2017, 16:02 »
It is "I Love You, America", yes. Well identified!
(nod)(nod)(nod)(nod)(nod)(nod)(nod)(nod)(nod)(nod)(nod)

13
General Discussion / Re: Ask something - We can help.
« on: 29 Dec 2017, 06:40 »
Unfortunately I can't find a version that works with 3.x, although I thought I updated it at one point.

14
Agree totally with Gilbot7000.
I would have these globals: CurrentMagazineSize, TotalBullets, BulletsInMagazine.
Code: Adventure Game Studio
  1. int bulletsToLoad = Maths.Min(CurrentMagazineSize - BulletsInMagazine, TotalBullets);
  2. if (bulletsToLoad > 0)
  3. {
  4.   aReloadGun.Play();
  5.   TotalBullets -= bulletsToLoad;
  6.   BulletsInMagazine += bulletsToLoad;
  7.   btnAmmo.Width = 20 * BulletsInMagazine;
  8. }
  9. else
  10. {
  11.   aEmptyGun.Play();
  12. }
  13.  
I don't see where the UI for the total bullets is updated. Perhaps that doesn't update until you fire again?

15
General Discussion / Re: Ask something - We can help.
« on: 29 Dec 2017, 00:48 »
Which plugins are missing from AGS-3D?

16
The Rumpus Room / Re: What's on TV?
« on: 29 Dec 2017, 00:43 »
It could (nod)

17
The Rumpus Room / Re: What's on TV?
« on: 28 Dec 2017, 22:59 »
It's more recent than Roseanne, but less recent than Studies in Settees.

18
The Rumpus Room / Re: What's on TV?
« on: 28 Dec 2017, 18:23 »
Really enjoyed the show!

Next:

19
The Rumpus Room / Re: Name the Game
« on: 28 Dec 2017, 03:48 »
Where in San Francisco is Carmen Sandiego?

20
Beginners' Technical Questions / Re: Background Problem
« on: 28 Dec 2017, 02:38 »
Yeah, I tried 1bit and 4bit pngs and neither could be used as backgrounds.
Developers, try these:


Pages: [1] 2 3 ... 163