h1k3's Forum Posts

  • 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?

  • Ohh thats a shame, I went and purchased a VPS and added nodejs socket.io and express for the sole purpose of multiplayer gaming. Any idea how long we have to wait until we can begin using our own servers?

  • GamerGon

    Did you initialize FB first?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • taltal, nope nothing new. You need to have a picture URL for it to work. So use php to upload your screenshot then call the upload with the temporary file name URL.

  • Is there any way to change the visibility of actions/conditions in the c2 IDE? For example, if I had a true/false property in a plugin could I set some actions invisible?

    If my property = true set my action visible true

    Else set my action invisible?

    That sort of thing

    I am looking to just clean up the options in a plugin so only actions a user wants are visible for choosing.

    Thanks for your help,

    Lance

  • Guampa, yes it is, but I'm busy at the moment(trying to buy a couple of restaurants......OMG paperwork) So someone else eldods above if I'm not mistaken has asked if I would mind if they continue on development. So I'm sure that functionality will be built before too long. In the mean time send me a private message and maybe I can find a way in a couple hours for you to pull the user pic. I'm guessing it won't be too difficult with the current plugin.

  • I love the idea but I did vote no, because I think it could be more productive to try it a little different. Maybe spread it out over two concepts. First set up a video chat for licensed users and one for unlicensed users. Set the time to 30-60 minutes. During which you could get to know your licensed users and what types of games they make the most. This could help steer the direction for future updates. The unlicensed video chat could be a great way to learn why the users are unlicensed. Is C2 missing something and that's why a majority aren't users? That could be a great concept to add in the near future. Is it price prohibitive? Maybe some sort of reseller program which offers a paid license after x number of resells. You get the idea for part 1. My suggestion for part two incorporates the education part.

    Find a local high school near your headquarters and offer them a free school license with once a week class time with someone from your office. In return get the ok to video the group as the complete the class final. This would give you knowledge of how user friendly the software is for schools, give you video footage to compile into a marketing video for other schools, not to mention introducing the program to young people which in itself can pay off in potential future sales. :)

    So again, love the idea but I would expand it. That's why I voted no.