Simple Clock - Adding the HUD

● ARCHIVED · READ-ONLY
Started by CrazyCrab 5 posts View original ↗
  1. Hi everyone,

    for my current side project I need to add a visible clock on the main game screen.

    I do not need days, months, seasons, anything like that - just a clock to show a time variable.

    Is there a way to event that? I would like to minimize the amount of scripts.

    If not, what is the simplest script you know that does this?

    Thanks!

    EDIT: On top of that I'd love to be able to freeze time when fighting and be able to fast forward when sleeping or during events.
  2. How often does the time variable change? If not often, you could just use a Show Picture command, and set the picture based on what clock image/time you want shown. Pictures stay until you get rid of them, so if you move from one map to another, it'll still be there.


    I don't think there's really any other way to event this - so if pictures aren't good enough, say so, and I'll move this over to Script Requests.


    The extra stuff on freezing time and fast forwarding will depend on how you're setting your time variable in the first place. I assumed "just a clock to show a time variable" meant that you already HAVE a time variable that's working. If you don't then you may be better off getting a day/night script which might handle the clock display for you.
  3. that all depends on what you use to define your time.


    Basically you can make a clock HUD by show pictures, and rotating the pointer to the current time. Or you could have that done by script commands automatically. But you need to get your time from somewhere, because the default game has no time, and the exact way to display the time depends on what you use to create time.


    There are several scripts and several eventing systems that all create game time, search for them and link us to the one you selected if you don't find instructions how to display it's time there (a lot of those system have their own ways to display time)
  4. I've decided to use an existing script, you can find it there: http://www.rpgmakervxace.net/topic/3225-basic-game-time-nightday/

    I have a couple of questions concerning script calls and events using the script - they may seem dumb to you, but I really have no experience with Ruby whatsoever.

    L 39: How do I chance the button to 'Tab' ? Typing it out doesn't do anything so I'm guessing there is some fancy button name.

    L 79: How exactly do I use this? I want all my indoor maps to not use the tints, but I'm really not sure how this works.

    L 84: If I want to use it in a variable, do I need to type the name of the variable there or just the number of it?

    Thanks!
  5. Moving to RGSSx Script Support