playMaker

Author Topic: Transitions on a weekly calender.  (Read 1204 times)

latitudeclear

  • Playmaker Newbie
  • *
  • Posts: 1
Transitions on a weekly calender.
« on: September 25, 2014, 12:49:40 PM »
Hey everyone, thought I'd figure this out by myself but been at it all day and ain't happening.

The calender itself was a success. It randomly the current date, calculates the day of week and current weather for all 7 slots.

But when transitioning from day 1 to 2, then Monday should delete itself and an 8th day be added. That way the calender will slowly transition from one day to the next, like a casino slots machine.

The game concept is inspired by Persona 4.

Problem is I'm using the DaikonForge GUI with it's scrollable background. When creating a new entry using a prefab, it will create a random order.

It appears the only correct way of doing this would be using arrays/hashtables yet I was unable to find an action that will scroll the array in this fashion.

Mon, Tue, Wed, Thu, Fri, Sat, Sun....

to

Tue, Wed, Thu, Fri, Sat, Sun, Mon
(Deletes old Monday, adds new Monday but keeps the other days in tact.)

My only other option is to not use a transition, and instead recalculate the whole week on each new day.
« Last Edit: September 25, 2014, 01:01:31 PM by latitudeclear »