unicornspitfire's Forum Posts

  • I've tried making test app by using a simple on 'button clicked' event to show Appodeal interstitial. I built it with cocoon io and tested it on both of my mobile and simulator. The interstitial was properly shown, however, after the first interstitial was shown, if I click on the button to show interstitial again, the screen went darker and I couldn't click on anything unless I press the return button on my mobile phone then the dark screen is gone and so I could be able to close the interstitial once again.

    How do I get rid of the dark screen that required me to press return button to continue?

    If the situation is not unclear I could upload the screenshot of it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There is also mysprite.count that does that.

    Thanks for another the suggestion.

    I've changed to something like mysprite.PickedCount and it woks best for me.

  • Life saving! "For each" does the trick.

    Thanks.

  • Same sprites? use the pick all event. System, pick all.

    So if you had a sprite named box you create the even under system - pick all.

    Object (pick the box)

    expression would be self.width

    comparison > (greater than)

    value = 250

    Thank you so much!! I have never known that it could be this simple to pick something with special property.

    By the way, is it a way to know how many objects we have picked?

    I'm struggling with having Text to show how many '250<obj' is on the screen. I've used trigger add+1 to global variable when true and -1 when destroyed but it was not functioning individually.

  • How do I count how many objects are appear in the layout?

    I also use an action to create 10 same sprite objects with different size.

    So how can I count objects with more condition like count number of object that only has width greater than 250pixels. (The other objects created with less than 250pixels don't count.)

  • Thanks again for your help. I'll check out mysql for more.

  • You can keep the players answers in a Json string or an XML file.

    Or if it just a choice question where they just select things from already written answer, you can add a function to add +1 to a variable depending on what they pick, example you have 3 choices, 1 is apple, 2 is banana and 3 is avocado, if player selects apple, add +1 to global variable apple. In the end you keep those variables in local storage, or if its multiplayer game you keep them in an json or XML file which you load on start of game with AJax call.

    Thank you so much! I have a much clearer idea now.

    By the way, instead of global variable, is it possible to use array to stored value since there would probably be more than 100 questions available and it must be like 100+ global variable to organize.

    Also, could Ajax handle it when says 10 people play, access, and edit data at the same time?

  • Firstly, I have to apologize for my broken English but I'll try my best to explain.

    I want to make a mobile game which shows the decision made by other players as a form of statistic eg. 45% do like cookies and 55% do not like cookies, like the game "would you rather" has. This game is probably be internet connection needed since you have to get a data from your database server (correct me if I'm wrong) then upload the answer of the user to database.

    My questions are :

    1.Do I really need some kind of cloud server or database to do that? Which one should I pick? (firebase, google cloud,mongodb etc.)

    2.What is the best method to upload user's answer to cloud server and what type of save files format should it be?