jaytee's Forum Posts

  • brunopalermo

    Thank you for the example but it seems that yours only works on "start of layout" ? Im trying to sort the array once AJAX has completed getting data and storing to my array, but when i applied to mine, it just ends up only being reversed

    And yes, i have tried to change your "repeat 30 times" to my "For each X element" and it worked fine like yours did

    Your sample is what im exactly looking for and im hoping you can help me further on this. Thank you!

    BadMario Ha! I understood that reference

  • Try Construct 3

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

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

    It seems that the sort action of an array just sorts alphabetically?? (see photo) 16 > 2?

    Can anyone provide me how will i achieve to sort my values from LARGEST to SMALLEST?

    Why is construct does not give users option on sorting..

    Thank you!

  • Good day,

    When i say "Players", i mean multiple players. My game is an RPG (and will be online), and i want know where should I store their inventory once players logout and when they login, it will be there. Should i store it on a cloud? on a website?

    I am already using arrays and json for storing on a local storage but this is temporary as local storage will be cleared once players clear their cache/cookies/etc..

    I really just want to know where should i start, so if anyone can assist me, it will be very much appreciated.

    Thank you for your time

  • 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!

  • 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