Majinboo's Recent Forum Activity

  • a small error in event 16

    lol, i recheck for 1 hour the events and didn't see that. thank you so much for your help!!

  • check this capx

    4Answers.capx

    Amazing!! Thank you so much for your help!!!!!!!!! i spend the whole day analyzing your capx and modifying it, please give me a little hand with this little issue, i am trying to use a loop to not show the questions that you responded with two good answers however i cant get the second answers to work because some answers repeat in the four spritefonts (this didn't happen in the first answers, your original function) and if the loop doesnt finds an unanswered question in the array how can I put a test that says "no questions left"?, the idea is to show the questions with one bad answer again at the end of the round and don't show again the questions with the 2 good answers responded.

    I tried to replicate the your original function but didn't worked, i don't know why

    http://www.filedropper.com/4answersv2

  • You can use the RandomArray plugin to get four random indices. From there you can pick though various means, one being "Pick nth instance".

    if i have a list of 1000 words is not more easy to make something like this?

    This is working to me, with random the probabilities of get the same word in the answer are 1 in 1000? , even if i use the RandomArray how i can put the correct answer in those sprite fonts?

  • I have 4 spritefont objects, i want to fill these objects with 3 random answers and 1 with the correct answer, i tried to use pick a random instance and didn't work, i tried now to use pick instance with UID and didn't work ( sometimes 1 or 2 spritefont objects are empty without text and without the boolean true) , i tried to set a random number in a variable (1 to 4) to each spritefont but didnt work too because the number repeat byself and i dont know how to avoid this, i want to use different positions to the answers each time i call the function. please help!

    why?

  • Rex date plugin

  • Remember KISS! Keep It Simple Stupid. (Not calling you stupid, that is actually what this acronym stands for)

    If you use rex_time or rex_date, it pulls that time from the players local system clock, which means that they can manipulate the clock to hack your game, like this:

    Subscribe to Construct videos now

    Games are complicated enough to make, you should always be looking for the easiest, simplest, and stupidest way to do things. Like my mentor said: "I know my code is stupid, but it works."

    I know, but i am not programmer, ironically the KISS way to make my game its using rex time plugins otherwise i cant make my game lol.

  • try :

    System Repeat 5 times............System Wait loopindex (seconds)

    Using Wait in loops

    thank you man, this help me a lot!

  • Thank you for your help! now its working! , after several hours of trying i solved the loops issues, Your capx examples in other threads saves me a lot! , thank you all for helping me in this thread, without you guys I would have given up weeks ago.

  • I'm sorry I do not know how to help you....

    event "For each X....." simply can not be executed..because "on start of layout" you do not have "Cur.X,6"...

    ...you do not have "Apples","Oranges","Bananas" ..

    ..just a empty array

    Yes thank you! , i notice this and i tried to fix it, i just want to run this subtract thing 1 time when the player opens the game, i don't if this is the good way to do this:

    UPDATE: Now its working in this position, i just add tigger once!!!! thank you so much!!!!!!!!!!!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • you need to move event "For each X element"..

    ..after you load Array from Json or Local Storage...substact time...

    another thing...

    I see only zeros et "Cur.X,6"...and you have a condition.... if Value at Cur.X,6>1....

    I want subtract the away time one time only when the player opens the game, i cant move the event outside the start of layout because if i do this then i cant countdown the time values in the array, i tried to create another start of layout event but didn't worked, i cant subtract the away time, the only way that this worked if is i put the event outside start of layout but the event subtract the away time all the time and this is not the intentions.

    You only see zeros but they aren't zeros because i have another event that countdown time values inside the array.

  • On start of layout...you have a empty Array..

    I need to create another start of layout under the array event?

  • In even 3 where you have System: Set elapsedTime to TimeAwayL.ElapsedTime you need to put a (tag) at the end so it should look like

    System: Set elapsedTime to TimeAwayL.ElapsedTime("t") in your case

    Didn't worked , i don't why this don't subtract the elapsed time to all array countdowns.

Majinboo's avatar

Majinboo

Member since 21 Jun, 2015

None one is following Majinboo yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies