fredriksthlm's Forum Posts

  • Can you put that on the suggestion platform? That's the kind of helpful detail that helps explain what the suggestion is aimed at.

    Updated: construct3.ideas.aha.io/ideas/C3-I-486

    Hope this helps

  • I do really not know how to explain further to meet the "need more details".

    To subscribe to a bot, is basically the same as the function to create the shortcut. Which you have already implemented in the official plugin. It is a perfect functionality to have in the construct plugin, since it is an easy call

    UpdateAsync, is already implemented in official plugin, but only the leaderboard. What we need is the Custom, as well. So we can specify a message and a picture. This is very similar as ShareAsync.(Currently everyone has to use via Browser>Javascript for this)

    ChooseAsync

    needs a trigger to see if we acutally trigger a change or not. But this is a vital function, since IG basically are built on contexts. With leaderboards, updates and all. So then chooseAsync is used to switch. This needs a callback to see when it is resolved. Now we use browser>javascript, but is not perfect since we cannot see if we actually did a change.

    You can see macubes plugins, his actions are the way to go!

    switchGameAsync()

    super easy without any callback

    this we also have to do via browser>javascript currently

    getSupportedAPIs()

    this returns values from the API of supported features. maybe a bit to investigate to include.

    I think you can have a look at macubes plugin, it is perfect for some of the events. and a good starting point for the others

  • i think you should follow the mario pattern of keyboard biddings. it always stuck with people.

    arrows to move wasd as a lefty choice. spacebar to jump shift to shoot or ctrl (on shooting u can even play around with Q and E as they are close to the left side if u moving with wasd.

    Hi, yes, this is basically what I have used so far.

    My main concern was though that WASD does not even exist (as a normal mapping) on any other keyboard than qwerty. So for you and me wasd makes sense, but not in all the other parts of the world. :)

  • Hi all,

    When you create web games, they are often controlled by mouse/touch, but if you want to create a keyboard controlled game, which keyboard keys do you prefer to use?

    (Desktop pro high end games always have user specific options to set keys, but for a simple little web platform game this is overkill.)

    So lets say you have movement, shoot and jump.

    Should I specify

    Movement: Arrows

    Jump: Shift

    Shoot: Ctrl

    Does Arrows, Ctrl and Shift exist on all keyboards, asian, arabic, russian and what not?

    I remember when I was younger we often played with WASD, but now when I have traveled a lot I have realized that WASD only make sense on QWERTY keyboards...

    So what would be the Default button setup? So it will be a nice setup all around the globe... :)

  • Maybe kytuzina can verify it? (Wrote it on the plugin page)

  • Hi macube. I have looked into your plugin! Seems promising.

    As discussed in the plugin forum you need to change the ID after chooseAsync. Otherwise nothing will work. And your plugin does not do this. Look into the thread where me and ashley discuss this.

    Also, with your plugin you need to paste the base64 pic. Which is basically the same as using just javascript.. i think people want to use an image in the layout, just like with the official plugin share function.

    But I appreciate the effort with your plugin and looking forward to updates :)

  • There has been a disussion about this plugin in the plugin forum.

    I agree with you 100% that this plugin lack some basic features.

    Aside from the two functions you mention I also would like to see:

    canSubscribeBotAsync( ) And subscribeBotAsync( )

    switchGameAsync( )

    getSupportedAPIs( )

  • Yes it works fine.

    With the above lines.

  • facebook.com/groups/instantgamedevelopers

    you just need one line in the fbapp-config file, where you specify the nav bar. it is all well documentet in the bundle config references

    try this short code

    make sure you save the file encoded in UTF-8

  • you need to create a new file and include in your zipfile. the file should be named fbapp-config.json

    you have detailed info of the content in the FB IG documentation

  • Yes they have done an anouncement of this. Visit the iG dev forum.

    The bundle must include info of the nav bar setting

  • abs is just one example of a classical arithmetic operation. They are all very handy to use when you understand know them. commonly used in all situations when you are handle numbers, like excel, programming or just math :)

    Here is a good explanation of different math funtions (example is for java), but I believe they all exist in Construct as well:

    way2java.com/java-lang/class-math

    some examples

  • I don't think you can do that from the normal leaderboard. Otherwise, there wouldn't be two separate expressions and functions.

    you request the connected players via the leaderboard function, then you can show their rank and score etc.

  • Has anyone been able to retrieve the connectedPlayer Rank or Score? In the new SDK you can have the rank and score. Seems like Construct 3 doesn't have those expressions.

    you can get them via the normal leaderboard functions(?)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Without any more info than this we cannot help you.

    Share function in IG works fine.

    The Intent has no impact in the SDK though.