CDogs1964's Forum Posts

  • Was anyone able to integrate Unity Ads into their game? Thanks.

  • I also put up a capx for Local Storage and using a dictionary.

    https://www.dropbox.com/s/61kstfx7pbr3j ... .capx?dl=0

  • I should have been more specific. I am relatively new to C2 (6 months), but the game I am development is at a point where I want to incorporate the Unity ads plug-in. I have the ample capx and can see the basic events and actions, but has anyone done a good tutorial or post on the full process? I have read quite a few, but they were not specific and did not walk the developer through the process. I am going to figure this out one way or another and will do a thorough tutorial when I do otherwise. Thank you.

  • Do I need to publish to test? Can I test on my phone if I am testing over wi-fi?

  • Thank you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • VeneficBlade I hope to deploy everywhere so thank you.

    LittleStain Sorry that my question was not worded properly. My question regarding GameCenter was if you were planning to deploy to the App Store, does Game Center have built-in capabilities to save off a player's progress, coin count, etc... I appreciate your other responses. Thank you.

  • I made a capx as well and used a dictionary which from what I have learned is a good way to go if you have a 'lot' of info being stored with the Local Storage plug-in.

    https://www.dropbox.com/s/61kstfx7pbr3j ... .capx?dl=0

  • Sisyphus Would I also need NW.js to write the file?

  • You are not sure though?

  • My apologies if this post seems repetitive from a previous post, but I do not feel it is written clearly how one saves off game data and keeps it protected. I have Local Storage working great in a game I am developing. It maintains progress for multiple aspects of the game in addition keeping high scores for different game modes within the game. The problem is that if I clean out my history, which is a good thing to do from time to time, it wipes out all this information. I would think this sort of behavior would upset many players. I have never played Candy Crush, but I understand it has many levels. How would a player feel if they were just trying to tidy up things by clearing history only to find out they wiped out hours of play of their favorite game? So with regards to this topic...

    • What good is Local Storage if it can be wiped out so easily? Is there a better way to protect it?
    • Is there another solution that protects the data more? I am hoping for something clean where a file is read when the game is loaded similar to Local Storage, but that is only deleted if done so intentionally by the player either directly or by removing the game.
    • Does Local Storage work on mobile games? By mobile I am not referring to browser-based games. I have not learned how to export for mobile yet, but I have read up on Cocoon JS and XDK. It is this type of game I am referring to. And if you can use Local Storage within these games, can the data be wiped out easily by the user the same way it can within a browser?
    • If developing a game for the App Store, should all this be done with Game Center? (And the same with Android and its counterparts) Do we have access to all these features with a plug-in?

    Again, I am sorry if I am a bit repetitive with my posts, but it surprises me this topic is not addressed more completely somewhere or perhaps I just cannot find it? Any help is much appreciated.

    Thank you!

    • Is Local Storage only to be used with web apps (browser) and not mobile apps?
    • If so, what do you use in place if developing for mobile? Is this part of the mobile plug-ins?

    Thank you in advance for any assistance.

  • You may have to click Download twice after cancelling Dropbox' request to set up an account.

  • Created a capx to show more people how to use local storage with dictionary if you are interested.

  • https://www.dropbox.com/s/61kstfx7pbr3j ... .capx?dl=0

    I have seen a lot of questions about Local Storage and although I am relatively new to C2, I thought I would offer this capx to demonstrate the basic use of the Local Storage plug-in. It is a simple game where you have 3 students. You push their corresponding button to move them through the school system until they graduate. You can exit at any time, go back in, and see where you left off. A couple notes:

    • I also used a dictionary to show how the 2 can be used together. (I personally would also use some global variables for clarity, but thought this was leaner and maybe easier to follow. I was not trying to write perfect code.)
    • I added a "Clear" button so you can start over.
    • I also used an array to save grade information as I thought this might help some beginners as well.
    • Lastly, I added a text field to show last button pushed just to mix up the types of data stored in the dictionary and local storage.
    • The default preview is set to Chrome.

    Hope this helps some of you . <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • You were not retrieving correctly. I made some small mods here.

    https://www.dropbox.com/s/yyt2wl382jund ... .capx?dl=0