Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

DEV - How to use calendar with Tagon CDS

A topic by BaDanNi created Apr 05, 2020 Views: 87
Viewing posts 1 to 1
Developer
  1. First create an renpy file
  2. Defined an world
    tg_world:
         name "Tierra"     
         day 12     
         month 5     
         year 1586     
         time "world_def/time_world.json"
  3. write this for show date on dialog
    $ dateworld=_tagon_worlds[_tagon_actual_world]
    tg_calendar days 1 #add one day to calendar
    MC "[dateworld]"
    tg_calendar days 1
    MC "[dateworld]"

tg_calendar have this keywords:

  • world -> Srtring
  • days -> Integer

world keyword is optional, used only when several worlds were created, since it always chooses the last world created.