brunopalermo's Forum Posts

  • This plugin can diferentiate Left from Right shift, but I couldn't manage to detect if one is already down, when the other is pressed. Maybe you have more luck.

    Cheers!

  • I don't think that's possible. Shift keys are treated the same. Even though there are two physical input objects (both keys), they will trigger the same keyboard event.

  • Hey Angiel!

    I'm currently at a Game Jam. Already downloaded your capx and, as soon as I can, I'll take a look at it and come back to you, ok?

    Cheers!

  • Hey Angiel!

    I tried to simulate what you want using a second object with LoS (viewer) on top of the player. This object's LoS is identical to the players, except it uses custom obstacles and I add none, so, essentially it "sees through walls". What I do is I check if player has LoS and when it doesn't I check if the viewer has LoS and if the object is overlapping an obstacle.

    Check this capx: https://www.dropbox.com/s/dg7th9r7xyyg4 ... .capx?dl=1

    I don't know if it will serve your needs, but... Guess it's worth trying.

    Hope this helps. Cheers!

  • I don't think that's possible unless you implement the LoS manually, instead of using the behavior.

  • When the player picks the object up, add an action to set Platform Max Speed to Player.Platform.MaxSpeed + speedBonus.

    Cheers!

  • As far as I know you can install without a connection.

  • "Does that mean anyone who is running a lower version can just download the latest and update to the latest version?"

    Yes.

    "Is that also possible without an internet connection?"

    Are you asking if it's possible to download it without an internet connection?

  • Here's an example...

    https://www.dropbox.com/s/6fumfmxyyb6bq ... .capx?dl=1

    Click to add a vehicle with random speed and decceleration. It will calculate the braking distance to stop on the white line and apply the brakes accordingly. The equation you're looking for is the one used to calculate the Braking Distance.

    [EDIT] If you want more precision, just remove all floor() expressions. I added them just because I needed the numbers to fit the text box on the vehicle. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Hope this helps. Cheers!

  • cannot open , my construct 2 is version 239 , and capx from you version 247

    As zenox98 mentioned, you should really update your version of construct... It's been a while since you last updated it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Something like this?

    https://www.dropbox.com/s/a8fbmvzr4db6z ... .capx?dl=1

    Hope this helps. Cheers!

  • Hi Mhanz!

    Now I get it! Thanks for the explanation. It's hard to tell exactly how to do that without the capx. But, at first, using the bomb with bullet behavior and Set angle to Yes should work fine, unless you are using a global gravity or something like it. In that case, you could controll gravity according to the angle of the plane and it would work fine too.

    If you could share the capx, I could give you a more specific answer, though.

    Cheers!

  • Hey mgsoftwaring!

    You can simulate dice (with any number of sides) using the random() expression.

    From Construct 2 Manual:

    "Random(N) - Returns a random number between 0 and N, not including N. The result includes fractions, so random(3) can return 2.5. Use floor(random(n)) to generate a random whole number up to but not including N, e.g. floor(random(3))* will return either 0, 1 or 2. Random(A, B) can also be used to generate a random number between A and B."

    To simulate 6 sided dice use: floor(random(6)) + 1

    If you need the sum of dice values, I'd suggest you make a function like the one below:

    When you call the function you say how many dice you need to roll and it will roll all dice and return the sum.

    eg. roll(3) to roll 3 dice and get the sum of the results or roll(1000000) to roll one million dice and get the sum of the results.

    Hope this helps. Cheers!

  • Hi, Mhanz!

    It's not quite clear what you're trying to do... Is it a screen-wide bomb, like we see in old plane shooters, the effect you're trying to achieve? Maybe you could share your capx or try to explain a little better what you need... Or maybe show an example from another game of what you're trying to do.

    Cheers.

  • Hey Apollo14!

    Sorry for the delay in returning to you. I'm still waiting on the event organization to set a date, but I believe they intend to record the whole thing and post it already. When that happens, I'll let you know.

    Cheers!