AlmostDigital's Recent Forum Activity

  • It was Cranberry, he has a plugin that he doesn't support anymore and it is not compatible in the XDK as the build fails every time and requires a CLI version lower than 5.0. There don't be seem to be any other.

  • So one thing I noticed about the IAP (which by the way, works flawlessly) has not an option for consumables (like coins and things like that). Once and item has been bought, there is no way to buy it again. Clicking the same button to buy doesn't give any dialog whatsoever. I understand it has to do something with letting google know that the user used the product and that it is consumed. How do I do this? Cranberries plugin is not supported and all / any other plugins give me an build error in XDK. The few tutorials about this only cover things like premium and paying to remove ads.

  • So I am dealing with the more advanced stuff that I don't understand. Long story short, I am developing a mobile game and it uses Facebook and Admob together. Cranberrygames plugin works if installed individually but not together and I get a multidex (dependency) build error. I know it's the Android Support V4, but I have no idea how to delete it from the /lib without affecting the build directly.

    After installing Facebook4 (Wizcorp) I was able to build successfully, however, I am facing a key-hash error. And I solved that, but now I get a "user logged in as a different facebook user" error and the only solution is to type a sort of command into the main activity that uses the login process.

    My question is, how do I (and where exactly) put this to make it work?

    override

    public void onError(FacebookException e) {

    if (e instanceof FacebookAuthorizationException) {

    if (AccessToken.getCurrentAccessToken() != null) {

    LoginManager.getInstance().logOut();

    }

    }

    }

  • Hello guys, I truly hope someone can help me as I sought help everywhere, including from Cranberry who is not responding. Probably a busy guy. Anyhow, I lost over a week on this one and I know this might not be (or it might be) connected to Construct itself, but I thought I'd give a shot here.

    Anyhow, Cranberries plugins mostly work and I have the same constant problem when exporting. Thing is, I am trying to export a game that has both Cranberry plugin (Phonegap Facebook and / or Facebook Share) and when done individually, it works. However, as soon as I ad Admob or Vungle / Revmob I face a build error. It's about the dependency problem and multiple dex error. I can't make XDK accept these multiple ones and I tried literally every other plugin on XDK and the one Construct uses. So far, I managed to export it using the cordova-plugin-facebook4, but there is no log-in info or anything related to facebook that works. So I beg you, if anyone knows how to solve this.

    I've been to Cranberries Google Plus too, where he explains what to do to solve the build error, however it's about the google play games plugin, not the Facebook one, so I don't think that work. I need both the log-in and the ads, is there any alternative to the facebook plugin or anything else? Thank you.

    (Latest drivers, latest XDK and Construct 2, Cranberry plugin's purchased a week ago. Windows 8.1 x64)

  • Oh my, that worked perfectly, the alternative version you suggested. That was a simple solution, thank you so much.

  • So I've been kinda struggling with this, but what I am trying to do is to make a grid with skins for the player to choose. I could always copy and create a new sprite for each frame I got (and I have over 80+), so to copy each is troublesome and wastes memory too since every cloned object is a new object.

    http://pasteboard.co/bWpQmwy3t.jpg

    http://pasteboard.co/1c2D5tnki.jpg

    I know I have to use "for each" and loops and arrays (I am already using an array to determine if the player has unlocked certain skins). I don't know how to set each individual copied sprite to use a different skin (frame) from the previous or next one. Do I use UID's for that and /or IID? <img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused">

  • Thanks for the tip, it really helped us to try it and gave us the idea to use the Array for it.

    But still, entering the values manually is a lot of work xD.

  • We have created an app and now we want to add a "skin" system for the character.

    The problem is, there are too many variables and too many visibility and opacity changes. -.-

    My question: Is there a simpler way or plugin to change skins of the character.

    Currently I'm changing them with adding variables to each color, and each change, changes variables for the whole set of colors which adds up to way to many lines of code and is getting easy to get lost in it.

    Best Regards.

  • Hello,

    could someone please tell me how it would be possible for the user to create a custom highscore list where he would include the friends he chooses from Facebook? That list would be only available to him and the friends he has chosen in that list. I've got a SQL database set up that saves the user who login with Facebook, and it works.

    I imagined it as a layout where are 2 tabs. One tab shows the global highscore list, the 2nd tab all the friends from facebook that play the same game. And add a third tab that would filter few friends of the users choosing to only follow their scores. (Lets say I wanna compare my scores only with 2 more friends in the group)

    I know this sounds kinda complicated, but is it possible to achieve this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi everyone,

    I don't know if anyone could help me, but I will try it anyway

    I have the following situation:

    I added Admob to Construct 2 and exported it as a "Cordova" project file, later I added it to Intel XDK to build it, but I get the following Error: "Error: Plugin CorHttpd failed to install."

    At first I thought, that it could be because of the project file, but when i exported it as "Cordova" with the "Intel XDK project format" and imported it to Intel XDK I still got the same error.

    My question, has anyone had the same experience or anything similar,or even heard of the Plugin CorHttpd, or EVEN if Admob works without that plugin ??

    Best Regards

  • Hi guys, first time posting here.

    Well, to cut down to the problem: I've made a test project to check how Facebook plugin works and I gotta say, its pretty darn awesome. However, I do have problem (or that is, I don't know how to use it). I have a website where I stored mySql and the PHP to retrieve highscores. What I want to do however is that I want the name of the person that submits the highscore to be logged in with their facebook account. I did everything right, hopefully, and when I test in the localhost, it works. The app requests me to log in, I log in and then I submit my score with the name I'm logged in with. However, that is when I put "localhost" into the app domain in the Facebook developer control panel. What do I put there when someone is on a phone? I get the error where it says that the URL isn't listed in the app domain of Facebook app page. How do I solve this problem? What app domain do I use / find out?

    Thanks in advance for the help.

AlmostDigital's avatar

AlmostDigital

Member since 21 Apr, 2016

None one is following AlmostDigital yet!

Trophy Case

  • 8-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies