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

#41
Update: It seems the normal font has the same issue as the sprite font with "resize ascender to nominal height" switched off? So this setting fixes the issue with standard fonts but doesn't affect the spritefont plugin? Honestly, I have no idea how it works exactly and why "do nothing" changes the font's height to 4 - I've been fumbling through this by trial and error :-[.

#42
I'm using Calin Leafshade's spritefont plugin and ever since switching to AGS 3.6, I've been having some issues with it (at least I *think* it started with AGS 3.6, but it could be a coincidence). What seems to be happening is that the game treats the font as if the first line had minimum height. When I disable the sprite font, the text appears normally. I've tried experimenting with various import sizes and combinations of the "TTF fonts adjustment defaults" and "TTF fonts height used in the game logic" settings, but none of it seems to affect the sprite font. The only settings that have an effect on it are line spacing and offset - so far I've managed to use those to work around the issue in text windows, but it doesn't help in lists, such as dialogue options or the savegame window below:




To make things more confusing, this list was messed up before similar to the savegame one, and now it seems to be working fine - and I have no idea what I did to achieve that  ???.



Will be thankful for any help, I would really like to keep using the plugin. I'm using AGS 3.6.0.39. Thank you!
#43
Thank you, this clarifies it! I'll just work around it then.
#44
As part of a day/night cycle, I'm using ambient tint with gradually changing RGB values (so that a reddish sunset tint slowly goes through purple to eventually change into night blue, etc.). And I've noticed that specific RGB combinations give strange results.

For instance, the value 26/20/37 should be purple, but tints the character turquoise. All surrounding combinations - 27/20/37, 25/20/37, 26/21/37, 26/19/37, 26/20/38, 26/20/36 - are appropriately purple. The same thing happens for the combinations 31/21/35, 30/21/35 - they are greenish blue instead of purple, as if the r value was 0.



I can manually find the problematic combinations and have the script avoid them, but I was wondering what was causing this. I'm using AGS 3.6.0.39
#45
Thanks everyone for the nice feedback! If you decide to also leave a rating/comment on the game's page, that's always appreciated :). Meanwhile, here's another look at how the remake is coming along:

#46

For your consideraiton:




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


Please consider for:

  • Best Freeware Game Created with AGS
  • Best Short Game
  • Best Writing
  • Best Character (Helga?)
  • Best Puzzles
  • Best Background Art
  • Best Character Art
  • Best Music and Sound
  • Best Gameplay
#47
Quote from: eri0o on Tue 27/12/2022 19:37:14music1 is a bad name for a variable that represents the audio channel, this makes the code really confusing.  :-\

Okay, I'll consider sticking to the "ach" prefix for channels you suggested before :).
#48
Yes, I think it's clear now. Thank you!
#49



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!
#50
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;
    }
#51
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?
#52
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 :).
#53
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? :)
#54
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.
#55
Quote from: Furwerkstudio on Sun 28/08/2022 14:51:10
A side question, why is the jam being hosted on Itch.io this year instead of Gamejolt?

AFAIK Gamejolt has become pretty strict on adult content, and the organizers of the jam wanted to maintain creative freedom. I'm not sure games like The Gay Agenda would have been possible to publish on GameJolt.
#56
Quote from: heltenjon on Fri 19/08/2022 00:36:51
I played Honza's The Witch's Lullaby, the overall winner of the Jam. This is an amazing short/medium game. The graphics, story, music, story and characters are all top notch. I also think this one has the best pixel hunt mechanic I've ever seen. Highly recommended!

Thanks for playing, glad you liked it!

Quote from: Stupot on Fri 19/08/2022 14:05:02
Congratulations Honza. I’m sad to say I haven’t had a chance to check out any of the entries yet, but I will definitely get around to The Witch’s Lullaby as soon as I can.

Thank you, let me know what you think once you've had a chance to play.
#57
The results have been out for a week and The Witch's Lullaby ranked #1 :-D! Still planning to make some updates to it, but hoping to add it to the AGS website in a foreseeable future (*hoping* being the key word ;)).

All the games in the top 10 or so are worth playing. My personal favorite is unsurprisingly The Telwynium Book Two, but there's a lot of really fun games - I can also recommend Where Wolf?, The Gay Agenda, Stowaway, Oh My God and Last Christmas.

EDIT: I almost forgot Ghost V! Liked that one a lot too, it's light on puzzles, but it has great retro sci-fi atmosphere.
#58
Thanks, guys! And thank you for the bug report Creamy, fixed it in my local version, should be uploading it with a new update soon-ish.
#59
I submitted an AGS game to this one. It's kinda King's Questy, so if you're into pretty fantasy forests, you should have fun with it :).

I'll add it to the AGS database once I decide to stop updating it.

https://hvavra.itch.io/the-witchs-lullaby


#60
Quote from: Nowhere Girl on Mon 21/02/2022 16:03:12
Quote from: Honza on Mon 21/02/2022 15:25:54
The ambivalent news - I'm not yet sure I will be releasing it for free. As I wrote above, I would like to publish a short game anthology commercially, and LitT will be part of that package. So we'll see once it's done - chances are I'll only publish an updated version of the demo and leave the rest for the commercial release. Then again, I'm excited to see people play it, so who knows, maybe I'll cave :).
I'm perpetually short on money. :( I mean really.
But maybe I could be a beta tester in exchange?

I'll definitely be looking for testers eventually, so I'll try to keep the offer in mind. Good luck with your game, sounds like it could be interesting! Anyway, I've already been reminded that we are getting a bit off topic here, so let's keep this thread focused on Truth be Trolled (which means inactive for now I'm afraid). Feel free to DM me though!

Just to clarify for others, we were talking about this game: Long in the Tooth on GameJolt. Offtopic over!
SMF spam blocked by CleanTalk