h1k3's Recent Forum Activity

  • LOL, my wife's laptop sort of broke so we are down to1 laptop at the moment. So progress has not been the quickest, however I'm am starting to add features now. I did learn a valuable lesson though. Facebook will not use Scirra generated code that has been minimized. So if you have been having issues with the official plugin or any other plugin as of right now, try compiling your code as an unminimized project.

  • In fact the first section is done which includes the first big addition. Language support, so when you create a dialogue such as a login prompt it can be in any of 80+ languages.

  • Definitely making headway

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah, it's listed in the manual, anywho thanks much

  • That looks pretty elegant and simple. Thanks I will try that. Any idea how to set the .readonly flag?

  • I'm trying to figure out how to change all instance properties to the initial(instance 1) settings. I want to make sure that the properties remain the same across all instances. Here is what I have at the moment, any ideas?

    this setting sets the values to an [object][object] error.

    IDEInstance.prototype.OnPropertyChanged = function(property_name)

    {

    this.properties["App ID"] = property_list[0];

    this.properties["Language"] = property_list[1];

    }

    To better explain, I effectively only want to allow users to change the values on the first instance. I'd prefer to set the read only flag for the rest, but I can't seem to wrap my mind around it at this moment.

  • Roflmbo, ohhh my god. Face-palm lol thank you. I was too close to the issue, I was way overthinking it.

  • What is the best way to implement a function just once when the plugin loads, regardless of the number of classes and instances?

    For example,

    I want to load the facebook api just once. However multiple instances will be used to place 'like' boxes..........., so I can't place the init code under the classes or instance oncreate(would load it multiple times)

  • I don't believe so. I haven't tried it out.

  • Hey everyone,

    Quick update, I have not had the ability to spend time on this plugin recently due to a laptop hardware malfunction. I also recognize that a brand new API has been released on Facebook and my previous coding skills while sufficient at the time, lacked. I will be working on a new version in the coming days which should address most of your issues and should be facebook compliant through 2016.

    Stay tuned,

    Lance

  • It would appear that for mobile to be used, facebook apps need to have native support switched on. This is easy, the downside is you need to redirect to a facebook page which takes away all control from our app. I haven't touched my plugin, in a while now because I'm working on a nodejs rpg c2 project. What I might suggest that everyone try is this. Turn on native support in your app, ad the browser plugin, and using the open new window function, redirect to the facebook login for native apps. This of course assumes that c2 mobile allows the browser plugin?

h1k3's avatar

h1k3

Member since 1 Apr, 2012

Twitter
h1k3 has 3 followers

Connect with h1k3

Trophy Case

  • 12-Year Club
  • x5
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies