rtkiii's Forum Posts

  • I removed the int conversion a couple weeks back and it does store the text but then the sorting for the score is all out of whack

    800 would be ranked higher than 1800 because the 1st character 8 in 800 is larger than the first character of 1 in 1800.

    Is there a way to remove the int sort so the text and scores save but then do some sort of sort of X at (0,0)?

  • I changed the player_name variable to a number and if I enter in a number then that column does save. So it has to be how that command not being able to save a string value...hmmmm

    Can I add an additional command to just update the x.3(or whatever it would be called) to store a text to work with the previous line 7 command?>

  • I dunno it made sense in the tutorial but I an obviously fairly new to Arrays :) My capx has a lot more than just the leader board at this point. Is it possible to share just the LB layout or is it all or nothing?

    Should I do 1 row X and 3 rows y?

  • Apprecieate you looking into this.

    Here is the tutorial i originally followed. He only has number values...no Text.

    youtu.be/PqaX6wtxmQ8

  • I thought that under "Check_Scores_Addition" group that line 6-9 was doing this? The section where it says "Array_LB_Addition.CurX*3...." on line 7 is supposed to be it from the tutorial.

    If I do not have X*3 then it would only save the 1st X in the Array

    If I do X*2 then it does 2 ros of X

    3 = 3 rows of X

    My Array is 3 X deep, 1 Y

    Or at least that is how I understood it in the tutorial. And it saves both the score and the correct answers that are stored in the array...but not the name...which is probably because it is not an int?

  • This is super old but was super helpful!

  • Hello,

    I followed a tutorial on YT that allows you to have a top 10 list for scores. During the tutorial it shows how you can have multiple integers listed and this works great! BUT I have a player_name txt variable that allows a player to enter their name at the beginning of the game. When the game ends I get the score, correct answers and the name to display correctly. The name stays in there until I restart the game...at that point the score and correct answers remain listed but the name has vanished.

    I am sure it is because I have a action that is changing the value of the array to an int...but this is how it was done in the tutorial and I am not sure what else to do.

    Examples

    Thanks for any assistance,

    Rich

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Added the practice section to the game where players can practice addition, subtraction, multiplication and division to gear up for going through the story mode. It turned out better than i was expecting.

    Also added some special animations/characters to appear while they practice if they stay in the same discipline for 60, 120, 180 seconds....more of those to come. Figure it adds a little surprise for the player getting bored working on math :)

    Screenshots coming soon.

  • Enemy Cards in trivia board

  • Finished adding the Game tiles for all enemies into Construct2. 49 total Enemies to battle math with :)

  • yes it is. Thanks!

  • Ok i did more testing and found if I use the top line in line 7 the score does sort appropriately and it displays the "Players_Name" for that round. But if you reload the game the scores remain in the correct order with the previous values in the array but the names array(0,1) values reset to 0.

    Ug :)

  • Yoiu'll see I have a disabled line of code for at section "7". With the original code used I only saw numbers...no names/text. So I removed the "int" in the code and then I could see names.

  • Hello,

    I have a Top Ten list for high scores I am trying to implement using an array and when it displays the info it displays incorrectly. I have a score list and a player name list so it pulls in the name of the person playing. See screen shot below you see the person who has 4,000 points is listed higher than the person who has 13,000 points+. I have attached a screenshot of my code. I followed an tutorial online to get this.

    Any help would be greatly appreciated.

  • Started the thread a month or so ago and today i am unable to upload pictures. It acts like it is going to but then it just sits there.

    Anyone else seeing this?