FatesjokeStudios's Recent Forum Activity

  • Okay, I've thought I had this figured out before but nothing seems to correctly measure the time away (time where game is not playing versus time game is playing) for an "idle" feature I want to include in a game I am building.

    The idea: I want players to gain Turns and regen Health when the game is not running.

    The best I can come up with: Find a way to record the current time recorded as a global variable before game is saved (using the Unix epoch measure of time in ticks) and subtract that from the current time which is recorded as a global variable (using same measure of time) when a player logs in and loads the saved game. From there it would just be a matter of dividing the remained by the ratio I want to increase Turns and Health by.

    The problem: I can't for the life of me find the correct way to pull the measure of time (Unix epoch measure in ticks) and I am not sure that is the best way to do it.

    I want to avoid adding another plug-in to my game, so I'm hoping for a native way to do this.

    Any thoughts?

  • Okay, it has something to do with the fact that the game gets paused when not focused. Ended up putting in a fix from tgfcoder -- You can use System: On start of layout: Browser: Execute javascript "cr_setSuspended = function() {};" to get around this.

    Hopefully this will help someone else down the road.

  • Confirmed this is happening in Chrome and Opera.

    The game actually freezes, it isn't just the mouse being non-responsive. I was able to duplicate the effect on the third layout of the game, before anything resource intensive is triggered.

  • Okay, this is happening constantly on Kongregate with my game. Just switching tabs will cause the game to be non-responsive and require a tab reload.

    Anyone?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Searched but couldn't find this problem being reported, closest I could find related to the game pausing when tab is not active on screen.

    The problem doesn't happen all of the time but sometimes my game will freeze when I have it open in a tab and drag the tab to the taskbar so that it opens free of the rest of my browser. Not 100% the game freezes so much as the mouse becomes nonresponsive and there doesn't seem to be any common theme for when this does or doesn't happen.

    I thought it was just happening to me but it was the first bug report I got when I launched the game on Kongregate-

    https://www.kongregate.com/games/fatesjoke03/american-villainy.

    Any ideas?

  • Sounds good, thanks Tom.

  • I'm eligible for a free year of C3 because I have an existing license for C2. Does that license start when C3 is out of beta or does it start when I make the purchase in the store?

    I'd love to start playing around with C3 without limitations now, but I want to maximize the free year too.

  • Downloaded and hope to get the chance to check it out over the next few days. Will leave feedback!

  • Yeah, I host my game American Villainy on my own site here: http://fatesjoke.com/americanvillainy/C1F/

    I also host another program I built (an RPG playing program that I built using C2) here: http://digitalsteward.net/version3/

    Both are free to play on the site but also have Android versions that are available on the Play Store.

    I get more traffic on the website for them both than I do the Play Store but development is being continued on the mobile versions and not the web based ones. So it gives users a taste of what is offered but not the full game/app. I need to add info for the mobile apps on the web versions, I just haven't made it a priority yet.

  • No worries, I don't mind getting called out on things.

    Plus, it may be a super small number of events but the way the numbers are generated and the "novelty" of the numbers cycling as they are being randomized can take some people a while to figure out. The way I have it laid out it can be easily transferred to an existing or new project pretty easily. Might be worth saving the time for some people.

  • Yeah, it's literally the lowest price the shop allows for though.

  • Random Number Generator — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-game-templates/random-number-generator-3472

    A part of an Role Playing Game program I am working on. This is the random number generator that I used for the DM to use for dice rolls. It has a d3, d4, d5, d6, d7, d8, d9, d10, d12, d16, d18, d20, d50, d100, d1000, alpha values and Heads or Tails.

    It has a fantasy theme. It can total all numerical values into one and reset all rolled values.

    Only uses 22 events and is fully notated.

    Use this topic to leave comments, ask questions and talk about Random Number Generator

FatesjokeStudios's avatar

FatesjokeStudios

Member since 8 Apr, 2017

None one is following FatesjokeStudios yet!

Connect with FatesjokeStudios

Trophy Case

  • 7-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies