sleepingpanda's Recent Forum Activity

  • fredriksthlm Well, I gave it a try with something very simple but it didn't work so I removed it from the production version.

    I think the create shortcut prompt you saw is something automatic on Facebook side when a player opens a game for the first time. If he doesn't accept, popup disappears and is no longer shown.

    Looking at Instant Games documentation, I saw that we're missing the canCreateShortcutAsync( ) function (source: developers.facebook.com/docs/...).

    I hope Scirra is going to update the official IG plugin because we really need those new features so that we may fully benefit from the platform and Construct.

  • Thank you very much for your feedback!

    I guess I really need to improve my english.

    Btw, I don't know if you're a native english speaker but I found a very interesting and useful tool to write efficient English texts — It's called Hermingway App.

    My Facebook App Center information's are currently in review, but I'm gonna update this tagline text everywhere.

    About that wheelie colision bug... Yes, I noticed it too. This bug started since a previous update of Construct, but I'm not blaming C3, ofcourse. I just don't know yet how I may fix it... Except by creating specific animation assets for the wheelie, instead of just doing a rotation.

  • Today I'm pleased to tell you that Bikosaur is now playable on Instant Game:

    https://m.me/bikosaur

    If you prefer, you may also play it on Facebook.

    Back in August 18, 2017 I launched it on the web: bikosaur.com. You may also play it on iOS and Android.

    After Scirra released the first version of the Instant Game official plugin this year, I decided to give it a go. It took me around 36 hours of work to make my game IG compatible. I also optimized it a lot with smaller file sizes and functions.

    As of today, I reached 26k players in one week. Around 4k players a day.

    It's now time for me to focus on my second game.

    Talk to you soon.

  • Ok, I found out why it doesn't work.

    When you open an Instant Game via Messenger on Android for the first time, Facebook prompt a dialog asking you if you wish to add a shortcut to your homescreen.

    I actually did, then I removed the shortcut. I go back to Instant Game to add the shortcut, and when I tap on that button it fails...

    I had a look to Instant Game documentation and I found out that there is a canCreateShortcutAsync function (see https://developers.facebook.com/docs/games/instant-games/sdk/fbinstant6.2). I guess we're missing that function into the Instant Game plugin of C3. This would allow us to first check if the app is elligible or not to ask for shortcut creation on user's Android device.

    Ashley: Does it make sense? May I create a feature request on https://construct3.ideas.aha.io/ideas/C3-I-486?

  • Hey folks !

    I'm trying to understand why my Create home screen shortcut function doesn't work but I can't figure it out...

    My events are pretty simple, see screenshot below:

    Everytime I tap on ButtonHomeAdd, it fails.

    Is it due to my Android version ? Which is 7.x on a Huawei MediaPad, or am I missing something ?

  • >

    > Yes, it is the result of the Share Leaderboard Update function inside the THREAD context.

    > But before the new SDK version, you could only see your score update. Now you may also view closest scores from your friends via a slideshow.

    >

    That is a really nice feature indeed, but it is actually not related to the new SDK. It has worked like that for a year, and there was no update of the updateAsync within the new release. (I know they have had some bugs with the leaderboards, so maybe something got corrected at the same time though so it now works like that for you... )

    The new friend leaderboard function is not related to contexts (like threads etc)

    Uh... I feel a bit dumb now ?? Thanks for explanation

    Btw if you plan to add your previous request as a suggestion idea, make sure to post its link here so that we can vote for it too.

  • >

    > > Today SDK v6.2 got released. Only one new thing, but really neat! Friend leaderboards!

    > >

    >

    > I tried this morning, and it's awesome!

    > You can see your friends scores directly within Messenger:

    >

    Thats looks like the Share Leaderboard Update function, for your context?

    Yes, it is the result of the Share Leaderboard Update function inside the THREAD context.

    But before the new SDK version, you could only see your score update. Now you may also view closest scores from your friends via a slideshow.

  • Today SDK v6.2 got released. Only one new thing, but really neat! Friend leaderboards!

    I tried this morning, and it's awesome!

    You can see your friends scores directly within Messenger:

  • Share leaderboard update requires that you play the game within a context, and the leaderboard has to be a contextual one. If that is the case, you can set an update ledarboard event, which will automatically send an update message with the score to the context you are in. it will be seen in the context later, but you will never notice anything in the game itself.

    This feature also works fine, I have tried.

    Thank you very much! I got it now, and it absolutely makes sense.

    I played around with the context and found out how to get a "SOLO" or "THREAD" one. I was wondering how can we get "POST" and "GROUP" contexts? Any ideas?

    EDIT:

    Apologizes. I found out on the SDK documentation: https://developers.facebook.com/docs/ga ... textfilter

    [quote:2hsx8olr]getType( )

    The type of the current game context. POST - A facebook post. THREAD - A messenger thread. GROUP - A facebook group. SOLO - Default context, where the player is the only participant.

    This function should not be called until FBInstant.startGameAsync has resolved.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The Share/Invite functions work very well. So something might be wrong with your events. Since this is actually the simplest function to use.

    Error on my side, I was talking about the Share leaderboard update event that I can't get to work.

    Anyway, I just did a couple of tests, and you're right! It's very easy to use Share/Invite event. That's finally what I wanted — Players to send their score directly to a friend via a message, or create a new Facebook post about.

    Ingame leaderboard, to populate leaderboard data into text fields etc is also easy, and works very well. (But since the apps are in test mode you do not have much to show hehe)

    Yup! Very easy. I'm now implementing leaderboard design into my game.

    I've a few friends as beta tester so it helps a lot to get some data's. You may also create beta test accounts, which are fake accounts, and play your game using those accounts to add some more data's to your game leaderboard. That's a really great feature from Facebook.

    I was the one that told you about how to reset your leaderboard, in the official FB group

    But as explained, this function is not part of the IG SDK, so it won't be included in C3 plugin. But it works via Graph API Explorer tool from FB.

    Ha ha, fun! I added you if you don't mind.

    I've sent several games and in my experience in some games the share function works and others not. Its very random and I didn't managed to find whats wrong.

    Which share function do you mean? Share leaderboard update is the one I can't get to work, atm.

  • Hey, guys!

    I’m working on an Instant Game version of my latest released game and I wanted to share my experience with you.

    So far, my game is still in development.

    Here are what I achieved with the plugin:

    • Get current player details (name, and avatar) and show them in-game;
    • Get current player score, store it locally, and then submit/update it on the related Instant Game leaderboard;
    • Get related leaderboard data’s (such as player names, avatars, and highscores;
    • Load an Instertial Ad once current player dies;
    • Show an Instertial Ad once its ready, and that player plays another game.

    Here are what I’m working on now:

    • Show an in-game leaderboard;
    • Get the Share and Invite events to work. I can’t figure it out for now;

    For now, everything is working fine with built-in C3 plugin.

    Except the Share and Invite events I can’t get to work for now. But I’m currently looking into it.

    To be honest, every hard times I got for now was basically due to a misconfiguration within the Facebook consoles (Facebook Developers, Facebook Monetization, etc). Once it’s very clear to me, I may share with you all different steps to do to get it to work. But honestly, it isn’t that hard to set – it may just take some time to read their huge documentation.

    By the way, Facebook set up an official Facebook Group for Instant Games developers: https://m.facebook.com/groups/744264762436352 I joined it weeks ago, and the community is really nice + admins. You get fast and relevant answers to your questions.

  • You can set time scale to 0, anything should stop moving until you set it back to 1. Still some will not be paused like mouse/touch inputs I believed.

    Another way is to put the events that moves/updates those objects into a group and deactivate it when game over.

    Hope this helps.

    This solution was by far the most viable one for me. Activating/deactivating groups are very handy for complex games with multiple events and layouts. Thanks!

sleepingpanda's avatar

sleepingpanda

Early Adopter

Member since 26 Oct, 2015

Twitter
sleepingpanda has 1 followers

Connect with sleepingpanda

Trophy Case

  • 9-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x3
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

13/44
How to earn trophies