DolyGamesCosmos's Recent Forum Activity

  • You should apply Physics behavior to your player and the box to make it nice and realistic.

  • Hi, are you adding a 2nd condition during re-targeting where you require that the drone has >1000 cargo? Normally if you add this requirement then any ACTION that you specify will only happen to the specific drone who has met this requirement in that specific moment.

    Worst case give the drones another instance variable called I_AM_FULL = 0

    and then require drones to have I_AM_FULL = 1 during re-targeting

    You can make the I_AM_FULL = 0 become I_AM_FULL = 1 using a TRIGGER ONCE action when the drone has 1000+ cargo

    And remember to again set I_AM_FULL = 0 after re-targeting

  • In addition to Lancifer's very correct suggestion make sure that you correctly set your window / layout sizes, so that your global HUD layout will correctly appear during your game.

    Also remember that the HUD layout will OVERWRITE any layout with the same name, so make sure to use a unique name for it such as HUD and make sure you do not use that name in any other layout.

  • Hi,

    Well I answered, I think correctly, this forum thread which was about "relative to players rotation".

    You are now speaking about stereo audio, i.e. different sound per left and right speaker/headphone. You can still use my system / suggestion by having then 2 of those "visible triangles" but to the right and left of the player, so triggering is no problem, but I have not learned or seen anything about a stereo audio in C2, so maybe it does not exist or maybe a more experienced person can answer.

  • You said that you use an "instance variable in its (player's) name"

    Why not change this (not use at all) and use only one GLOBAL variable to do this job?

    It can be called PLAYER_POSITION and every time he moves somewhere like GROUND23 you can SET this PLAYER_POSITION to 23.

    Using this 1 GLOBAL variable you always know where your player is and therefore can direct him anywhere you wish such as if PLAYER_POSITION = 23 then put player into position 13.

  • Hi,

    I did not fully understand. You want something to happen to the player when he is on a specific location? That's no problem. You can simply use the "is overlapping" such as:

    PLAYER "is overlapping" GROUND23

    ACTION = whatever you want

    If I did not understand you - sorry.

  • Here you go, I came up with a much simpler solution for you:

    audio relative to players rotation by COSMOS for engberg.capx

    https://dropfile.to/NCUNcxY

  • You are welcome

  • Hi,

    You are totally free to set any of your GLOBAL variables to anything at any time.

    For something like a day change I would create a GLOBAL variable DAY_FINISHED = 0

    Then when whatever you decide to be the end of the day you can add a SYSTEM set DAY_FINISHED = 1

    Then when DAY_FINISHED = 1

    SYSTEM action SET whatever GLOBAL variable you want to zero or anything you want.

    AND

    SYSTEM start a new day by setting DAY_FINISHED = 0

  • Hi,

    I understand. I think the cooldown system I suggested would do that.

    So if the player is clicking or tapping too slow the player will not get the special attack.

    If the player is doing fast according to the cooldown rules, then this attack happens and you can choose exactly what happens such as slowing down the player speed during the attack as you wanted.

  • Try Construct 3

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

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

    You just need to use GLOBAL variables, which are visible across your entire project.

    You can create one SCORE

    and another BEST_SCORE

    And then you can add a TEXT #1 and say something like SYSTEM every tick, SET TEXT to SCORE.

    And then TEXT #2 set text to BEST_SCORE

    And then if SCORE > BEST_SCORE set BEST_SCORE = SCORE

    There are also lots of guides/tutorials on LOCAL / WEB storage if you want the player's computer to remember the BEST_SCORE

    Good luck!

  • Hi,

    I will try.

    Isn't it simply creating 2 GLOBAL variables such as Cooldown_1 and Cooldown_2

    because I imagine you want your combo attacks to require fast pressing of a specific instance

    Then you can say on press #1 you do your attack and also set Cooldown_1 to say 0.5 seconds

    Then if Cooldown_1 = 0.5s action Wait 0.5s and set Cooldown_1 = 0

    Then on press #2 AND IF Cooldown_1 = 0.5s then do your 2nd attack and set Cooldown_2 to 0.5s

    Then if Cooldown_2 = 0.5s action Wait 0.5s and set Cooldown_2 = 0

    Then on press #3 AND IF Cooldown_2 = 0.5s then do your 3rd attack

    There you go

DolyGamesCosmos's avatar

DolyGamesCosmos

Member since 8 Apr, 2017

Twitter
DolyGamesCosmos has 1 followers

Connect with DolyGamesCosmos

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies