Giter VIP home page Giter VIP logo

unicornbattle's Introduction

Introducing Unicorn Battle

This repository is the home of Unicorn Battle (UB), PlayFab's open-source, end-to-end demo project. UB is a complete game sporting dynamic gameplay, driven by PlayFab's back-end technology, showcasing how to build modern live-game systems.

Splash Screen

Key Features

  • Unified Player Profile - Accounts uses Device ID &/or Facebook Authentication
  • Cloud Saving - Store data on up to 10 characters per account
  • Inventory Management - Transfer items and currency between the player and its characters
  • Dynamic Gameplay - Drive client behaviors using TitleData
  • Virtual Items, Currencies, and Stores - Configured via PlayFab's Game Manager
  • Friend Lists - Import Facebook friends or add your own
  • Statistics Tracking - Used to drive Achievements and real-time leaderboards
  • Push Notifications - for re-engagement campaigns and special offers
  • Real-money, In-app Purchases - with Android or iOS receipt validation
  • CDN-hosted AssetBundles - Dynamically stream content to clients for new sales and events
  • Cloud-hosted Logic - Cloud Script methods that call a variety of protected APIs
  • Community Forums - with API access to your game; built by our partners over at [Innervate](https://playfab.com/marketplace/innervate/"A turn-key community solution that comes out-of-the-box integrated with PlayFab")

Battle

Configuration and Setup

Prerequisites:

This is an advanced example and can be quite dense at times due to the many sub-systems.

  • You should be very familiar with Unity3d & UUI
  • Have a basic understanding of the PlayFab API
  • Be comfortable working with JSON-to-C# serialization & deserialization

Back-end Setup:

The first step is cloning the Unicorn Battle back-end to your own PlayFab title so you can play around with all the data on your own.

We've built a handy tool to do this -- see the Back-end guide for full instructions.

Client Setup:

The next step is to get the Unicorn Battle client running on your own mobile device, and communicating with your own back-end.

There are two ways to setup the Unicorn Battle client. You can download the Unity source code, compile it yourself, and run on the device of your choice. Or, you can download and install our precompiled Unicorn Battle app directly from the Google Play store for Android.

See the Client Guide for full instructions.

More information:

For a complete list of available APIs, check out the online documentation.

Our Developer Success Team can assist with answering any questions as well as process any feedback you have about PlayFab services. Community, Forums, Support and Knowledge Base

Copyright and Licensing Information:

Apache License -- Version 2.0, January 2004 http://www.apache.org/licenses/

License Details available in LICENSE.txt

Third-Party Code Attribution:

The asset creators below retain all rights to their assets. Please do not use without explicit consent. If you like any of the assets used in Unicorn Battle, support the creators:

Community Development

Ideas on how we can make our examples, documentation and services better? -- Contact Us

Want to continue developing on Unicorn Battle? -- Fork Unicorn Battle

We love to hear from our developer community!

Version History:

See GitHub Releases for the latest stable build and patch notes.

unicornbattle's People

Contributors

amccalib avatar marcowilliamspf avatar pgilmorepf avatar sgoel22 avatar sivakatir avatar zac-playfab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unicornbattle's Issues

Unity 5.6

There are errors on unity 5.6. Do you have a plan to update this sample anytime soon with newest playfab sdk?

CDN content

The demo requires CDN content but it is a premium feature. Anyway to test without it ?

UB_Uploader exceeds playfab limits and error with Virtual Currency Settings

Hi!
First of all thanks for this fantastic and well documented example.

UB_Uploader exceeds limits of playfab :
Current limit for title:
10,000 bytes (Default)

Recent values exceeding limit:
2016-07-13T08:09:30 UTC - 14,719 bytes

Also, Uploading Virtual Currency Settings fails.

Please see PreviousUploadLog.txt
Setting Destination TitleId to:****
Setting DeveloperSecretKey to:*********************************
Uploading Title Data Keys & Values...
Uploading: Achievements
Achievements Uploaded.
Uploading: CharacterLevelRamp
CharacterLevelRamp Uploaded.
Uploading: Classes
Classes Uploaded.
Uploading: CommunityWebsite
CommunityWebsite Uploaded.
Uploading: DefaultBossCreeps
DefaultBossCreeps Uploaded.
Uploading: DefaultCreeps
DefaultCreeps Uploaded.
Uploading: DefaultHeroEncounters
DefaultHeroEncounters Uploaded.
Uploading: DefaultMegaCreeps
DefaultMegaCreeps Uploaded.
Uploading: DefaultRareCreeps
DefaultRareCreeps Uploaded.
Uploading: DefaultStoreEncounters
DefaultStoreEncounters Uploaded.
Uploading: Events
Events Uploaded.
Uploading: Levels
An error occured during: TitleData Upload: Levels
[DataLengthExceeded] -- DataLengthExceeded:
Uploading: MinimumInterstitialWait
MinimumInterstitialWait Uploaded.
Uploading: Offers
Offers Uploaded.
Uploading: Sales
Sales Uploaded.
Uploading: Spells
Spells Uploaded.
Uploading: StandardStores
StandardStores Uploaded.
Uploading: StartingCharacterSlots
StartingCharacterSlots Uploaded.
Uploading Virtual Currency Settings...
An error occured during: VC Upload Error:
[InvalidParams] -- Invalid input parameters: System.String[]

An unexpected error occurred:   Failed to upload Economy Data.

UB_Uploader.exe ended with errors. See PreviousUploadLog.txt for details

This was an internal method which is no longer used (Facebook SDK)

i just downloaded unity 2017.1 (tried with both Facebook Games Support and without it)

i am getting this error:

Assets/Facebook/Scripts/FB.cs(422,37): error CS0619: UnityEngine.Security.LoadAndVerifyAssembly(byte[])' is obsolete: This was an internal method which is no longer used'

as soon as i remember i also got same error in unity 5.6 but not in lower versions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.