villmaxie's Forum Posts

  • lennaert:

    I KNEW IT WAS NOT GOING TO BE "A PIECE OF CAKE" THANX ANYWAY MY FRIEND FOR YOUR TIME... I'LL START LEARNING PHP RIGHT AWAY...

    BY THE WAY I SAW YOUR TUTORIAL AND YOUR PAGE AND PLAYED WITH ALL YOUR GAMES... MAN... YOU ARE GOOD!

  • lennaert:

    THAT'S WHAT I HAVE BEEN TRYING TO DO POSTING WITH AJAX... IS THERE ANOTHER WAY (NOT MANUALLY) TO UPDATE THE PHP FILE WITHIN C2?

  • lennaert:

    IN FACT WHAT I WANT TO DO IS UPGRADE(REWRITE,REPLACE) THE PHP FILE WITH THE NEW VALUE (500) VIA THE POST AJAX OBJECT.

    LETS SAY THAT THE GAME IS A SLOT MACHINE, WHEN YOU START PLAYING YOU HAVE 400 POINTS THAT YOU EARNED THE LAST DAY, THEN YOU PLAY AND EARN 100 MORE POINTS... TOMORROW WHEN YOU START PLAYING YOU SHOULD HAVE 500 POINTS...

    MAYBE WITH THIS EXAMPLE YOU CAN HAVE A BETTER POINT OF VIEW TO HELP ME...

  • lennaert:

    I TRIED STARTING THE PAGE ADDED THE 100 TO GET 500 AND WITHOUT STARTING OR REFRESHING THE PAGE I CLOSE THE APP AND CHECK THE PHP DIRECTLY BUT STILL SHOWING THE 400...IT NEVER UPGRADE THE VALUE...

    ANY OTHER SUGGESTION YOU MAY HAVE?

  • lennaert:

    I tried changing the slashes forward in the URLS and in the second post a change the double quotes:

    "http://cubacafelv.com/ajaxtest/getresults.php?action="&Results

    But I still getting the 400 initial value when I refresh (restart) the page... I actualized the page and the capx file with your suggestions so you can check it out:

    cubacafelv.com/ajaxtest/index.html

    dropbox.com/s/6h11h5zpa7os2tx/AjaxPostTest.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I HAVE BEEN TRYING TO UNDERSTAND HOW TO POST VIA AJAX OBJECT TO REPLACE A SIMPLE PHP FILE VALUE... MY getresults.php FILE WITH JUST A SINGLE NUMBER (400) (https://www.dropbox.com/s/1sbduepd7xf3vqh/getresults.php) IS EASY TO BE REQUESTED WITH AJAX TO MY Results Variable, AND WITH A BUTTON CLICKED ACTION ADD 100 TO Results Variable UPGRADING THE VALUE TO(500)... BUT I CAN'T FIND THE WAY TO POST BACK THE NEW SIMPLE VALUE OF(500) JUST TO REPLACE THE OLD ONE IN MY getresults.php FILE... CAN SOME MASTER GENIUS OUT THERE GIVE A HAND TO THIS BRAINLESS NEWBIE GUY?

    THIS IS THE CAPX FILE;

    dropbox.com/s/6h11h5zpa7os2tx/AjaxPostTest.capx

    THANX IN ADVANCE.............

    BY THE WAY HERE IS THE URL TO CKECK IT OUT:

    cubacafelv.com/ajaxtest/index.html

  • Joannesalfa

    I don't know either, but thankx man... I owe you one...   <img src="smileys/smiley32.gif" border="0" align="middle" />

  • kevinmthomas

    I have the same question...

    "I have a simple shooter game and the player on a non-platform style game, points in one direction I have it set so that Touch.X and Touch.Y is set to player as long as I am touching the screen the player points toward where I touch however when I release the touch it goes back toward its original position rather than staying at the angle of the last touch"...

    but I think we have to open a new "How do I" topic for this issue...

  • chrislechat

    I delete the ogg files in my project as Joannesalfa said and the audio works fine on Iphone4 Iphone5 Ipad2 and mini Ipad , but as it says in the "Disadvantages" section of the Ashley's tutorial "Making an iOS web app with Construct 2":

    scirra.com/tutorials/43/making-an-ios-web-app-with-construct-2

    • Audio won't play until the first touch. However, this is not usually very important and can be easily worked around with a "touch to begin" screen that plays a sound when you touch it.    <img src="smileys/smiley32.gif" border="0" align="middle" />

    By the way... I saw your capx and looks very creative... hope when it's finished can be posted to watch it in the Scirra arcade.

  • Wink

    Thank You for your quick response I appreciate it...

    Best Regards...!!!

  • I just bought a new computer with windows 8 ... my question is... how can I update Construct 2 with my early licence that I have...

  • Ashley:

    Thank you for your quick response... As always... I"ll try your advise... I didn't know that I was working with a bug... actually I was happy with the results... but what you say makes more sense...!!!

  • I have been working with the set animation action for a long time until v 103.2 like this:

    if I click with mouse, touch or keyboard key and you keep clicking or touching an object or holding a key on the keyboard the set animation action play the "x" animation from the beginning without looping as the "x" animation was placed without looping in the animations properties, the "x" animation just play once:

    https://www.dropbox.com/s/lajpcroakkfqsof/Construct2animationbugV103.2.capx

    in v 104, 105, 106 and 107, if I click with mouse, touch or keyboard key and you keep clicking or touching an object or holding a key on the keyboard the set animation action play the "x" animation from the beginning without loop as the "x" animation was placed without looping in the animations properties, the "x" animation keep playing looping:

    https://www.dropbox.com/s/96henc53gz1s5p9/Construct2animationbugV107.capx

    My question is: Is this a bug?

  • stevo301103

    EXCELLENT TUTORIAL...!!!

  • Thank You Ashley, I"ll try your advice...