fredriksthlm's Forum Posts

  • 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... :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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(?)

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

  • chooseasync is not supposed to send anything. it just change your session into the context you choose.

    (use updateasync to send)

  • fredriksthlm Do you have a priority list of what you need from the instant-games sdk?

    Hi macube I know you are working on a plugin, I have been waiting for it ;)

    For me these functions is the ones I use with browser currently:

    1. updateAsync - works pretty well to do with javascript, but would be a lot easier with a plugin, to link image etc. (Should be implemented similar to shareAsync). I think this is quite easy to do.

    2. chooseAsync - this will be trickier for you, since this will require changing of the type and Id variables in the standard IG plugin, when success. See ashleys response above how to do it, otherwise it will not work with c3 runtime. Also this function needs proper callbacks, so this is the hardest function to fully implement in the plugin I believe.

    3. switchGameAsync - the most simple one.

    4. getSupportedAPIs - this will return the supported features for that particular session. really handy. and also this feature is part of IG Best practice.

    So this is my preffered new functions. I have not started to work with the bot-things.. basically cause I hate bots :D

    the "goal" is to not use the browser/javascript plugin at all.