Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 1 Support › Game Network

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #6622

    Nour

    Hi

     

    I am trying to add leader board and achievements to my game, but when integrating game network code I cant open the game and this code crash my game

     

    i integrated this code

     

    Facebook {
          id: facebook
          appId: "569422866476284"
          readPermissions: ["email", "read_friendlists"]
          publishPermissions: ["publish_actions"]
        }
        VPlayGameNetwork {
          id: gameNetwork
          gameId: 5
          secret: "abcdefg1234567890"
          facebookItem: facebook
        }
    
    
    please advice to solve this problem
    
    Thanks
    #6623

    Christian
    Felgo Team

    Hi,

    did you activate daily builds?

    Also, for facebook please add the import VPlay.plugins.facebook 1.0 statement as shown in the GameNetwork example here.

    Cheers, Chris

    #6634

    Nour

    It’s working now on my device , but still crashed on simulator!!

    This error shown:

    VPlayGameNetworkView is not a type

    VPlayGameNetworkView {

    ^

    WARNING: VPlayApplication: no GameWindow item found, so could not set the rootGameWindow contextProperty as well! 

    #6635

    Christian
    Felgo Team

    Did you also follow this advice from the daily build docs:

    Change the pro file to CONFIG += Felgo_daily and run a clean build. It is important to select “Build / Clean Project” followed by “Build / Run qmake” before a new project is started so the daily build libraries get used.

     

    Cheers, Chris

    #6636

    Nour

    also not working with me

    will send sample code via email , please tell me if there any error or maybe i missed to install something

    Thanks

    #6637

    Christian
    Felgo Team

    Hi Mohammad, works for me. Did you update to the latest daily build version 1.5.4 in your Felgo MaintenanceTool?

    Cheers, Chris

    #6638

    Nour

    GREATE

    its working now 🙂

    Thanks Chris

    #6639

    Christian
    Felgo Team

    Good to hear Mohammad! 🙂

    #6643

    Nour

    Hi

     

    After Installing the build to my device , there are always missing assets!!!!  i got many notifications like:  “Get data from file(assets/leaderboardIcon_hover.png) failed!”

    How to add the default assets??

    #6645

    Christian
    Felgo Team

    Hi,

    please follow the steps described in the docs here.

    Cheers, Chris

    #6650

    Nour

    Solved, just added leader board images to to the Archive

    Thanks Chris

Viewing 11 posts - 1 through 11 (of 11 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded