SlideShare a Scribd company logo
Cross-platform Game Dev w/
CocosSharp
with Alex Sorokoletov and Alexey Strakh
Agenda
• Mobile game development
• Cocos2d
• Framework
• UI elements
• Animations
• Navigation
• Native UI
• Advanced topics
Mobile game development
• Why games?
• Most rated
• Most downloaded
• Stores tops
• Top grossing
Stores tops
Top grossing
Daily stats (App Store):
• Clash of Clans
$1.6M, 140k installs, 4.5M users
• Game of War - Fire Age
$1M, 40k installs, 3M users
• Candy Crush Saga
$0.9M, 100k installs, 11.5M users
About Cocos2d
• Cocos2d
• MonoGame
• CocosSharp
Demo 1
Creating new game using Xamarin/CocosSharp
Components and layers
• Node
• Sprite
• Layer
• Scene
• Director
• AppDelegate
UI Elements
• CCLabel and Text
• CCMenuItem Image/Label/Toggle
• CCMenu
Animations
• Apply to any node
• Show, Hide, Move, Rotate, Fade, Skew…
• Easing functions
• Chaining
• Custom functions
Navigation between screens
• DefaultDirector
• Transitions (easing, rotate, slides, etc.)
• Navigation Stack (push, pop, replace)
var congratsScene = Scenes.CongratsScene(this.Window);
var congratsSceneAnimation = new CCTransitionFade(0.5f, congratsScene);
DefaultDirector.ReplaceScene(congratsSceneAnimation);
Demo 2. Luau
• Bootstrap
• Scenes
• Layers
• Animations
• Navigation
Mixing CocosSharp and native UI
• Native Storyboards
• Application bootstrap
• Start/Exit CocosSharp game
Advanced topics: audio, particles, physics
• Audio engine
• Particles system
• Physics (box2d)
• Leader board integration
• Power of Portable Class Libraries (PCL) and Xamarin
Q&A
• Alexey Strakh (@alexeystrakh)
• Alex Sorokoletov (@alexsorokoletov)

More Related Content

PPTX
Native Code is Dead AKA Cross Platform Development with Unity3D
PDF
BlackBerry Jam Asia 2013 - Gaming on BlackBerry
PDF
PlayFab ugc gdc
PDF
PlayFab analytics gdc
PDF
Jan Kavan, CBE software s.r.o.
PPTX
WebVR, not just Holograms in the web but powerful platform
PDF
iOS and Android Development with Unity3D
PPTX
XNA: Creating Creators
Native Code is Dead AKA Cross Platform Development with Unity3D
BlackBerry Jam Asia 2013 - Gaming on BlackBerry
PlayFab ugc gdc
PlayFab analytics gdc
Jan Kavan, CBE software s.r.o.
WebVR, not just Holograms in the web but powerful platform
iOS and Android Development with Unity3D
XNA: Creating Creators

What's hot (17)

PPTX
Multiplayer game with angular and firebase
PDF
PlayFab and unity gdc2019
PDF
PlayFab multiplayer_party
PPTX
OGDC2013_ Spine Animation_ Mr Alviss Ha
PPT
How to develop a successful casual social game by Rajat agarwalla
PPTX
Intro to liveops
PDF
The perfect store cc
PDF
Ps4 vs xbox one
PDF
New tools and services to take your live ops to the next level
PDF
Marek-Martin Matyska, Gamajun Games
PPTX
Azure SignalR - Another tool in the toolbeld
PPTX
Build Once and port your game to multiple platforms including UWP
PDF
Minecraft: a Snackable Indie Sandbox
PDF
Leverage MixPlay Interactivity to Grow Your Audience on Mixer
PDF
Tabletopia-presentation
PDF
Top laptop brands
PPTX
David Brevik - LOGIN Conference 2012
Multiplayer game with angular and firebase
PlayFab and unity gdc2019
PlayFab multiplayer_party
OGDC2013_ Spine Animation_ Mr Alviss Ha
How to develop a successful casual social game by Rajat agarwalla
Intro to liveops
The perfect store cc
Ps4 vs xbox one
New tools and services to take your live ops to the next level
Marek-Martin Matyska, Gamajun Games
Azure SignalR - Another tool in the toolbeld
Build Once and port your game to multiple platforms including UWP
Minecraft: a Snackable Indie Sandbox
Leverage MixPlay Interactivity to Grow Your Audience on Mixer
Tabletopia-presentation
Top laptop brands
David Brevik - LOGIN Conference 2012
Ad

Viewers also liked (20)

PPTX
.NET? MonoDroid Does
PPTX
CocosSharp_XHackNight_07feb
PPT
Road to Success (July 1st) - Mobile Game Development Alternatives - Andrew Bu...
PPTX
Flappy - Paris 2015
PPTX
EastBay.NET - Introduction to MonoTouch
PDF
Madrid .NET Meetup: Microsoft open sources .NET!
PDF
Multyplatform and mono part 2 - Matteo Nicolotti
PDF
Games with Win 8 Style by Neneng
PPTX
Cross platform physics games - NDC 2014
PPTX
Xna and mono game
PDF
Introduction to CocosSharp
PDF
Gaming in Csharp
PPTX
Generative Art Hands On with F#
PDF
Monogame and xna
PDF
Intro to Gaming- MonoGame/CocosSharp/UrhoSharp
PPTX
Flappy bird game in c#
PDF
Tips & Tricks that every game developer should know
PPTX
Ready, steady, cross platform games - ProgNet 2015
PPTX
Building a game in a day
PPTX
Mobile F#un
.NET? MonoDroid Does
CocosSharp_XHackNight_07feb
Road to Success (July 1st) - Mobile Game Development Alternatives - Andrew Bu...
Flappy - Paris 2015
EastBay.NET - Introduction to MonoTouch
Madrid .NET Meetup: Microsoft open sources .NET!
Multyplatform and mono part 2 - Matteo Nicolotti
Games with Win 8 Style by Neneng
Cross platform physics games - NDC 2014
Xna and mono game
Introduction to CocosSharp
Gaming in Csharp
Generative Art Hands On with F#
Monogame and xna
Intro to Gaming- MonoGame/CocosSharp/UrhoSharp
Flappy bird game in c#
Tips & Tricks that every game developer should know
Ready, steady, cross platform games - ProgNet 2015
Building a game in a day
Mobile F#un
Ad

Similar to Cross-platform Game Dev w/ CocosSharp (20)

PPTX
XHackers GameDev / Android LolliPop / Xamarin Forms
PPTX
Farm Moles Android Game
PDF
Game development with Cocos2d-x Engine
PDF
Cocos2d-x C++ Windows 8 &Windows Phone 8
PPTX
NDC2013 - Cross platform gaming with MonoGame
PPTX
Developing native cross platform games on Cocos2dx2
PDF
Cross Platform Game Programming with Cocos2d-js
PDF
Introduction to Mobile Game Programming with Cocos2d-JS
PDF
Introduction to Cross Platform Development with Xamarin/ Visual Studio
PPTX
Zadar Developers Hub - Windows Phone Development
PPTX
XNA in a Day
PDF
Developing great games for Windows 8 by Lorenzo Barbieri
PPTX
Monkey space 2013
PPTX
Living the Dream: Make the Video Game You’ve Always Wanted and Get Paid For It!
PDF
Programmers guide
PDF
Creating Casual Games for Windows 8
PDF
Game UI Development_1
PDF
Xamarin Platform
PPTX
Cocos2d for beginners
PDF
The Great Mobile Debate: Native vs. Hybrid App Development
XHackers GameDev / Android LolliPop / Xamarin Forms
Farm Moles Android Game
Game development with Cocos2d-x Engine
Cocos2d-x C++ Windows 8 &Windows Phone 8
NDC2013 - Cross platform gaming with MonoGame
Developing native cross platform games on Cocos2dx2
Cross Platform Game Programming with Cocos2d-js
Introduction to Mobile Game Programming with Cocos2d-JS
Introduction to Cross Platform Development with Xamarin/ Visual Studio
Zadar Developers Hub - Windows Phone Development
XNA in a Day
Developing great games for Windows 8 by Lorenzo Barbieri
Monkey space 2013
Living the Dream: Make the Video Game You’ve Always Wanted and Get Paid For It!
Programmers guide
Creating Casual Games for Windows 8
Game UI Development_1
Xamarin Platform
Cocos2d for beginners
The Great Mobile Debate: Native vs. Hybrid App Development

Recently uploaded (20)

PPTX
Cloud computing and distributed systems.
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Approach and Philosophy of On baking technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Network Security Unit 5.pdf for BCA BBA.
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPT
Teaching material agriculture food technology
PDF
KodekX | Application Modernization Development
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
Cloud computing and distributed systems.
NewMind AI Weekly Chronicles - August'25 Week I
Building Integrated photovoltaic BIPV_UPV.pdf
Machine learning based COVID-19 study performance prediction
“AI and Expert System Decision Support & Business Intelligence Systems”
Advanced methodologies resolving dimensionality complications for autism neur...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Approach and Philosophy of On baking technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Network Security Unit 5.pdf for BCA BBA.
The AUB Centre for AI in Media Proposal.docx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Teaching material agriculture food technology
KodekX | Application Modernization Development
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
20250228 LYD VKU AI Blended-Learning.pptx

Cross-platform Game Dev w/ CocosSharp

  • 1. Cross-platform Game Dev w/ CocosSharp with Alex Sorokoletov and Alexey Strakh
  • 2. Agenda • Mobile game development • Cocos2d • Framework • UI elements • Animations • Navigation • Native UI • Advanced topics
  • 3. Mobile game development • Why games? • Most rated • Most downloaded • Stores tops • Top grossing
  • 5. Top grossing Daily stats (App Store): • Clash of Clans $1.6M, 140k installs, 4.5M users • Game of War - Fire Age $1M, 40k installs, 3M users • Candy Crush Saga $0.9M, 100k installs, 11.5M users
  • 6. About Cocos2d • Cocos2d • MonoGame • CocosSharp
  • 7. Demo 1 Creating new game using Xamarin/CocosSharp
  • 8. Components and layers • Node • Sprite • Layer • Scene • Director • AppDelegate
  • 9. UI Elements • CCLabel and Text • CCMenuItem Image/Label/Toggle • CCMenu
  • 10. Animations • Apply to any node • Show, Hide, Move, Rotate, Fade, Skew… • Easing functions • Chaining • Custom functions
  • 11. Navigation between screens • DefaultDirector • Transitions (easing, rotate, slides, etc.) • Navigation Stack (push, pop, replace) var congratsScene = Scenes.CongratsScene(this.Window); var congratsSceneAnimation = new CCTransitionFade(0.5f, congratsScene); DefaultDirector.ReplaceScene(congratsSceneAnimation);
  • 12. Demo 2. Luau • Bootstrap • Scenes • Layers • Animations • Navigation
  • 13. Mixing CocosSharp and native UI • Native Storyboards • Application bootstrap • Start/Exit CocosSharp game
  • 14. Advanced topics: audio, particles, physics • Audio engine • Particles system • Physics (box2d) • Leader board integration • Power of Portable Class Libraries (PCL) and Xamarin
  • 15. Q&A • Alexey Strakh (@alexeystrakh) • Alex Sorokoletov (@alexsorokoletov)

Editor's Notes

  • #13: 1. Bootstrap 2. Scenes 3. Layers 4. Animations 5. Navigation