!! Ojya Leaderboard Facebook Extension !! V10d - Stencyl 3.5 - RELEASED

designpeg

  • Posts: 618
Hi, I'm really interested in buying this extension,  can you tell me how much control I get over the fonts used/position/ appearance of the pop ups?

andyvene

  • *
  • Posts: 107
Hello,
the popups i use are pngs , Stencyl image instances, with the description just written. So you can just create it using illustrator, photoshop or other graphic application.
Are located inside the 'extras' folder of the game.
So, you have complete control on changing the aspect and the text.
Example: If you want for a certain popup to change the aspect and the text, create one you like , even with different size, but use the same name of the png located in the 'extras folder'.

Or if you prefer you can create a blank popup and use Stencyl fonts, using Stencyl's block 'Draw Text on Image'. Where Image is your png-popup in the 'extras' folder.
 In that way will be more dynamically the text.

The buttons are actors.

There is also a custom block that generates the popup with the selected buttons you like automatically, positioning the popup in the right middle position of the screen even i f you change the size of the popup.
So, i created some blocks to save time when changing the popup, without strangeling  to calculate again the X and Y position on the screen.
There is one custom block that creates all the popups the game uses, except those posting to facebook game.celebrate opengraph story and challenging other players posting to facebook timeline.

Automatic popup dialog creation custom block with slide effect and actor-buttons

Priority has the top margin, but will never slide down so to cover the buttons. This is defined by the bottom margin.
So everything is calculated and will work fine even if you change the size of the png popup.

 
Then, to close the popup there is a custom block inside Ojyaleaderboard behaviour named: 'closefbpopup'

The trigger 'PopupDialog' defines and executes 4 popups you see using Ojyaleaderboard.( Asking permissions, no internet connection, no user data found and prompts to connect in internet, creating scores first time)

This is a complete dialog creation and opening in just 3 blocks.


This is a complete dialog creation with blank popup and text dynamically defined inside Stencyl

« Last Edit: September 12, 2018, 07:10:53 am by andyvene »

designpeg

  • Posts: 618
Great, that really clears thing up for me! I will definitely be buying this in the near future.

andyvene

  • *
  • Posts: 107
Ojya Leaderboard version 10d
Facebook API 3
* RELEASED *

Facebook Server host score
or Sql-database score


- Minor changes in the code inside the games, for Stencyl 3.4 and 3.5.
- Change  in the native code for iOS for both Stencyl 3.4 and Stencyl 3.5 latest builds.
- Performance test with success for iOS and Android latest versions (6.x and up) using the latest Stencyl 3.5 builds.

Visit our site Ojya Leaderboard

zerosimms

  • *
  • Posts: 661
Hey Andyvene,

I'm running through your video tutorial to set up the Facebook application and I'm at this part: https://youtu.be/4gr7ukqTsSw?t=354.
I'm struggling to find the 'Opengraph' option that you mention. Are you able to point me in the right direction, please?

Cheers

andyvene

  • *
  • Posts: 107
Hello.
There is no opengraph option. Is depreciated from API 2.7 i think. Almost a year ago.
You cannot create custom opengraph stories.
There is no need also to create an object id , i think it was for the apprequests.

You only need to provide those 3 values from your facebook app developer site.
Read only the PDF : OjyaLeaderboard Install v10d.  Nothing else.
Now it is much simple to configure Ojyaleaderboard.

zerosimms

  • *
  • Posts: 661
Awesome! Even better! Thank you for the quick reply!

andyvene

  • *
  • Posts: 107
Yes. Do that.
I have created this PDF with the install procedure and also the configuration.
Configuration for both the facebook part variables and also for the ftp-host sql-database variables.
Take just time and follow the steps.
Once you have done it, you will see that you can configure next time from scratch a new facebook app and ftp-host, sql-database etc in only 20 min.

« Last Edit: October 27, 2018, 12:35:30 pm by andyvene »

zerosimms

  • *
  • Posts: 661
Hey,

So I've been following the PDF best I can, when I try and build my game through xCode, it fails with
Code: [Select]
/Users/me/Google Drive/Thieving Pixels/Games/stencylworks/stencylworks/engine-extensions/OjyaLeaderboard7/OjyaLeaderboard.hx:862: characters 6-22 : Cannot access private field voidResponse
That line in the file is related to FTP:
Code: [Select]
if(ftp.voidResponse().indexOf("successfully")!=-1){
Any ideas what I've missed/done wrong?

Cheers

andyvene

  • *
  • Posts: 107
Please,  write in my email for support-technical  aspects. 
Thanks.
Andreas.