Husui's Forum Posts

  • I had this issue as well.

    I solved it by simply using replacing the touch.x or touch.Y on the events to Touch.Absolute.

    Try it and post your result

    I think Cocoon.io is a pretty solid choice for mobiles if you dont mind their splash screen at the beginning of your games that is.

    Here is the complete documentation for it:

    https://shatter-box.com/knowledgebase/cocoonio/

    I have been using it and it is quite fast compilling everything and pretty straightforward to use. However after 2 apps you need to pay in order to use it

  • https://shatter-box.com/knowledgebase/c ... canvasplus

    Follow this guide.

    Search for Exit app.

    Instructions are provided in order to close the app using the Canvas+.

    Dont forget to download the Canvas+ plugin and add it to C2 via the plugins file.

  • Hi all, i would like to set up a Google Play LeaderBoard in a game that im making but i dont know if its possible to do so when the exporting option is PhoneGap. This is because all the guides that i have encountered are for Intel XDK and cocoon.io but none for PhoneGap. Also i´m not sure if the plugin used is still working correctly. This is the Cordova Plugin for Google Play Achievements.

    Could someone with knowledge tell me if:

    1)- Cordova Google Play Achievements works when you try to export using PhoneGap?

    If Yes:

    2)-Is there any guide that i could follow?

  • This should get you started:

    Subscribe to Construct videos now

    There´s a second part as well, i suggest you watch it too.

    Also there´s alot more videos like these in the Official Scirra Channel, subscribing would be a good idea.

  • No one?

  • Yea I´ve spent the last 2 days trying to test my game on my tablet. I have used the simulate options but the real thing is always better, and i can export it but all that comes up is white screen...

    Any help would be aprecciated.

  • Whenever i export with Cordova and then try to build with Intel XDK i get a white screen.

    Don´t really know how to fix it. Searched for solutions ended in the same error.

    Im following this method posted by intel itself but no success.

    https://software.intel.com/en-us/forums ... pic/607195

    Help?

  • Quick Question for C2 experts:

    Is it Possible to make a Brawlhalla type of game with C2?

    If yes, would it be very complex or somewhat simple?

    If no, why is that?

    Thanks in advance and i apologize if this isn´t the right area to post this kind of question.

    For those who don´t know the game:

    http://www.brawlhalla.com/

  • Could this type of action be used to determinate not only what device is being used but also the screen resolution? (16:9, 16:10, 4:3 and so on?)

    I think this could be really usefull to maybe find a way to adapt the view of your game to the user´s screen resolution and achieve a perfect display in almost all devices.

  • You can just use the LiteTween Behaviour by Rex.

    You can find it in the Completed Addons section.

    You can easily make that effect using it and it has a whole bunch of other features as well.

    Try it out.

  • If Anyone can help i would really really appreciate it. This is like the last thing i need to fix to get my saving system to work.

    EDIT:

    Nevermind, i´m an idiot after trying just about everything i finally looked at my localstorage events and realized the only problem was my localstorage events were not correct. All i needed was to add the even "on X exists"- get item and now both my LocalStorage and dictionary update when i want to...

  • Sorry for Bumping.

    Just really could use an answer.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well I managed to get it working and im now able to save the value of the keys into a Jason File and Load it back up using LocalStorage.

    However im having a bit of an isssue.

    While using the Debugger i noticed that the update value of the keys don´t show when they are supposed to, but when i check the localstorage the updated values are there so i know its working, but why is that happening?

    When i restart the capx i can see theupdated values on both the LocalStorage and the Dictionary...kinda weird

    I was using text to display the values of the keys, so now they always stay at the previous value...would appreciate any help.

    The Screenshots of the code are on my dropbox if it is of any use:

    https://www.dropbox.com/sh/4y4dj4r3rocx ... a5dwa?dl=0

  • Hi all.

    I have been working on a project for some time now and the moment to work on the saving system for it has come.

    I have been trying to wrap my head around the Dictionary and how to use it to save the player progress, but so far no good. I have read multiple articles and posts on Dictionary and nothing, so i was wondering if i could get a more direct answer here.

    The concept is simple.

    I have multiple characters and each has a level, the current experience and the experience needed to reach the next level.

    To make it more organized i would also like to be able to save the Dictionary that contains all the game info as a Jason file and then load it back up whenever the user enters the game.

    But i have no idea how to use the Dictionary as all that i have ever used was global variables...

    I did noticed the the Dictionary has instance variables, maybe i could use these to save all my info?

    I do know how to work with LocalStorage but like i said i would to able to save everything as a Jason file.

    Any tutorial or explain on how to get the Dictionary to work would be highly appreciated.

    Thanks in advance and sorry for all the trouble.