Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Gravity Ball Game Template + 2D Dynamic Lights and Shadows

Discussion in 'Assets and Asset Store' started by ababab5, Dec 13, 2015.

  1. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    Gravity Ball is a fully Unity template ready for release.

    Get in on the store :

    http://u3d.as/mns





    How to play?

    On mobile: touch left to do a small jump and touch right to do a long jump.
    On web and desktop: left arrow to do a small jump and right arrow to do a long jump.

    It is compatible with mobile as well as standalone, webPlayer and webGL . It is an one touch arcade game and modern high speed infinite jumper.

    It’s a procedural game.

    This pack includes:
    - Full game ready to use.
    - "Paper style" graphics.
    - Procedural level generation.
    - Pool system.
    - Mobile touch and mouse input.


    MONETIZATION

    - iAd banner and interstitial
    - Unity Ads rewarded video
    - Chartboost interstitial and rewarded video
    Using Stan Assets Android Native or Stan Asset Google Mobile Ads
    - Google Admob banner
    - Google Admob interstitial

    Try it:

    WEBGL

    WEB PLAYER

    Tutorial video on Youtube:

    TUTORIAL VIDEO


    Please rate my file, I’d appreciate it.
     
    Last edited: Dec 27, 2015
    jprocha101 likes this.
  2. albstore

    albstore

    Joined:
    Dec 28, 2015
    Posts:
    1
    hi , i cant add ads , error ..pls help me
     
  3. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    Hi,

    Did you read the documentation?
    If yes, give me your error message. I can't help you with no details
     
  4. MOSTY

    MOSTY

    Joined:
    Sep 6, 2013
    Posts:
    266
    Looks amazing!
     
    ababab5 likes this.
  5. Reborn

    Reborn

    Joined:
    Aug 16, 2013
    Posts:
    6
    I am attempting to integrate AdMob for iOS. I imported GoogleMobileAds.unitypackage and put it in the Plugins\ Android folder. The Admob IDs show up in AdsManager, but I have two issues:

    1) The "Use Admob" option as shown in the documentation is not in the Adsmanager
    2) I receive and error:
    Assets/GravityBall/Scripts/Ads/AdsManager.cs(376,50): error CS0117: `UnityEngine.iOS.ADInterstitialAd' does not contain a definition for `onInterstitialWasViewed'

    Can you please help?
     
  6. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    Hi,

    1/ update you unity version or comment the line with the errors. It's just a delegate who doesn't exist in unity 5.0 to 5.2
    2/ please read the first line of the documentation or see the FAQ here :
    Http://appadvisory.zendesk.com

    Cheers
     
  7. Reborn

    Reborn

    Joined:
    Aug 16, 2013
    Posts:
    6
    Thanks, that worked. I also realized I needed Stan's Google Mobile Ads for iOS.
     
  8. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    You can use Google Mobile Ads Sdk for Unity for free if you prefer

    And don't hesitate to rate us ;)
     
  9. Reborn

    Reborn

    Joined:
    Aug 16, 2013
    Posts:
    6
    I ran into another issue. I was able to build in Unity for iOS, but when I try to Archive in Xcode I receive the error:

    GADUObjectCache.m
    'release' is unavailable: not available in automatic reference counting mode
    ARC forbids explicit message send of 'dealloc'

    If I comment out those two lines then I receive the error:
    GADUInterstitial.m
    GADAdMobExtras.h file not found

    Any idea?
     
  10. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    Which asset do you use for ads ?
    (type your issue on google you have 100 solutions ;))
     
  11. tinman

    tinman

    Joined:
    Jan 8, 2011
    Posts:
    229
    Is there a way to remove all the ad code completely? I just want to be able to compile to iOS and with the current build I get errors relating to the ads. If I start commenting out the ad code I just deeper and deeper with ad errors. Help would be appreciated :)
     
  12. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    Hi,

    for this, delete all plugins, erasde all scipting symbols related to the ads if you add some, AND DELETE THE PREVIOUS IOS BUILD!

    now it should be ok ;)
     
  13. MOSTY

    MOSTY

    Joined:
    Sep 6, 2013
    Posts:
    266
    Very cool game template, i missed the sale for that :-(
     
  14. nunesbarbosa

    nunesbarbosa

    Joined:
    Jul 17, 2012
    Posts:
    103
    Hey man! I'd really appreciate if you could use namespaces on every classes of Gravity Ball as it is really hard to integrate to a new project with duplicate common names like SoundManager and GameManager.

    Thanks! ;)
     
  15. oswaldReality

    oswaldReality

    Joined:
    May 23, 2015
    Posts:
    3
    Hi, nice game.
    I have some problems with it. When I build for android, the game doesn't show up the PopUpContinue
     
  16. Shinobi1507

    Shinobi1507

    Joined:
    Sep 8, 2010
    Posts:
    220
    I have the same issue here.
     
  17. LAFI

    LAFI

    Joined:
    Sep 5, 2014
    Posts:
    47
    Hi,
    Can i publish it?? can i face any copyright issues???
     
  18. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    Hi,

    Add namespaces ;)
     
  19. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    If the popup doesn't appear it means you don't have any ads to show
     
  20. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    Hi,

    OFFICIAL UNITY ANSWER

    Thanks.

    Best regards,

    GAB
     
  21. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    If the popup doesn't appear it means you don't have any ads to show
     
  22. exsoft

    exsoft

    Joined:
    Aug 4, 2015
    Posts:
    1
    when i build it for iOS i got errors:

    Assets/GravityBall/Scripts/PopupContinue.cs(4,7): error CS0246: The type or namespace name `DG' could not be found. Are you missing a using directive or an assembly reference?

    How can i solve it?
    thanks
     
  23. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    Hi,

    "How can i solve it?" ==> by reading the first line of the documentation my friend ;)

    Or have a look here.

    Cheers!

    Anthony
    Our assets