Mire Engine

  1. GameTime Class and Weather Effect

    By Thejuster il 16 April 2021
     
    +1   -1    0 Comments   173 Views
    .
    New Update .
    Now in mire are available Rain, Snow and Game Time.

    Rain
    sFWxJA


    Snow affected of wind and camera movement

    sXsxRv


    Little Rain Video whit Thunder light



    GameTime Javascript interface

    CODICE
    //Just import Lib
    #include "GameTime.js"

    //declare a variabile whit GameTime constructor
    var time = new GameTime();

    //Get Seconds, minute and hours.

    var timestamp = time.Seconds() + ":" + time.Minutes() + ":" time.Hours();
    //for print to screen  HH:MM:SS


    Edited by Thejuster - 16/4/2021, 21:44
      Share  
     
    .