Page 1 of 1

Is it snowing?

Posted: Sun Nov 28, 2021 8:09 am
by balinek
Hello.
I played today some levels in different levelsets and after few minutes of playing I saw snowflakes. Is it normal?
I have 4.2.3.1 now.
Screenshot_2021-11-28_09-17-23.png
Screenshot_2021-11-28_09-17-23.png (589.32 KiB) Viewed 24927 times

Re: Is it snowing?

Posted: Sun Nov 28, 2021 2:35 pm
by Eizzoux
Well, judging by the fact that you're playing R'n'D Jue, that just might be it's exclusive feature. At least I assume

It is snowing indeed

Posted: Sun Nov 28, 2021 3:18 pm
by Eizzoux
Just doublechecked, and... man, it's actually the event of the RnD itself. Nice touch! Also, snowflakes textures seem to be stored in the game itself or, perhaps, randomly generated (second theory has a place since textures of flakes are very simple enyways), since I can't find their sprites anywhere in gfx folder.
Yeah, sorry
Yeah, sorry
ytgwfvkwerguwe.png (55.42 KiB) Viewed 24879 times
Kinda fits with my christmas sprites, except the fact they'd usually blend with snow (sand)
Snow on snow
Snow on snow
egtfatgr.png (526.3 KiB) Viewed 24879 times

Re: Is it snowing?

Posted: Sun Nov 28, 2021 10:38 pm
by jm28121977
Yes, I noticed this today too. It really made me smile. Problem was that my three-year-old got so distracted by the snowflakes that he was just chasing them round the screen and not focusing on what was happening in the actual level. :lol:

Re: Is it snowing?

Posted: Sun Nov 28, 2021 11:05 pm
by Holger
Winter is coming! :mrgreen:

Re: Is it snowing?

Posted: Mon Nov 29, 2021 7:16 am
by balinek
Today it is not snowing :cry:

Re: Is it snowing?

Posted: Mon Nov 29, 2021 10:06 am
by Eizzoux
balinek wrote: Mon Nov 29, 2021 7:16 am Today it is not snowing :cry:
It starts snowing after several minutes... or ya mean IRL?

Re: Is it snowing?

Posted: Mon Nov 29, 2021 12:35 pm
by Holger
Today it is not snowing :cry:
No, it isn't. Thought it could be annoying to have it snowing in R'n'D for the whole winter season. ;-)

But don't worry, just wait for next Sunday (2. Advent), and it will snow again, and with some more snow than yesterday. :-)

Hint: If you can't wait, blindly type ":xsnow" in the main menu to get back the snow. Type it up to five times to get even more snow (or wait for x-mas). You will then also get an entry in the "graphics" setup menu that will let you permanently enable snow, for example, to cool down in summer (or disable it, if you hate snow).

Re: Is it snowing?

Posted: Mon Nov 29, 2021 7:52 pm
by balinek
Ok. I will wait patiently.

Re: Is it snowing?

Posted: Tue Nov 30, 2021 7:15 am
by filbo
I saw this last xmas season ... but I always run latest git code, so I'm not sure if it was actually 'shipping' in time for last year...

It is snowing

Posted: Sun Dec 10, 2023 6:57 am
by Eizzoux
Okie, winter holidays incoming just in weeks, and it's snowing in-game yet again. And the reason I'm bringing this up again is just a curiosity if the flakes are actual sprites or are they procedurely generated in some way?

ihdaaffika.png
ihdaaffika.png (815.95 KiB) Viewed 22677 times


By the way, just also noticed how flakes actually slightly fade out when pointing at the bottom.

fshgsfeswdf.png
fshgsfeswdf.png (48.03 KiB) Viewed 22677 times

Re: Is it snowing?

Posted: Sun Dec 10, 2023 12:52 pm
by Holger
Okie, winter holidays incoming just in weeks, and it's snowing in-game yet again. And the reason I'm bringing this up again is just a curiosity if the flakes are actual sprites or are they procedurely generated in some way?
No magic here; the snowflakes are just simple sprites (but not stored as PNGs, but directly in the code):

Code: Select all

static byte xsn_bits_0[] = { 0x05, 0x02, 0x05 };
static byte xsn_bits_1[] = { 0x22, 0x6b, 0x14, 0x2a, 0x14, 0x6b, 0x22 };
static byte xsn_bits_2[] = { 0x14, 0x08, 0x49, 0x36, 0x49, 0x08, 0x14 };
By the way, just also noticed how flakes actually slightly fade out when pointing at the bottom.
Yes, to make it possible to still see potential control buttons at the bottom of the screen, as also used in the Emerald Mine Club and Supaplex level collections (which is especially useful when there is even more snow around christmas).

Re: Is it snowing?

Posted: Mon Dec 11, 2023 3:45 am
by filbo

Code: Select all

static byte xsn_bits_0[] = {
    0x05,  //      * *
    0x02,  //       *
    0x05,  //      * *
};
static byte xsn_bits_1[] = {
    0x22,  //   *   *
    0x6b,  //  ** * **
    0x14,  //    * *
    0x2a,  //   * * *
    0x14,  //    * *
    0x6b,  //  ** * **
    0x22,  //   *   *
};
static byte xsn_bits_2[] = {
    0x14,  //    * *
    0x08,  //     *
    0x49,  //  *  *  *
    0x36,  //   ** **
    0x49,  //  *  *  *
    0x08,  //     *
    0x14,  //    * *
};