# Season themed Main screen \[suggestion\]

**URL:** <https://discourse.cataclysmdda.org/t/season-themed-main-screen-suggestion/17300>\
**Category:** The Drawing Board\
**Created:** [November 2, 2018, 1:09pm UTC](https://discourse.cataclysmdda.org/t/season-themed-main-screen-suggestion/17300 "2018-11-02T13:09:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fris0uman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fris0uman/32/8607_2.png) [@Fris0uman](https://discourse.cataclysmdda.org/u/Fris0uman)\
**Post date:** [November 2, 2018, 1:09pm UTC](https://discourse.cataclysmdda.org/t/season-themed-main-screen-suggestion/17300/1 "2018-11-02T13:09:11Z")

</div>

So I thought that the halloween screen was pretty neat, but it only exist because the game is constantly updated and can be set to halloween in one version and changed back in following updates.

So would it be hard, and would it interest poeple, to had a check for the Date at launch and display a theme that is linked to the actual season (christmas, easter, first day of spring, any national holiday …) ? With I guess the different relevant season and associated screen being defined in json.

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [November 2, 2018, 5:34pm UTC](https://discourse.cataclysmdda.org/t/season-themed-main-screen-suggestion/17300/2 "2018-11-02T17:34:37Z")

</div>

It would not be hard for at least a basic implementation\*, and I’m thinking we might have an option for “title screen style” with values:

1. Time-based title screen. (will trigger seasonal or event-based title screens, and the default screen otherwise)
2. Default screen.
3. list of seasonal screens.

- A non-basic implementation would be time-zone aware so it can trigger and disable at precisely the right time, and maybe even locale-aware so it can display local holidays, but I’m inclined to just use UTC time and have seasonal screens display from before the actual holiday start to about 24h after it ends so that it covers the whole span.

---

<div class="post-metadata">

**Author:** ![Eastwardrope91](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/eastwardrope91/32/3313_2.png) [@Eastwardrope91](https://discourse.cataclysmdda.org/u/Eastwardrope91)\
**Post date:** [November 2, 2018, 5:49pm UTC](https://discourse.cataclysmdda.org/t/season-themed-main-screen-suggestion/17300/3 "2018-11-02T17:49:37Z")

</div>

It should also be set in your settings I think so if you want Christmas cdda then you can have it or if you don’t want any of them just being able to disable it it would prevent people from getting upset by it or having major issues with it since they can activate and deactivate at will the seasonal screens.

---

<div class="post-metadata">

**Author:** ![Theundyingcode](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/theundyingcode/32/500_2.png) [@Theundyingcode](https://discourse.cataclysmdda.org/u/Theundyingcode)\
**Post date:** [November 2, 2018, 5:52pm UTC](https://discourse.cataclysmdda.org/t/season-themed-main-screen-suggestion/17300/4 "2018-11-02T17:52:00Z")

</div>

It’s been awhile but I remember the only difference in getting the system time (utc) and whatever the user’s clock says being which function you call. (I didn’t work in c++ but it should be the same) While I don’t see any need for complex time logic, Time zone aware shouldn’t be any more difficult.

---

<div class="post-metadata">

**Author:** ![Erk](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/erk/32/3871_2.png) [@Erk](https://discourse.cataclysmdda.org/u/Erk)\
**Post date:** [November 2, 2018, 10:20pm UTC](https://discourse.cataclysmdda.org/t/season-themed-main-screen-suggestion/17300/5 "2018-11-02T22:20:36Z")

</div>

A Christmas screen wouldn’t have to have a glowing cross and Christmas tree… That even seems out of place. I’d assume it’d have snow and ice and maybe a dead, snow covered pine tree.

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [November 3, 2018, 12:17am UTC](https://discourse.cataclysmdda.org/t/season-themed-main-screen-suggestion/17300/6 "2018-11-03T00:17:01Z")

</div>

> [@Theundyingcode](#):
>
> It’s been awhile but I remember the only difference in getting the system time (utc) and whatever the user’s clock says being which function you call.

Getting the time is one thing, shifting to the appropriate date/time or doing any kind of math on it is totally different.

> [@Theundyingcode](#):
>
> While I don’t see any need for complex time logic, Time zone aware shouldn’t be any more difficult.

It’s literally `if( current_time > holiday_start && current_time < holiday_end )` vs “more code than that”. I’ll go for the lesser amount of code, thanks.

---

<div class="post-metadata">

**Author:** ![Theundyingcode](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/theundyingcode/32/500_2.png) [@Theundyingcode](https://discourse.cataclysmdda.org/u/Theundyingcode)\
**Post date:** [November 3, 2018, 1:45am UTC](https://discourse.cataclysmdda.org/t/season-themed-main-screen-suggestion/17300/7 "2018-11-03T01:45:01Z")

</div>

I thought you could just get the os clock which is already adjusted to whatever the local time is…

---

<div class="post-metadata">

**Author:** ![Fris0uman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fris0uman/32/8607_2.png) [@Fris0uman](https://discourse.cataclysmdda.org/u/Fris0uman)\
**Post date:** [November 3, 2018, 8:38am UTC](https://discourse.cataclysmdda.org/t/season-themed-main-screen-suggestion/17300/8 "2018-11-03T08:38:11Z")

</div>

I’m not sur how the interaction c++/json works  
but I think we could have a json that defines dates and associated screen and the code would just check if current date is amongst the dates in the json and if so display the associated screen.

---

<div class="post-metadata">

**Author:** ![TheZoneWizard](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thezonewizard/32/1397_2.png) [@TheZoneWizard](https://discourse.cataclysmdda.org/u/TheZoneWizard)\
**Post date:** [November 3, 2018, 10:19am UTC](https://discourse.cataclysmdda.org/t/season-themed-main-screen-suggestion/17300/9 "2018-11-03T10:19:54Z")

</div>

I think the idea is sound. But keeping it off by default is a better one. The graphics for the Halloween one were mashed together in one big mess when I first started the exe in tiles. Everything clumps together to match the small windowed startup. Other folks had this problem too and unless you are familiar with the screen basic layout. You will make an awful mess of setting the game by pressing buttons and not seeing what you are doing.

I think if I see this as a noob. I’d shut it off and think “Pfft…wtf is this crap? People play this??”

Going to the forum to complain as a noob…just wouldn’t happen either. Seeing a garbled mess when the game starts first thing would make them assume why bother? Idea = good. Toggle = better.

---

<div class="post-metadata">

**Author:** ![Fris0uman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fris0uman/32/8607_2.png) [@Fris0uman](https://discourse.cataclysmdda.org/u/Fris0uman)\
**Post date:** [November 3, 2018, 12:02pm UTC](https://discourse.cataclysmdda.org/t/season-themed-main-screen-suggestion/17300/10 "2018-11-03T12:02:55Z")

</div>

Yeah sure, obviously it would be an option and be off by default as it doesn’t fit that well with the ambiance of the game.
