Forums

OverviewV-Play 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
    V-Play 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
    V-Play Team

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

    Change the pro file to CONFIG += V-Play_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
    V-Play Team

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

    Cheers, Chris

    #6638

    Nour

    GREATE

    its working now :)

    Thanks Chris

    #6639

    Christian
    V-Play 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
    V-Play 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support