jaytee's Forum Posts

  • Hi!

    Can someone help me why are there black bars on my left and right side of the screen?

    My setting on "Fullscreen in broswer" is Letterbox scale. My Layout and Window size is 1920x1080. Should i increase my width? or change my fullscreen setting?

    Thanks in advance!

  • brunopalermo Thank you for the C2 version! I'll study it later!

  • brunopalermo I am unable to open your c3 version still because the free trial is on lower version than yours. help!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • brunopalermo

    your capx is construct 3 :( im using construct 2, would it be possible if you provide a capx in construct 2? or a way for me to covert this to construct 2?

  • Thank you BadMario and brunopalermo for your inputs and reply!

    brunopalermo ill be trying your capx when i have a chance tomorrow.

  • Hi!

    I just have a thought. Would it be possible to make a countdown timer continue to run even if game is exited?

    For example, a player wants to build a house and will take 10 min timer to complete, so even if players exits the game the timer still continues.

    Thank you!

  • Its working now in my mobile (before it wasnt too). I just unchecked "block third—party cookies.

    Thanks for the hint !

  • Hi!

    It's my first time using local storage and i'm using it for my game to know - if a player will play the game for the first time or not

    (the layout should turn purple if its your first time, and will show boxes of green if its no longer your first time)

    So here's my issue , this works PERFECTLY FINE in the debugging layout and exported NW.js format BUT not in a HTML5 format. WHY?

    I have uploaded this in itch.io in a HTML format but for some reason its not working. You can try it here:

    jaytee.itch.io/test-4

    Any suggestion would be very helpful! Thank you..

  • You do not have permission to view this post

  • I forgot to mention but I actually used your suggestion to use Set value of Curx,7 to array.at(Curx,) then add a number :)

    and It working fine now!

  • AllanR

    THIS SOLVED IT! THANK YOU SO MUCH!!!

    I have always been afraid to use array for a long time but recently i have learned and been using it and everything i used it on has been working up until now. This is now another knowledge added to me regarding arrays.

    I thought i had to use For each XY element because my understanding of that is if i only use FOR EACH X it wont read the Y index only the X index.

    Thank you all for you time to see my post! You have no idea how happy i am right now.. !!!

    umarfarooq AllanR

  • Thank you for your time to reply!

    "Curvalue is the wrong thing to use, it will just use the end of the row so 200 in this case."

    IS THIS REALLY TRUE?? I DIDNT KNOW THIS THANK YOU!!

    But what you suggested wont work for me. I dont want to change the value of Array.at(array.curx,15). Im using Array.at(array.curx,15) just to compare it to a number then add a value to a different Y index which is at - Array.at(ArraycurX,7).

    But still thank you for your input

  • umarfarooq

    Here's my full coding. Let me explain it, start of layout a csv is stored to the array (thanks rexrainbow) then it waits for 1 second to call a Players_defense_overall.

    Players_defense_overall calls 2 other functions that consist of FOR EACH XY elements as stated earlier in my post. You might question why there is a WAIT action between the functions its because i want it to:

    As you can see, the TOPG(defense) will SET Array.at(CurX,17) initial value first depending on what condition it checks out then the after 1 sec, function FPG(defense) (What is should be doing) will add depending on what condition it checks out into the CURRENT VALUE Array.at(CurX,17) but instead that, it doesnt do that.

    I hope my explanation is understandable. If you want i can also upload the capx if you have the time to look into it. Thank you!

  • umarfarooq

    Thank you for your time and answer. But i have done what you mentioned and been trying to do any fix for 10 hours now but no luck.

    Can you you say that my condition / logic is correct?

    But still thank you for your assessment.

    I have just learned using arrays recently and i have always been afraid that i might get stuck and now here i am..

  • umarfarooq

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