itspayapai's Forum Posts

  • lennaert thank you very much!

  • beufreecasse thank you!

  • lennaert oh sorry, i already know to use ajax! i meant to say i need help with WHAT code/script i should sent to the site using ajax.

  • beufreecasse here you go!

    drive.google.com/file/d/0B0jDdkO_7cUSUHBFRWtYU0RIcHc/view?usp=sharing

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi there! I need help with this;

    I need to send scores (number variables) to some destination on a site im working for, preferably more than one variable if possible (so i can also send the timer variable) and some kind of hash to make sure its legit when they send their score. Thank you!

    EDIT: I know i need to use ajax i just need to know what code line to send using it.

  • beufreecasse thank you for getting back to me! Now i'm just a little confused because I haven't worked with arrays before. Is "References" an object/sprite? Would it be easier if I sent you the capx file and you copied it to the file directly?

  • beufreecasse yes!

  • beufreecasse Yes there is a line down the middle with the blocks!

    But they do not go to the side when they are sorted, they vanish. Each block they sort correctly gives them points that are added up etc. There is a timer that ends the game.

    I need help figuring out how I'll be able to vary the sides each type of item goes on and help with sorting system.

    (For example, the pink item is on the left side the first time I play but the next time it could be on the right.)

  • beufreecasse

    1. I'm not sure! Thats what part of my problem is, I was thinking of having an Object/sprite that has different animations for the different items. And I could have it choose randomly?

    2. The arrows sort it! Clicking left sorts left and clicking right sorts right.

  • beufreecasse well I can't create a sample, thats the problem!

    I drew up a little sketch to show you. You sort the items in the middle to the side it belongs to. In the example you sort green and pink items to the right and blue items to the left. I already have it set up to vary what comes down the middle and I have that set up. I need help figuring out how I can vary the items being either left or right and give points when you get it right. Thank you!

  • Bump! I edited it!

  • Hi there! I've been using Construct 2 for a while but I haven't done anything SUPER complicated haha.

    I'm working on a sorting game where players click the left or right arrow to sort the item left or right.

    I want to randomize the direction (left or right) the items need to be sorted but I want to give players a score (using variables) when they get it right. How would I do this? Thank you! Thank you so much!!!!

    EDIT: I solved one of my problems and reworded my other one!

  • Nevermind! I was researching it and you put the quotation marks around the animation's name to do it!

    Example: choose("Red","Blue","Pink")

  • No problemo!

    ...if you need some help... just ask...

    I actually do have one question! If I decided to do animations instead of frames so the colors could have different animations, would I replace the numbers with the animation names or keep the numbers?

  • set frame to

    choose(0,1,2)

    Oh thank you so much!