Nhdeitmers's Recent Forum Activity

  • Any luck? I’m trying to do the same thing.

  • I was testing twith the browser plugin.

    I would like to have a dedicated layout for landscape and portrait mode.

    I managed to move between layouts, but the viewport size appears to stay the same and only work for portrait.

    How would I fix that?

  • Thanks for confirming, lions_. That's what I did now and it works.

  • Awesome! Good to know, thank you! :)

  • Thanks. I know.

    I guess I'm spoiled by other software where I see the text change color the moment I pick it in the color field. Not only after confirming and deselecting the text field.

  • My goal is to pick one of the three instances with the highest values at random.

    I was thinking of the ordered repeat , which lets you specify a number and repects the order of values, so I could use the loop and save the UIDs to a local variable to pick from afterwards.

    But there should be an easier way?

  • Cool, thank you, dop2000. I'll try it.

    But can you explain your suggestion?

    Let's say ResponseAverage is 999.

    Wouldn't your version amount to 100 aswell in that case?

    You got me thinking I might have to use floor instead of round? So 99,9 would become 99.

    I'll try both and see ;)

  • I read through the manual and old posts and found a solution that finally seemed to give me a format for my counter.

    seconds and milliseconds are displayed like this "2:45"

    Until this was displayed "1:100"

    Here's the action:

    "Average:"&" "&Date.ToTimerSeconds(IntervalName.ResponseAverage)&":"&zeropad(round(Date.ToTimerMilliseconds(IntervalName.ResponseAverage)/10),2)

    Now I don't understand what's happening. If you do please explain. Because I would really like to understand ;)

  • I would like to test with haptic feedback for my buttons.

    I tried using the browser plugin's vibrate action on button click.

    Doesn't work in remote preview on any of our IOS devices in neither Safari nor Chrome.

    Has anyone successfully done it?

    What else do I need to do besides adding the browser plugin and triggering the vibrate action?

  • I think I got it. I scribbled a rough implementation already to implement later tonight.

    For the 72 sprites I could either store their UID along with the rest or I could have them share a container with the array so they would each have their own array instance. Stuff like retrieving the last 5 entries to create an average or even comparing the last 5 entries for one sprite with the last five for another would become a bit faster that way?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for your reply, oosyrag!

    Maybe I was overthinking it. I'll try that! :)

  • How would you set up a system like the following:

    There are 72 sprites (all instances of the same object) in the game that the player interacts with at some point.

    For any of these interactions the reaction time is recorded.

    When showing statistics to the player they should see the average response time and be able to filter it by certain criteria:

    First of all the time frame of the interaction:

    Show only the average response time of:

    - the current play session

    - today

    - this week

    - this month

    - this year

    And for any of these calculations only consider records that meet a set of certain conditions.

    So for example the player would choose the statistic for:

    The average response times from this week, for all interactions that happened in "ArcadeMode" AND playing the game character "Hunter" AND taking place in the "Woods" AND having been lower on health than 30%.

    All I know is I will need the date plugin for the times and dates aspect.

    But I am unsure about how and where to record the timestamps along with the information about the other criteria. Where would I use arrays, where dictionaries and so on.

    Maybe someone has some experience with something of the sort. That would be really helpful! :-)

Nhdeitmers's avatar

Nhdeitmers

Member since 5 Oct, 2020

None one is following Nhdeitmers yet!

Trophy Case

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

Progress

7/44
How to earn trophies