Beta7's Recent Forum Activity

    • Post link icon

    dop2000 and Rojohound From the bottom of my heart I appreciate all the help from both of you guys and I hope you guy keep helping us in a future ,, but one thing here its that the majority of us in here we are not professionals using and creating codes , that's why sometimes we need mini demo capx or at least some references Pics created with Construct >> Right now I don't understand the mini example script RojoHound posted about sorting without arrays >>> If there were that same example but with a picture in reference with Construct I'll bet I could understand it in almost a 100% ,, thank you guys for everything and I'll keep trying doing it the hard hard way to see what's the outcome >>> since 2 day ago I'm trying this method by repeating 8 conditions for each player without using ARRAYS >>> pics down below

    • Post link icon

    I suggest using instance variables. See this example.

    Or copy all results to an array and sort it. Array -> Sort action

    No no maybe you are mistaken my question >> I already got made the ending lap mechanics at 100% in my game since long time >> But what I need now its to put in order the final points number that I give to each car , and Im not using arrays in my project , could there be another way around , and I dont know if the c3 arrays will work exactly with the c2 arrays,,, thank you friend !! I'm looking for a mini demo capx that could give me a little help until figured things on that exactly mechanic.

    • Post link icon

    Put them into an array and use Array Sort action.

    Or if these values are stored in instance variables (for example, Position instance variable on Car sprite) - you can do:

    > For Each Car order by Car.Position descending
    .. Text append Car.Name & " " & Car.Position 
    

    Oh my friend, the cars are not in position , Im using Global Variables to the last point ranks , not instance variables within an object >>> I would apreciate an example capx if you are willing to do it >> cause Im trying in many ways but nothing happens yet>> I already did the car ranks at the end of the lap but know Im trying to sort the final points I give to each car. Thank you friend !!! Let me know if anything cause Im not an advanced programer.

    • Post link icon

    at the final lap each player will get extra points , But what I really need its to sort those numbers from Biggest to small in a new Layer ,,,, Thank you very much in advance and I hope anybody from this forum could help me on this one !!!

  • You can open that example in free version of C3, study it, and do the same in C2.

    Where can I get that example you are talking about !???

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah but that one its not for Construct2 and I love using C2 >> its there anymore example capx for C2 !?

  • Thank you Rojo !!! and I already did it today in a different way by using the Text and UID numbers instead. by the way I was using that mechanic you were talking about and its very useful too !! Thank You ROJO !!! and keep doing your great work here.

  • Thank you dobpe but its not what Im looking for >>> I'm looking for more like a final lap sort places , the first car that arrives takes the first rank and the second that arrives gets the second rank ect ect ect ,,, I'm working on Construct2 by the way >> thank you friend.

  • How do I sort Car players winning position at the end of the Race ?

    A simple Example >>> position the first winning player on the first 1# rank and then the second on the 2# rank position after the final lap, ect ect >>>> Its there any Tutorial or Capx >>> Thank you in advance !!!!

    I'm working on that but its getting complicated.

  • A simple Example >>> position the first winning player on the first 1# rank and then the second on the 2# rank position ect ect >>>> Its there any Tutorial or Capx >>> Thank you in advance !!!!

    I'm working on that but its getting complicated.

Beta7's avatar

Beta7

Member since 9 Dec, 2020

None one is following Beta7 yet!

Trophy Case

  • 4-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

7/44
How to earn trophies