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 - Laura Hunt

#61
Quote from: Khris on Sun 20/11/2022 14:10:06I did a quick test and can easily reproduce this. If the first loop of the view is empty, AGS falls back on sprite #0, then plays sound #0.

Of course! It didn't occur to me that the sound that plays is precisely the one with ID 0. Good catch!

I can't test this right now, but what happens if you try to set another loop that doesn't exist and isn't loop 0? For example, in my case, FIRSTVIEW only has loop 2, so what happens if you try to SetView (FIRSTVIEW, 1)?

EDIT: I was finally able to test it myself and the same thing happens if you assign any existing but empty loop.

If, on the other hand, you assign a non-existing loop (for example (FIRSTVIEW, 3) in my case), the engine will crash with an "invalid loop number" error as expected.
#62
This is kind of a weird one and it might be difficult to explain, but I'll try my best. Using 3.6.0 RC 2.

In a test room for my game, I'm doing the following:

Code: ags
oExampleObject.SetView(FIRSTVIEW);
oExampleObject.Animate(2, 6, eOnce, eBlock);
oExampleObject.SetView(SECONDVIEW);
oExampleObject.Animate(2, 6, eOnce, eBlock);
oExampleObject.SetView(THIRDVIEW);
oExampleObject.Animate(2, 6, eOnce, eBlock);

I know that when you call SetView without the optional loop and frame parameters these default to 0, so that what I'm doing here is equivalent to oExampleObject.SetView(FIRSTVIEW, 0, 0).

However, I made a tiny mistake here, because loop 0 for FIRSTVIEW, SECONDVIEW and THIRDVIEW is empty.

I would expect the game to maybe crash or throw a warning in this case, but what it's doing instead is playing a frame-linked audio that belongs to a completely different view from any of these three every time the SetView command is triggered.

Furthermore, I have not called SetView on any object or GUI button before this.

Obviously what I need to do is set the correct loop in the SetView command: oExampleObject.SetView(FIRSTVIEW, 2). Still, this is very confusing, because I have no idea why AGS is choosing to trigger that specific view and frame when it finds an empty loop.

Anybody have any idea what might be going on here?
#63
The Rumpus Room / Re: *Guess the Movie Title*
Mon 24/10/2022 13:43:55
Quote from: Snarky on Mon 24/10/2022 09:31:51The Cursed, aka Eight for Silver

Thank you!

You're up.
#64
The Rumpus Room / Re: *Guess the Movie Title*
Sun 23/10/2022 21:10:40
Quote from: lorenzo on Sun 23/10/2022 17:38:24Some weird remake of that 007 film with the villain with metal teeth?  :P

Moonraker II: Moonrakerer! :-D

Nope.



I don't think any more images will make it any easier at this point, so if nobody guesses it correctly with this one, I'll reveal the title and pass it on.
#65
The Rumpus Room / Re: *Guess the Movie Title*
Sun 23/10/2022 14:22:30
Quote from: Mandle on Sun 23/10/2022 14:21:10Ginger Snaps?

Nope, similar theme, much more recent.
#66
The Rumpus Room / Re: *Guess the Movie Title*
Sun 23/10/2022 14:18:26
Quote from: Mandle on Sat 22/10/2022 23:12:55Abraham Lincoln: Vampire Hunter

I'm not 100% sure if this is a serious guess or not, but... no.

A clue: the movie is not about vampires.

#67
The Rumpus Room / Re: *Guess the Movie Title*
Sat 22/10/2022 12:55:13
Quote from: Snarky on Sat 22/10/2022 12:32:23Apparently it was called The Nightingale.

Not The Nightingale.

#68
The Rumpus Room / Re: *Guess the Movie Title*
Sat 22/10/2022 11:07:44
Nothing?

#69
The Rumpus Room / Re: *Guess the Movie Title*
Fri 21/10/2022 10:12:07
Quote from: TheFrighter on Fri 21/10/2022 08:26:55Correct, Laura Hunt! An adaption of Angela Carter's novels!

It's actually an adaptation of a couple of her short stories :) To anybody who doesn't know her work, I absolutely recommend checking her out. The collection where these stories appear, The Bloody Chamber, is a great starting point, but my favourite by far is her novel Nights at the Circus. Her prose is just dazzling, especially towards the end of her career (The Bloody Chamber, Nights at the Circus, Wise Children, Black Venus).

So, on with the next film...

#70
The Rumpus Room / Re: Guess the TV show
Thu 20/10/2022 19:38:14
That's Chris Morris, so... Brass Eye?
#71
The Rumpus Room / Re: *Guess the Movie Title*
Thu 20/10/2022 18:53:50
That unibrow, the girl's red cape... That's got to be The Company of Wolves!
#72
Quote from: AGA on Mon 10/10/2022 17:36:35
Quote from: Laura Hunt on Sun 09/10/2022 15:42:50It looks like my "trophies" ("X worked on one or more games that won/were nominated for an AGS award") are not showing under my profile pic. Is there a setting I've missed somewhere that I need to enable in order to display them? Or are my itch/twitter icons overriding them?
Fixed!

Fantastic, thanks a lot!
#73
The Rumpus Room / Re: Guess the TV show
Sun 09/10/2022 17:55:10
Quote from: lorenzo on Sun 09/10/2022 15:52:39Not the right actor (or series).

Oh wow, whoever that is, he absolutely looks like Rik Mayall in that pic!
#74
It looks like my "trophies" ("X worked on one or more games that won/were nominated for an AGS award") are not showing under my profile pic. Is there a setting I've missed somewhere that I need to enable in order to display them? Or are my itch/twitter icons overriding them?
#75
The Rumpus Room / Re: Guess the TV show
Sun 09/10/2022 15:35:57
That looks like Rik Mayall, and since this doesn't seem to be Bottom or The Young Ones, I'm going to go with The New Statesman?
#76
Quote from: Snarky on Sun 28/08/2022 17:58:12
But sure, if that's what you want, it's probably easiest to have each item on a separate GUI. (I think there is a way to peek at what is below a GUI, but I don't remember off the top of my head how to do it.)

The way I do it is simply to check in rep-exec what room object (or hotspot) is at the mouse coordinates, so it doesn't matter whether there's a GUI on top or not.

Code: ags
function room_RepExec() {
  Object*o = Object.GetAtScreenXY(mouse.x, mouse.y);
  if (o == null) // do something like for example clearing the object's name/description from the display
  else // do something else such as displaying the name/description of the object
}


This of course creates the opposite problem: if you don't want objects/hotspots to react to the mouse moving over them when you have a GUI open, you need to add a condition for this not to happen if certain GUI(s) is/are visible.
#77
Quote from: js on Wed 24/08/2022 09:55:30
with some well chosen words (Éh Fthagh'n !).

Ïa! Ïa! (laugh)
#78
One thing you need to consider is that the nominal height will not always (in fact, almost never) reflect the actual total height of the font when descenders and capital letters with accents are taken into account. For example, if you take a look at this font, which has a nominal height of 8px, you will see that characters such as "å" or "Á" are actually 9px tall, so if you have a word such as for example "Álgido", the sum of those 9px plus the couple extra pixels below the baseline from the "g" will add up to an actual height of 11px or 12px.

This means that if you're designing elements such as text boxes that will display text in languages other than English you will have to account for this extra height, which AGS usually resolves and displays correctly on import. Line spacing will also need to be adjusted in most cases, so that there's no overlap between a line that has for example an "Á" that happens to fall right below a "g" from the line above it.

Here is a fantastic comment that explains it super clearly: https://graphicdesign.stackexchange.com/questions/4035/what-does-the-size-of-the-font-translate-to-exactly/8964#8964. In short, you never quite know what a font designer is taking as reference to indicate the size of their font: it could be from the descender to the caps height, or from the descender to the ascender, but in most cases they won't take accents and other diacritical marks into account.

#79
Quote from: Crimson Wizard on Sun 21/08/2022 20:48:04
I added them proper names in 3.6.0 (will be released in the next update), that appeared to be simple enough.

Oh, awesome! Thanks a lot :)
#80
The Rumpus Room / Re: What grinds my gears!
Fri 19/08/2022 16:03:23
Quote from: Danvzare on Fri 19/08/2022 15:52:41
Quote from: Stupot on Fri 19/08/2022 13:52:07
Quote from: Laura Hunt on Thu 18/08/2022 18:36:27
This is petty, but it grinds my gears when people literally write "something-slash-something" or "quote unquote". Those expressions are meant for spoken communication, but it makes zero sense to write all that when the keyboard you're typing on already has slash and quote symbols. "She's a developer-slash-game designer", no, you mean "developer/game designer". "He's a quote-unquote genius", no, you mean "He's a 'genius'".  (roll)

I can’t say i’ve come across this but it would grind my gears too. It’s not like typing “period” or “full-stop” at the end of a sentence because that actually performs a function beyond just typing the actual symbol. But the examples you gave don’t do anything that just typing the symbols doesn’t already do, so yeah, that would annoy me too.
I am so glad I've never come across that as well, because that would also grind my gears.

There you go, third paragraph: https://newsletters.theatlantic.com/galaxy-brain/62fc502abcbd490021afea1e/twitter-viral-outrage-ai-art/

"A day later, an artistâ€"slashâ€"art director saw the post and noticed that I credited “AI art by Midjourney” in the captions."

(also relevant to the AI art debate going on in another thread I guess)
SMF spam blocked by CleanTalk