Is it snowing?

Discussion about Rocks'n'Diamonds, Boulder Dash, Supaplex, Emerald Mine and any other BD hybrid.

Moderators: Flumminator, Zomis

Post Reply
balinek
Posts: 10
Joined: Thu Jan 26, 2017 2:28 pm
Location: Poland

Is it snowing?

Post 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 42151 times
User avatar
TheOnyxGuy
Posts: 641
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

Re: Is it snowing?

Post by TheOnyxGuy »

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
Previously known as Eizzoux (boooo)
User avatar
TheOnyxGuy
Posts: 641
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

It is snowing indeed

Post by TheOnyxGuy »

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 42103 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 42103 times
Previously known as Eizzoux (boooo)
jm28121977
Posts: 95
Joined: Thu Aug 16, 2018 8:04 pm
Location: England

Re: Is it snowing?

Post 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:
User avatar
Holger
Site Admin
Posts: 4278
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Is it snowing?

Post by Holger »

Winter is coming! :mrgreen:
balinek
Posts: 10
Joined: Thu Jan 26, 2017 2:28 pm
Location: Poland

Re: Is it snowing?

Post by balinek »

Today it is not snowing :cry:
User avatar
TheOnyxGuy
Posts: 641
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

Re: Is it snowing?

Post by TheOnyxGuy »

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?
Previously known as Eizzoux (boooo)
User avatar
Holger
Site Admin
Posts: 4278
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Is it snowing?

Post 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).
balinek
Posts: 10
Joined: Thu Jan 26, 2017 2:28 pm
Location: Poland

Re: Is it snowing?

Post by balinek »

Ok. I will wait patiently.
filbo
Posts: 677
Joined: Fri Jun 20, 2014 10:06 am

Re: Is it snowing?

Post 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...
User avatar
TheOnyxGuy
Posts: 641
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

It is snowing

Post by TheOnyxGuy »

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 39901 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 39901 times
Previously known as Eizzoux (boooo)
User avatar
Holger
Site Admin
Posts: 4278
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Is it snowing?

Post 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).
filbo
Posts: 677
Joined: Fri Jun 20, 2014 10:06 am

Re: Is it snowing?

Post 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,  //    * *
};
Post Reply