DonRIF's Recent Forum Activity

  • Hi DonRIF Ok so that gets handled by the iAP plugin (I'm using Cranberrygame's iAP plugin in Cluckles' Adventure).

    It goes something like this. The user's purchase is stored in their account in iTunes / GooglePlay.

    Then when the game is launched you need to have events that check for previous purchases and then restore those purchases to the game if any are present. This works even if the game is uninstalled and all the games data removed from the device. When the player reinstalls the game in the future, upon launching you can check the players previous purchases on their account, then restore them to the game.

    I do this check and restore right at the beginning of the game when the title screen is visible.

    Actually the 'purchase restore' process took a few attempts to get through the iOS approval process. They wouldnt approve my game unless I also included a 'restore purchase' button. So users can actually manually restore their purchases. But in my game the button isn't even needed, because the restore happens when the game is launched, I just had to include the button to make the reviewers happy. The Android version of Cluckles doesn't have the purchase restore button as it's not needed.

    God bless my brother, thank you for all this valuable info that I'll keep in mind!

    Much success to you, I hope you release a Steam version of Cluckles with tons more of content!

    Oh one more thing, I noticed you have the "white screen" splash issue, if you want to get rid of the "white screen" just after the launch, add this plugin to the config.xml file:

    <plugin name="cordova-plugin-splashscreen" source="npm" />
    	   <preference name="AutoHideSplashScreen" value="false" />
    	   <preference name="ShowSplashScreenSpinner" value="false" />	[/code:3gcyqlm1]
    
    Peace!
  • This is very beautiful ! Congrats bro! A question though: how do you save the "remove ads" if somebody uninstalls the game?

    Guys, you criticize something before even seeing it. Come on. Yes, nobody likes subscription model, but if the tool is like C2 but better (don't talk about browser-based issues, we don't know yet how it'll perform) and is very efficient, if somebody wants to do it professionally it's ok to pay a sub fee. Otherwise, stick with the free version or with C2.

    Wait and see.

  • Concerning the WkWebview, I can't load images from XML using "Load image from URL" on iOS, i read this post by Ashley (https://www.scirra.com/blog/ashley/25/h ... -wkwebview) but I can't quite understand if there's a solution to it or not. Anyone can help me ?

    Edit: nevermind amigos, i found the solution: loading-files-not-working-with-wkwebview_p1072160?

    I had the 233 C2 version too, it was corrected since then! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • simple example:

    sample_questions.xml

    QuizXML.capx

    Thanks very much korbaach, I managed to do it simply by changing a variable according to the XML.

    The red underlined variable is the key: I created a layout named "1" and I add 1 to the variable level_number to pass to the next question.

    The "q" node in the XML is what controls which question you are in.

  • Well not much anyone can do without a glimpse of your code. You should provide a .capx file. I'm not saying that I'll definitely have time to look into it, but you increase the chance of getting help by providing a code example with the problem.

    Alright, thanks, my code is a bit too long and complicated, i'll try to do a simplified capx for the example.

  • If you are creating 900 layouts for 900 questions you are definitely doing something wrong. You should work on the 1 layout solution.

    Storing 900 values in localstorage shouldn't run out of the space limit.

    That's exactly why I thought, but I want to move between questions and it doesn't seem to work when I make "Restart layout" and I change values according to the XML. Any tips?

  • Hello everyone, I'm working on a quiz game, you can check out some of my tweets regarding it (twitter.com/donrifgames). It will have at least 900 questions (I handle questions by XML, but I have to duplicate the same layout 900 times!....maybe i'm doing it wrong, can I keep one layout and change informations on it everytime?)

    So that causes some slowness, I have found some framerate issues on iOS: the localstorage is too slow, the app works fine but it takes time to retrieve saved data. On Android, the asynchronous problem seems to work better than on iOS, though i have not fully tested it on Android.

    I have seen a post by sqiddster where he suggests to save variables/arrays in a dictionary and load the dictionary on startup with the localstorage plugin. I didn't seem to understand how exactly.

    Your help will be much appreciated!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanx a lot for the plugin, but the v2.2 is very buggy, the delay is too long even if u put 0 sec.

    Edit: sorry, nv mind, i was using an older version.

  • No worries, db.tt/3b7YVAzB

    You will have to change it to suit your needs but this should show you how.

    Press space to get a random letter from the array. Using debug you can see the cells being removed

    .

    God bless my brother!

  • just delete(disable) condition(just condition,not actions)

    Array_letters X Contains Value random_letter

    Yeah thanks, I already tried that, but now it gives me 3/4 times the same letter randomly. You see what I mean?

    Maybe i should try and randomize another array containing the placement of the letters?

  • Instead of setting the letter randomly through the system action why don't you draw it straight from the array itself (choosing a random cell of course). That way you could easily control what is in it and just delete the cell when the letter is chosen.

    Can you please give me an example on how to do it?

DonRIF's avatar

DonRIF

Member since 8 Apr, 2014

None one is following DonRIF yet!

Trophy Case

  • 10-Year Club
  • Popular Game One of your games has over 1,000 players

Progress

11/44
How to earn trophies