jaytee's Forum Posts

  • umarfarooq

    Yes, heres the full one, its function that will get called at start of layout:

  • Thank you for time. Please help me understand my problem below.

    As you can see below is my condition saying Every XY elemenet if Array.At(curX,15) is in between values then set Array.at(curX,7) value to current value.

    EXPECTED RESULT: 3 is the current then value shouldn't change or also be three(3)

    ACTUAL RESULT:

    WHY??? WHY did it turn to 200?? Why did it get the value beside it or the value of CurX,6????

    Heres another one, same condition as above but this time if condition is correct then CURRENT VALUE PLUS(+) 12

    EXPECTED RESULT: 3 is the current then value should be twelve(12)

    ACTUAL RESULT:

    THE VALUE COPIED CurX,6 THEN ADDED 12?? WHY???

    I'm very sorry if i sound very furious because i really am. I won't be posting here if i havent tried any kind of alternative. My logic makes perfect sense but its not performing what is suppose to. PLEASE correct or explain to me what i am doing wrong

    Thank you in advance! :(

  • Is there a way to save an excel file as csv, then import to project file, and then point to it from the event sheet?

    I have it imported, but not sure how i can point to it so that it can be loaded into my array object.

    Thanks!

    Tagged:

  • Thank you for your reply

    However this is easy if there are 2 sprites.

    Sorry i didn't mention but this is only 1 sprite appearing as 2 object. How can i differentiate them from one another?

    Thanks again if you could answer :)

  • I hope someone can help me with this.

    What i want to do is when an object1 is placed on top of object2, object2 position will be in the previous origin position of object1 and vice versa

    Is this even possible? Thanks in advance!

  • Hi! Can someone explain to why is the positioning of "trigger once will true" affects a condition.

    Like you see below, if its above steal_percentage = 1, it doesn't work. But if its below, it works perfectly fine.

    Thank you in advance :)

    Tagged:

  • Alright, thank you dop2000 !

  • Hi! I'm new to this forum so pls be gentle :)

    I'm making a simulation game that based on % chances. So what i'm wondering is what follows:

    1. Is choose(1,2) the same with floor(random(1,3))? - what im trying to accomplish here is there's a 50% chance of pick 1 or 2.

    2. How about balance/fair chances, does this two conditioning the same 50%:

    Variable: Percentage

    floor(random(1,3))

    if Percentage is 1, then shoot

    if Percentage is 2, then miss

    floor(random(1,11))

    if Percentage is <= 5, then shoot

    if Percentage is >= 6, then miss

    Thank you in advance! :D

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post