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

#21
Yes, I think it's clear now. Thank you!
#22



Famed for its mushrooming business and idyllic countryside, the land of Fungham has seen better days. A child has gone missing, a demonic witch haunts the woods and if you're not careful, gnomes will take your socks. Also, there is a pig king... don't ask. But why have all these creatures suddenly appeared? Where did the witch come from and what does she want? Could the answer to everything lie behind the ancient gate in the nearby mountains?

The Witch's Lullaby is a classical point and click adventure, somewhat reminiscent of games like King's Quest or Legend of Kyrandia. It was made in two weeks for AdvJam 2022 and it ended up ranking #1 in the jam.

Windowed mode recommended if you have a low tolerance for blurry pixels :).

Check it out here:
ITCH | AGS database

Credits:

Written, drawn and coded by Jan Vávra

Music by Paco Diago

Sound by Maxim Grachev / freesound.org

Lullaby lyrics by Kasia "Hitohai" Wasylak

There is also a full-length, high-res (or, rather, somewhat-higher-res ;)) remake in the works. Here's a small preview:


Enjoy!
#23
Yep, I imagined music1 != null and music1.PlayingClip != null was essentially testing for the same thing and would be redundant to do both, now I get the difference between them. This is the new code and it seems to be working:

Code: ags
  if (music1 == null) {
    if (Music != null) music1 = Music.Play (eAudioPriorityNormal, eRepeat);
    }
    
  else {
    if (Music != null && music1.PlayingClip != null) {
      if (Music != music1.PlayingClip) music1 = Music.Play (eAudioPriorityNormal, eRepeat);
      }
    else if (Music != null && music1.PlayingClip == null) music1 = Music.Play (eAudioPriorityNormal, eRepeat);
    else if (Music == null && music1.PlayingClip != null) music_fadeout = true;
    }
#24
I think I got it (maybe? :)). I conflated a channel being null with a channel not playing anything. But my channel was probably null because I hadn't played anything on it yet, so it hadn't been assigned one of the 16 permanent game channels. Would that make sense?
#25
So how can a channel become null? I assumed it was when it hasn't been assigned a clip or has stopped playing one, but if that's not the case, then I'm not sure I understand what a channel being null means :-[.

Thank you all for the patience and helpful tips otherwise :).
#26
I arrived at the same thing by trial and error in the meantime, but I guess I still don't understand how it works :). Now I'm having trouble with this line of code for instance:

Code: ags
else if (Music != null && music1 != null) {
    if (Music.ID != music1.PlayingClip.ID) music1 = Music.Play (eAudioPriorityNormal, eRepeat);
    }

Again, I would get a null pointer error on the second line occasionally. But if music1 isn't null, wouldn't it mean that it must be playing some instance of a clip, so music1.PlayingClip.ID can't be null either? Or what is the null pointer I'm referencing this time? How many potential null pointers do I have to check every time I want to play new music? :)
#27
I'm getting this error message on this line of code:



I'm referencing a null pointer when specifically checking for null pointers?!

Music is an AudioClip, music1 is an AudioChannel, they're both defined in Global variables. Sorry if I'm not providing enough context, not sure what is relevant here. Thanks to anyone who can help! Trying to handle sound in AGS has been giving me a headache.
#28
AGS Games in Production / Re: Goblin's Quest
Fri 23/07/2021 07:58:36
Loving the aesthetic! Also happy to finally see a fellow Czech around here :).
#29
The Rumpus Room / Re: What grinds my gears!
Fri 25/06/2021 00:04:51
Quote from: Sinitrena on Thu 24/06/2021 15:32:22
https://dark.netflix.io/en  -  helps keeping track of people and relationships. You can choose season and episode to avoid spoilers. I didn't need it, but I binge-watched, which really helped, not too much time between episodes, so not so much stuff I could forget from one episode to the next or from season to the next.

That's a really well-made website! I think I could have made sense of it if I had been more invested, but the endlessly labyrinthine nature of the plot started feeling silly to me - it seemed to have reached a point where everything that could have been done had been done at least three times and nothing could surprise me anymore. I still respect the show, but if I want a story in the form of a Sudoku puzzle, I'll finally finish Obra Dinn instead :). Actually, come to think of it, Dark might be one of those rare cases of a story that would work better as a game.
#30
The Rumpus Room / Re: What grinds my gears!
Thu 24/06/2021 15:10:14
Quote from: Stupot on Thu 24/06/2021 10:14:06
@Honza - I’ve been thinking of watching this. From the trailer, it seemed a bit like DARK, which is the best thing to come out of Netflix so far. Based on your review, I will lower my expectations. But if I watch it, I’ll share my thoughts.

By the way, everyone watch Dark.

I really enjoyed the first season of Dark, kept watching through the second, but then I gave up on it halfway through the third season - it became too convoluted, I realized that most of the time I had no idea what was going on anymore ;). Katla is similar to Dark in tone and atmosphere, but the story is much simpler and more straightforward. The plot could probably be condensed into one episode of Outer Limits.

A lot of people seem to enjoy Katla, it has surprisingly good reviews - so maybe give it a try regardless of what I said. There's a lot to admire about it if you can get past the way the characters (don't) communicate or even think clearly.
#31
The Rumpus Room / Re: What grinds my gears!
Thu 24/06/2021 07:53:14
Has anyone seen the Netflix show Katla? It seemed great at first: a slow-burn, psychological sci-fi mystery with amazing atmosphere and cinematography. BUT...

The behavior of the characters in the show is *insanely* illogical and stupid. I'm not a stickler for these things, I'm usually perfectly fine with suspending disbelief and just enjoying the themes and atmosphere when logic takes a back seat. But this one takes all the frustrating contrivances from mystery shows like Lost and brings them to an entirely new level. People *never* ask the most basic questions. Nobody has a coherent conversation about anything - it's always a variation on "vague comment - vague response - pensive stare - leaves without a word." Ridiculous and disastrous misunderstandings ensue because none of these people seem capable of forming a sentence. It literally had me yell at the screen a few times, and then wonder if this is supposed to be some sort of dream reality, or if they are intentionally trolling the audience. I haven't been this frustrated with a piece of entertainment for a very, very long time.

Anybody with me? :)
SMF spam blocked by CleanTalk