FreshDopeGames's Recent Forum Activity

  • What I ended up doing was this:

    System > Every Tick > [sprite name] > Set Sine Period to Dictionary.Get("attention")

    ____________________ > [sprite name] > Set Sine Period to [sprite name].Sine.Period / 50

    But that seems to give me an error:

    After I cancel it, it actually gives me the values I was looking for...but what does that error mean?

  • sizcoz, I declare/define the key in another layout, and when I'm running the test I start with that layout in order to properly run through the workflow.

    Am I not supposed to have spaces around the operators (for divide, add, subtract, etc.)? In the C2 manual they put spaces around the operators when they do operations like this. [Ex: (Player1.X + Player2.X) / 2]

    Also, is adding a key and setting a key, for the purposes of what I'm trying to do, not the same thing?

  • I'm making a simulation RPG, where the user levels up different attributes of a character throughout the game. In it, there's a mini-game in which a meter oscillates back and forth, and the user has to stop it on a particular area to get the most points.

    What I want to do is make this meter's oscillation speed be inverse to their attribute point rating (so like, 'attention level 20/100' would make the meter fast, while 'attention level 80/100' would make the meter slow, etc.).

    I'm trying to just set the actual Sine wave Period of my meter to a Dictionary key value, divided by a number. I.E.:

    • Dictionary.Get("attention") / 50

    But the expression is not working mathematically. It just calls the value previously stored for 'attention', but doesn't do the division math.

    Thoughts? Thanks in advance.

  • Works like a charm! Thanks a thousand!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi All,

    I'm working on a game that I want to publish to mobile devices, and I built a couple of areas that could benefit from a more sensitive response from taps in rapid succession:

    • A carousel that has an arrow on either side of the slides (<, >)
    • An RPG player skill-points allocation menu (+, -)

    I'm noticing that there's about a half second of delay from the first tap response to the next, and I'd like to reduce that as much as possible so that it feels much more seamless. Any thoughts?

    Thanks.

FreshDopeGames's avatar

FreshDopeGames

Early Adopter

Member since 23 Jul, 2013

None one is following FreshDopeGames yet!

Connect with FreshDopeGames

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

14/44
How to earn trophies