michcan's Forum Posts

  • It is not loading the images probably because a special character in the name of an object

  • Hi,

    I have a php file in my server with this code>

    echo 100;

    in construct2 i have this code:

    on start of layout - ajax-request"mywebpage.com/myphpfile.php" (tag "test")

    on "test" completed - textbox-set text to Ajax.lastdata

    the result: nan

    and if i do

    on "test" completed - textbox-set text to int(Ajax.lastdata)

    the result: 0

    what am i doing wrong?

    thanks!

  • Yes Thats exactly what i need.. but i cant find an example or a real tutorial on how to do this.... Hope someone can help!

  • Hi, thanks for the fast response.

    As i was saying (sorry for my bad english) i want this arrays to be NOT in a local save. i want the ability to share this arrays so other players can load/download them and play the levels.

    i was thinking something like ajax y json but the problem is i dont know how to upload the levels(arrays) and download them... is there any tutorials or examples you know about?

  • Hi, is there a way to save a lot of arrays?

    the idea is the next:

    In this game the player can move objects on the floor and put them in any location.

    Each time the player touches a specific object the level is stored in an array so you can load it later.

    The porblem is that I want to be able to load the array not only in this session of the game, is there any way to save and load the arrays in a text file or something?

    Another thing, the array size is very large almost 50x50

    Thanks so much for your help!!!

  • hi im doing a minigame for my game and i want this to be a race, its just a straight line with another 4 competitors (AI)

    So all i need to know is how to show in what places they are, so i can show them in which place is they are compared to the other ia competitors ( like 1st 2nd 3th place)

    i hope you understand the question my english is very rusty

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi i was wondering is there a way to make a text objet show a string in diferent colors

    what im trying to do is to make a sentence with each word with a diferrent color

    is there any way i can do this with just one text object?

    sorry for my english is very dusty!

  • Hi, i cant figure it out how to combine this two.

    i have an sprite with pathfinding and it works great, but if i add the turret behavior to that sprite and add a target. My sprite donst move along the path.

    any help would be great.

    Sorry for my english i hope you understand it .

  • Hi, i have an animation for my character when he jumps, and i want to have another animation when he do the second jump!

    any ideas?

    sorry for my english

  • THANKS!!

  • Yes you are right! sorry! i dont know what i was thinking lol!

  • so.. another way to do it?

  • the problem was i was going to pass information thru the function to set the "every x time"

  • Hi, i have a question, i want to create a function that creates some enemies when i click a button:

    -on button clicked - call function "bla"

    -on function "bla" -

    -every 5 seconds - create enemy ..............

    but when i try the code it just create one enemy not enemies every 5 seconds. how can i do this with functions?

    thank and sorry for my english! i hope you guys can understand my question!

  • Can you send the file so i can try to figure it out?