CocosSharp v1.2.0.0 release

RamiTabbaraRamiTabbara AUMember, Xamarin Team Xamurai

Breaking changes


  • CCViewportResolutionPolicy has now been removed. This allowed for some finer, albeit unnecessary, customisation of the viewport. However it is unlikely that this will have any impact on users who typically rely on setting the CCSceneResolutionPolicy during initialisation. In fact, the existence of two distinct resolution policies for CCScene and CCViewport was likely to cause some confusion to users, which was one of the motivations for its removal.

Fixes and enhancements


  • 48 Add Default Projection property
  • 47 CCLayer: Add constructor to specify camera projection
  • 46 iOS: CCMusicPlayer: Volume ignored when opening a file
  • 44 iOS: BackgroundMusicVolume has no effect
  • 43 AnimationInterval on CCWindow not working
  • 42 Add new Xamarin Studio template for Mac projects
  • 41 CCLabelBMFont positioning when using constructor specifying width
  • 40 iOS: If only landscape orientation is enabled, app with a wrong window position
  • 39 iOS: Errors when changing orientation
  • 38 Remove superfluous CCViewportResolutionPolicy
  • 36 CCLabelBMFont: ContentSize is 0x0 during initialisation
  • 32 Error calling CCApplication with no size
  • 30 CCSceneResolutionPolicy.ShowAll not behaving correctly
  • 26 Android app crashes when started in landscape mode but the app requires portrait mode
  • 23 CCLabelBMFont: Unable to run CCAction on label
  • 20 Visible bounds not perfectly matching default set by DesignResolutionSize
  • 18 Add new Xamarin Studio template for Android projects
  • 17 Add new Xamarin Studio template for iOS projects

Posts

  • yuuhheyuuhhe USMember

    沙发
    congratulations!

  • DomiBDomiB BEBeta, University ✭✭

    Thanks!

  • JohnTamJohnTam GBMember, University ✭✭

    There is a problem with the NuGet package CocosSharp.PCL.Shared.XNA version 1.2.0.0.

    If you update to this from version 1.0.1.0 it breaks any file using Microsoft.Xna.Framework.GamerServices. It says that GamerServices is missing. When you revert back to 1.0.1.0 this namespace comes back.

    Thanks,
    John

  • RamiTabbaraRamiTabbara AUMember, Xamarin Team Xamurai

    Hi John,

    Are you using Microsoft.Xna.Framework.GamerServices within your class? Since v1.1.0.0 there was fix that correctly syncs up PCL calls to XNA with the platform specific XNA calls.

  • JohnTamJohnTam GBMember, University ✭✭

    Hi Rami,

    Yes in the class there are:

    using Microsoft.Xna.Framework;
    using Microsoft.Xna.Framework.GamerServices;

Sign In or Register to comment.