Domino99's Forum Posts

  • Basically I would like to make a system of "classification" in the mario kart for my racing games. (ie a classification in real time on the side of the screen)

    I have already created an instance variable for the "player" family which is a turn counter.

    But how do you compare the instance variables of each player to know their position in the ranking?

  • In fact it’s already what I was doing ... But I don’t know how to compare the instances of the same family with each other

  • Okay, but how do I do that? (I haven't seen any action allowing me to do this)

  • A second question came to me today: can we compare the variables of instances within the same family? (so as to find which object of this family has the third highest value)

  • Thank you for the explanation it allowed me to resolve the problem :)

  • It's already been a few weeks since I use the instance variables and I just noticed that they reset when changing scene.

    My question is therefore is it possible to keep them between the scenes?

    Or is reset mandatory? -> if it is the case how to overcome the problem

  • So I try to implement physics and I play on elasticity and it worked very well thanks!

  • I want to make a game where players bounce off the walls.

    The game is in top view and I would like to create a "buoy" type bounce.

    The problem is that it seems complicated to create a nice bounce on construct ...

    Do you have any idea where to start ?

    Are there already things done for this type of situation / extension ?

  • Ok thank you it's good to know

  • This is the first time I have had a problem like this. I have already programmed games detecting several controllers but I did not have this problem. I wish that the player can make an action when he presses the keys 1, 2 and 3 and presses space. The action works if I remove the 1, 2 or 3 key from the condition. If I don't do it, nothing works ...

  • Thank you Kyatric it was a good idea!

  • I want to create a box that reloads my character's dash.

    I explain: each time that the player makes a dash there is a delay of 3 seconds before being able to use it again.

    I have programmed it so that when the dash instance is at 0 the player can dash and when it is at 1 it cannot dash.

    At the start of the dash I put "put dash = 1" then at the end "wait 3 seconds" then "put dash at 0".

    I would like to change the cooldown time so that when the player ends up on a certain sprite, the wait is automatically set to 0.

    I tried to find a solution but the wait did not change instantly you had to wait for the previous dash recharge...

  • Thank you very much that was exactly what i wanted. :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I mean not in the circle but ON the circle.

    I know that to create a random spawn in a circle around a player of radius 100 we can use for example:

    X = J1.X + 100 * cos (random (360))

    Y = J1.Y + 100 * sin (random (360))

    I imagine that there must be a simple solution to my problem.

  • If you want answers you better post a new topic