Laughing14's Forum Posts

  • Apologies. Yes, I see now. But tagging it is irrelevant to this.

    On Ajax request done "getPage" set StringVariable = Ajax.Lastdata

    That is precisely what I have done but the stringvariable ends up simply being empty.

    Why would it be empty? If I say textbox.text = ajax.lastdata, the text transfers easily.

    I can then say stringvariable = textbox.text to get the text in the string, but this seems roundabout.

    I'm wondering if there's a cleaner way that's all. Thank you for your time helping me figure this out.

  • thank you unfortunately, i a, aware of all that - and i don't see any way to tag an Ajax request in C2.

    https://www.scirra.com/manual/107/ajax.

    I'm just wondering what is the simplest way to get Ajax.Lastdata into a string?

  • I'm testing AJAX for a new project.

    When I import a simple string from a project file and use a Text Box and set TextBox.text to AJAX.LastData, it works fine.

    If I use a string variable, and say StringVariable = AJAX.LastData, the string ends up blank.

    FYI - When I import the AJAX to the textbox, then make the string equal the textbox.text, it works as well.

    So I suppose my questions are:

    1. What "variable type" is AJAX.LastData? (Seems like an object of some kind and not a string.)

    2. Any way to make this work without the XML Plugin?

    Thank you! The C2 community is the best!

  • That is cool! I like it! Well done.

  • PhoenixNightly - May the gaming gods forever bless you! This saved me!!!!

  • Tekniko

    Add me to the list of people your elegant solution helped! Thanks!

  • Huh. Yes, I agree they should sticky one, unless they're not taking suggestions. I trust them though - C2 is awesome IMHO, I love using it. I think C3 will rock and have a lot more to it than the website reveals. Just my opinion, hope you enjoyed it!

  • Is there a Construct 3 Wish List topic thread?

    I didn't see one so I'll kick one off. Apologies if I missed it elsewhere.

    I'd like to see ready-made options for info / yes-no / and yes-no-cancel pop up dialog boxes. That would be groovy.

    Just a suggestion. Thanks!

  • I know this might not count but I'm in the middle of a huge game project. I did, however publish to the Amazon app store earlier before this contest.

    I know it's a long shot - any chance I can get a voucher for adding some upgrades to already existing app?

    Here's my current game but I have some improvements I haven't pub'd there yet.

    http://www.amazon.com/QECE-Publishing-TapCat/dp/B00OLUUY06

    Note I gave C2 a shout out in the description.

    No biggie if not, I realize you got to draw lines somewhere - and I love C2 regardless.

    Anyway please let me know at your convenience. Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I wanted to share this in case it will help another.

    I use Yahoo! Web Hosting and was developing a game for Facebook.

    I was trying to host an HTML5 game that will be used inside the Facebook canvas. Facebook requires a secure server host. No problem. All went well except the Facebook site generated a "405 - Method Not Allowed" error. It s my understanding that Facebook makes a POST request to my URL and Yahoo doesn t allow this.

    This was easily fixed by renaming the index.html prepared by C2 when exporting. Just rename it to index.php and everything goes great. (As I believe Yahoo uses PHP server tech.)

    Hope that helps!

  • So with the announcement that Xbox One can be on Win 10 and vice versa, does that mean we can used C2 to dev Win 10 games and port them to Xbox One?

    I'm referring to the story in the link below. Please note: 1.) I could be completely off base in my assumption / hope / guess here and 2.) I realize this is new and all questions about it may not be resolved, but it seems like an exciting development. Thanks for any input!

    http://news.xbox.com/2015/01/xbox-one-phil-spencer-unveils-new-experiences-for-xbox-one-and-windows-10-gamers

  • > I'd like to also get behind the print request. I have 2 monitors and it usually does the trick, but sometimes I need to really zoom out and see the whole thing - it helps my thinking. Please add print. Thanks!

    >

    You can nowadays select the events, press F8, then paste the result inside an image editor to have the events as an image.

    Thanks for the tip, Aphrodite! I actually just pasted it into Word - did some super fast cropping to tidy up and I have a print out. Thanks again!

  • I'd like to also get behind the print request. I have 2 monitors and it usually does the trick, but sometimes I need to really zoom out and see the whole thing - it helps my thinking. Please add print. Thanks!

  • I'm new to this, but I made a nearly blank app (just a sprite to move around) and added Admob plugin. No ads being served. XDK won't build the app - when previously it was super fast. Do they have a system status or something? Any help at all appreciated!

    EDIT: And.... as soon as I submit this - IT WORKED - serving ads and all! I noticed above someone noted there was an XDK server issue - do they have a twitter feed or something that shows the XDK server status?