janlindso's Forum Posts

  • Anyone got the official Google Play plugin to work for Android? A while back I remember I had to use the Cranberry plugin to make it work, but I'm about to try again in hope for updates since then. Did anyone get the Google Play plugin to work on Android with Cordova? Then I mean with the native Google Play opening for login and not some browser window.

    And what about IAP plugin? Does that one work?

  • Any news about the Google Play plugin? Does it still not support Google Play Services for mobiles in a satisfying way? I've tried to build with Cordova, but it doesn't work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I ended up with creating a dynamic XML from PHP. Then I imported it from URL.

  • Yeah, worked fine!

  • That 's too complicated.

    Just use an Instance variable + TIMER.

    Example: Instance Var: ATTACK1

    On [Attack] | Set ATTACK1 to 1

    . | Start Timer

    On Timer | Set ATTACK1 to 0

    Disable attack when ATTACK1 is 1.

    Well, it not for an instance, but for the whole game. Several objects will be hidden.

  • Your every x seconds is a sub event of a triggered event, which only fires once every time the function is called.

    (On function only lasts for one tick)

    That was what I suspected. Any ideas how I could make this work?

  • You said you are settings something to 1 every X seconds, but are you settings it back to 0 after that?

    I have updated with a screenshot.

  • I'm trying to make a cooldown function that sets my game on pause for 5 seconds.

    I have a function that I call in the code with a sub event saying "Every X seconds" which I have set to 1 to fire it every second. But somehow the timer is running only once. Any ideas what might be wrong?

    Edit. Updated with screenshoot

  • I use php (and AJAX)) to read and write to a MySQL database. There are tutorials that helped me get started.

    My php script builds a big string of records to send all at once, that I then parse in C2 using tokenat.

    The only part that was slightly tricky was figuring out that I had to urlencode the data to avoid trouble. And to escape and urlencode the data being sent back to write...

    Yeah, I watched some of those examples, but I will need a more advanced method than those I've seen since I need to use a multidimensional array.

  • I am making a quiz game and I'm making an admin page where users may add new questions. Therefore a MySQL database is the best way to do it for me.

    Now I have a table for questions and another one for answers. Like this:

    tblQuestions

    questionID

    question

    level (the level of the question from 1-3)

    tblAnswers

    answerID

    answer

    correct (true/false for correct answer)

    questionID (the id for the question that the answer belongs to)

    What is the best (suggested) way to get these datas into Construct 2? Create a dynamic xml file from php? Import data into an array with AJAX?

    I made a static XML to try, and it worked fine, but as I wrote I need a dynamic way to get data from MySQL.

  • > It's a good game, and I would love to see more features or variations. And maybe all buyable power ups as in game objects. Maybe some level where you need to turn back with some turn back-blocks.

    >

    > I would also consider changing name, and some visuals that are obviously breach of Nintendo's trademarks as they might take legal actions.

    >

    I pretend to add new in game power ups, new blocks and new enemies. Also will add missions system and a upgrade shop. Lots of work to do. Now im at home and finnaly I can dedicate myself on it.

    About changing name and some visuals i will consider, but for now I choose the risky path, because I need this obvious 'Mario theme' to gain visibility.

    Thanks for the feedback!

    Yeah, I understand, but I think a more original name/concept would make the game last longer. I'm afraid the interest might decrease when Mario Run is released for Android.

    Anyways, I found a bug in your new version. If you select the cloud a start power up, the cloud level (when going up the pipe) won't work.

  • It's a good game, and I would love to see more features or variations. And maybe all buyable power ups as in game objects. Maybe some level where you need to turn back with some turn back-blocks.

    I would also consider changing name, and some visuals that are obviously breach of Nintendo's trademarks as they might take legal actions.

  • Yeah, finally found some problems unrelated to this. Obviously only needed an extra excuse to triple check everything.

  • Thanks a lot for the response, Ashley! Somehow I'm getting it to work somehow, but not fully and I get some errors in the console. You can check here (edit: link not relevant anymore). I have read your blog post and have been considering getting SSL, but if I can I will avoid it for now if I for example can run it locally or something instead. Cause it works if I run in preview without any errors in console.

  • I have a multiplayer game that connects to Scirra's signalling server, but nothing happens when it tries to connect.

    The game works well locally in preview mode, but not when I upload it to my webserver. Does my webserver have to be SSL? Any ideas what might be wrong?