brunopalermo's Recent Forum Activity

  • The speed boost should just increase speed, controls should work the same. Can't see the problem you're having without a .capx.

  • Naji That's exactly the problem. The idea is to keep bought characters available between two sessions.

    Fiammaoscura Could not open the file. Save it as a single file (.capx) and send it again.

  • Could be an array loaded from a JSON string at the start of the game...

  • You must have the bought characters stored anywhere. It could be a server or a local Webstorage object, I don't know the requirements of your game so I can't tell which one you should choose. And, then, you must check them when you load the game.

  • You might use the Gamepad ID to pick the correct player.UID.

    For instance, if your player objects UIDs are 4 and 5, controlled by Gamepads 0 and 1, you could just pass the Gamepad ID whenever any button is pressed to the function and pick the instance Gamepad ID + 4 (4 for Gamepad 0 and 5 for Gamepad 1).

    Can't check it now, cause I have only one gamepad at work, but I believe it should work...

  • You're welcome.

  • You might use tickCount or time...

    But it would be incredibly hard for both objects to collide at exactly the same time, I guess...

  • Hey Yoel,

    I had this example for a popup/dialog function. Maybe it'll help you get to a solution.

    [attachment=0:38n2jfjb][/attachment:38n2jfjb]

    If you still need help on this, please, just let me know.

  • If you wanna check for that string in the name you can use:

    find(LayoutName, string)

    ex: find("1ABCDx2", "x2") would return 5.

    If you wanna get the string from the name you can use one of the expressions below:

    left(LayoutName, count)

    right(LayoutName, count)

    mid(LayoutName, index, count)

    ex:

    left("1ABCDx2", 1) would return "1".

    right("1ABCDx2", 2) would return "x2".

    mid("1ABCDx2", 1, 2) would return "AB".

    And you could even use both together:

    mid("1ABCDx2", find("1ABCDx2", "A"), 2) would return "AB".

  • Check this:

    [attachment=0:o5jvp1wi][/attachment:o5jvp1wi]

  • Set gravity = 0 works for me. But you must zero both X and Y vectors if the object is already moving.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Or is overlapping at offset...

brunopalermo's avatar

brunopalermo

Member since 7 Jun, 2013

Twitter
brunopalermo has 6 followers

Connect with brunopalermo

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies