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

#241
The Rumpus Room / Re: Trivia!
Sat 04/11/2017 07:09:03
Oh yes, this still happens! Join us! Still at approximately 2 PM London time, but we'll be waiting till a sufficient number arrive.
#242
Quote from: eri0o on Fri 03/11/2017 11:23:57
Hey, looking above (a piece of Game.agf xml) it's not stored if the alpha was made using leave-as-is, topleft pixel, no transparency, top right pixel... :/

Yes, that's what I was getting at above.
#243
Hmmmm

This is tough, but

1. Tabata -- Best incomplete sprite I've seen. You should be proud of how you captured her form under the translucent dress.
2. Glenjamin -- The goblins have a great "princess". I just wonder where they got the head from.
3. AnasAbdin -- Truly cosmic beauty and she looks very powerful.
#244
Quote from: Crimson Wizard on Fri 03/11/2017 10:50:24
As I noted in my post above, not all sprites keep their links. Sprites copied from clipboard and sprites imported using "tiled import" feature do not have links stored.

Also, nothing has its transparency status stored AFAIK. That 'replace sprite(s) from source' convenience feature uses whatever the dialogue box was last set to.
#245
KyriakosCH, you use && to combine conditions with an 'and' in an if statement.

Combining Crimson Wizard's suggestion and your notes, you want something like this:

Code: ags
function hDoor_Interact()
{
    if(HasPlayerBeenInRoom(1) && HasPlayerBeenInRoom(2) && HasPlayerBeenInRoom(3) && HasPlayerBeenInRoom(4) && HasPlayerBeenInRoom(5))
    {
        player.ChangeRoom(6); // Or the room of your choice
    }
    else
    {
        Display("I don't feel like doing that.");
    }
}
#246
I think the third has the best colouring. I'd go with that, but at high resolution, no window glow.
#247
Let me get this straight, the audio was completely unrelated?
I think a similar thing can happen if you use a 0-frame view as a character's speech view.
I suspect there is a hole in AGS' error checking somewhere. This should probably be looked at.
#248
AGS Games in Production / Re: Tardigrades
Sun 29/10/2017 01:33:11
Quote from: Vainamoinen on Sat 28/10/2017 18:06:28
You must have known what to think of the guy's activism when he likened Escape from Monkey Island to an "old school" "Sierra" game. ;)

Not sure why you're putting old school in quotes. 2000 was the tail end, but it's definitely within the old school of adventure games. He gets the Sierra attribution wrong, but he's clearly not an adventure gamer, so I can forgive him for that.

Welcome to the forum, I guess :\
I assume Darth just edited out the image, but I'm still curious.

Quote from: AnasAbdin on Sat 28/10/2017 10:40:37
The worst part of all, is the hack attacks on my twitter account. Now almost every time I log on my twitter I'm asked to enter a verification code sent to my personal mobile number to make sure it is me. Not to mention the amount of hate mail and malware sent to me :-\

I've mentioned it to Anas already, but I got a login attempt too. I haven't had any in all my years of Twittering. Very strange timing.

I wonder whether the attempts are from CBS or just fans intent on burying this like the single-post keyboard warrior above.

If I were in your situation, I would be really scared by all of these threats. I'm glad you're brave enough to stand up, but why shouldn't you be? I mean, it's your work. It's years of development. You're just one guy, but that doesn't make it right. They can't trample over your work like this. I hope you do continue to get the word out, Anas.

Love the new screenshot too, especially in animated form! I still think you animate water very beautifully.
#249
The Rumpus Room / Re: The 4 word story thread
Thu 26/10/2017 22:51:12
also an arbitrary agitation
#250
General Discussion / Re: Free Steam keys!
Wed 25/10/2017 12:07:04
Thank you, Dan!
#251
Sleep tight, spooky fish

Can you please put Project CARS in my halloween treat bag?

Thank you
#252
Hold your fire, manifest. Darth hasn't confirmed the answer.
#253
John Wilkes Booth

(honest John)
#254
You can speed it up a bit by just working with the pixel you're interested in. Here's a proof of (Snarky's) concept:

Code: ags
int GetPixelAlpha(this DrawingSurface *, int x, int y)
{
  DrawingSurface *surface;
  DynamicSprite *test;
  DynamicSprite *white;
  int alpha;

  if(this.GetPixel(x, y) == COLOR_TRANSPARENT)
    alpha = 0;
  else
  {
    // Create a sprite from the pixel we're interested in
    test = DynamicSprite.CreateFromDrawingSurface(this, x, y, 1, 1);
    white = DynamicSprite.Create(1, 1, true);
    surface = white.GetDrawingSurface();
    surface.Clear(15);
    surface.Release();
    white.CopyTransparencyMask(test.Graphic);
    surface = test.GetDrawingSurface();
    surface.Clear(0);
    surface.DrawImage(0, 0, white.Graphic);
    white.Delete();
    // Obtain the alpha from the green channel
    // From the AGS source:
    // agscolor += ((grn >> 2) & 0x3f) << 5;
    // Green has the most precision
    alpha = (surface.GetPixel(0, 0) >> 5 & 63) << 2 | 3;
    surface.Release();
    test.Delete();
  }

  return(alpha);
}


This returns alpha, so 0 is transparent, 255 is opaque.
#255
General Discussion / Re: Not secure
Mon 23/10/2017 05:08:18
Yes, but it was just as insecure before Firefox told you so.
#256
The Rumpus Room / Re: The 4 word story thread
Mon 23/10/2017 01:26:33
to warn Snappy of
#257
The Rumpus Room / Re: The Points Game
Sun 22/10/2017 10:53:23
Feelgood
#258
The Rumpus Room / Re: The 4 word story thread
Sat 21/10/2017 15:00:30
more determined to find
#259
It looks magnificent, Tabata. I like the rose motif and the shoe design is really pretty. And yes, this competition needs more entries!

Blondbraid, I don't think the shape is too specific. If we had the superhero shape, we can certainly have princesses.

If you wanted to, you could add a second shape. That's what people sometimes do to encourage diversity in the entries. Maybe have a large ball gown? I don't know, I think the current shape is great.

And now, I present to you...

Zahlia, Princess of Flames:

[imgzoom]https://i.imgur.com/tjUDL1x.png[/imgzoom]

Yes, her dress is impossible. Please don't ask about it.
#260
The Rumpus Room / Re: The 4 word story thread
Fri 20/10/2017 04:30:49
forearms and an appetite
SMF spam blocked by CleanTalk