Making Console Games in Unity

Total Page:16

File Type:pdf, Size:1020Kb

Making Console Games in Unity Making console games in Unity Tomas Jakubauskas Making console games in Unity • History • Getting started • Development workflow • Limitations and requirements • New input methods • Q&A Bootcamp Asia 2012 History • Wii dev started in 2007, first game out in 2008 • Xbox 360 dev started in 2010, first game out in 2011 • Playstation 3 dev started in 2010, first game out in 2011 • Unity is getting ready for next-gen! Bootcamp Asia 2012 Why develop for consoles? • Xbox 360: over 66M sold o Over 18M Kinects sold o Over 40M Xbox Live subscribers • Playstation 3: over 62M sold • Nintendo Wii: over 95M sold • Parallel market to mobiles, not dead yet Bootcamp Asia 2012 OK! Where do I start? • Become a licensed developer o Complete a licensing agreement with platform holder o Complete a detailed NDA • Xbox 360 - www.xbox.com/developers • Playstation 3 - www.scedev.net • Nintendo Wii – www.warioworld.com Bootcamp Asia 2012 Hardware & SDKs • Ordered online after becoming a licensed developer • Xbox 360 and PS3 tools integrate with Visual Studio o Visual Studio Pro comes free with every Xbox 360 kit. • Development and testing done over Ethernet o Easy to share hardware • Can use Unity with testkits o Devkits needed for native plugin development Bootcamp Asia 2012 Unity licensing • Console licences are per-title o Price varies depending on title-type: retail DVD, XBLA, PSN, FunLabs. • Trial licences o Contact sales with proof that your studio is a licensed developer • News and discussions in private mailing lists o Unity engineers o Other users of Unity for consoles • Source-code licences available Bootcamp Asia 2012 Unity builds • Console support comes as add-on packages o Install over an existing copy of Unity o Extended documentation and samples • Workflow is the same o “Build And Run” • Deployment options o Xbox 360 • Copy to HDD (Ethernet) • DVD emulation (USB) o Playstation 3 • PC hosted (Ethernet) • PSN Submission • Blu-Ray Disk Bootcamp Asia 2012 Debugging • Unity 3.5 o Native tools (PIX, XbPerfView, GPad) o Crash dumps (runtime symbols provided) o Script symbols generated o Explicit null checks o Built-in CPU profiler • Next version o MonoDevelop support for Xbox360 (in QA now) o Built-in GPU profiler for Playstation 3 Bootcamp Asia 2012 Can we ship the game now? • Not yet • There are limitations • And specifics • And requirements • And even new possibilities! Bootcamp Asia 2012 Limitations? • Nothing serious! • Limited memory o 512MB unified on Xbox 360 and 256MB/256MB video/system on Playstation 3 o Devkits provide extended memory to help with the initial port o Native tools help in reducing texture memory (mipmap usage statistics) o Built-in profiler displays memory usage in various areas • PowerPC CPU architecture o Scripts execute slower than on your beefy x86 desktop machine o Use built-in profiler to find bottlenecks Bootcamp Asia 2012 Specifics: Scripting • Ahead-of-time (AOT) script compilation o Platform owners do not allow JIT compilation for security reasons o Limited support of generics and LINQ • No duck-typing: o Wrong: var a = go.GetComponent<MeshRender>(); o Right: var a : MeshRender = go.GetComponent<MeshRender>(); • Unhandled managed exceptions are not caught o Work in progress o Runs faster though • Code stripping helps decrease memory footprint • .NET Marshalling allows to interface native code Bootcamp Asia 2012 Specifics: Native code access? • Yes! o Xbox 360 DLL • Access D3DDevice o Playstation 3 PRX • Access Sony SPURS o Wii links directly to UnityWii library • Implement rarely used features for your game o Also those that Unity doesn’t expose yet • Reuse existing C++ code base • Extensive manual: www.mono-project.com/Interop_with_Native_Libraries Bootcamp Asia 2012 Specifics: Graphics • No fixed-function pipeline o Just write vertex and fragment programs o Avoid ShaderLab combiner effects • Xbox 360 has one fixed resolution: 720p • Playstation 3 supports SD and HD resolutions • Hardware MSAA is not available o FXAA3 post-process effect gives similar results • Optimised skinning o Xbox 360 – on GPU o Playstation 3 – on SPU Bootcamp Asia 2012 Specifics: Graphics (part 2) • Video playback using native APIs o UnityEngine.X360VideoPlayer for WMV files o UnityEngine.PS3VideoPlayer for MPEG4/AVC/DivX files • Editor supports graphics emulation o Find unsupported materials easily • Multi-threaded rendering o Make use of those Xbox 360 cores Bootcamp Asia 2012 Specifics: Other • No Mono threads on Playstation 3 • Certain APIs not yet available o WWW for Xbox 360 will be ready in the next build o MovieTexture is replaced with native APIs • Xbox 360 is a 4-user machine Bootcamp Asia 2012 Requirements: Title id • Every game gets one • Binds network services • Xbox 360: o Game configuration (SPA) o _SpaConfig.cs o PartnerNET • Playstation 3: o Trophy signature Bootcamp Asia 2012 Requirements: SPA - Stats • At least one leaderboard • Must be in active session to submit new stats o UnityEngine.X360Session • Single-player mode too! Bootcamp Asia 2012 Requirements: SPA - Presence • Broadcast player in-game status. o UnityEngine.X360Presence API. Bootcamp Asia 2012 Requirements: SPA - Achievements • Achievements and gamer points o Award using UnityEngine.X360Achievements API • Different rules for: o Retail titles o XBLA titles o Kinect Fun Lab titles Bootcamp Asia 2012 Requirements: Trophies (PS3) • Signature key provided by Sony • Packages are created using SDK tools o Award using UnityEngine.PS3TrophyUtility Bootcamp Asia 2012 Requirements: Other • XBLA / PSN games must have a trial mode o DRM functionality in UnityEngine.PS3DRMUtility and UnityEngine.X360Core o Needs extra menu items to exit to the market place • Technical certification requirement list is in the SDK o Unity handles as many TCRs as possible o Developers need to be aware of certain TCRs and work apropriately Bootcamp Asia 2012 So what are the new possibilities? Bootcamp Asia 2012 You guessed it - Input! • Controllers • Playstation 3 Move • Xbox 360 Kinect o Skeleton tracking o Camera streams Bootcamp Asia 2012 Controllers • The usual story o Xbox 360 pad o PS3 Sixaxis o UnityEngine.PS3Pad • Sensor filtering • Vibration • InputManager • UnityEngine.Input API Bootcamp Asia 2012 Playstation 3 Move • Fully supported o Including Eye Toy 2 camera o Accessed via UnityEngine.PS3Move o Can access camera feed for calibration Bootcamp Asia 2012 Johann Sebastian Joust • Innovation Award o 12th Annual Game Developers Choice Awards o [Video] Bootcamp Asia 2012 Xbox 360 Kinect • Skeleton tracking • Camera streams • Microphone • Speech recognition • Fitness API • Editor integration Bootcamp Asia 2012 Kinect Skeleton Tracking • Hand refinement • Smoothing • Biometric identification • Full API exposed o UnityEngine.KinectSkeleton o UnityEngine.KinectIdentity Bootcamp Asia 2012 Kinect Fun Labs: Air Band • First Unity Xbox 360 title • Features o Skeleton tracking o Video post-processing and super-composition o Video recording and Youtube publishing o [Video] Bootcamp Asia 2012 Kinect Camera Streams • Full API exposed o UnityEngine. KinectCamera o UnityEngine. KinectImageStream Bootcamp Asia 2012 Kinect Fun Labs: Mutation Station • Another Unity Xbox 360 title • Features o Camera streams o Depth-stream based video effects o [Video] Bootcamp Asia 2012 Kinect Editor Integration • Skeleton tracking o Prototype gesture code instantly • Camera feeds o Prototype video effects instantly Bootcamp Asia 2012 Other Kinect features • Easy script access o Microphone • void MyAudioDataHandler(float[] data) { } KinectAudio.OnMicData = MyAudioDataHandler; o Speech recognition • void MyPhraseHandler(string phrase, float confidence) { } KinectSpeech.OnRecognitionPhrase = MyPhraseHandler; o Fitness • KinectFitness .GetFitnessLevels() Bootcamp Asia 2012 Hey, did I forget Nintendo Wii? • Nope, but Unity 3.5 is the last version with Wii support o That is why we give it less attention • However Wii support in 3.5 is mature o DVD and WiiWare titles supported o LotCheck requirements handled (Strap reminder, Home button, disconnection dialog, disk error handling, etc.) • Some difference from other consoles o Only fixed-function o JIT enabled Bootcamp Asia 2012 Final notes • Less restrictive release schedule for console runtime • We can profile your game prior to submission • We take your input on what to improve o And what APIs to expose o And what your next game will require Bootcamp Asia 2012 Q&A Bootcamp Asia 2012 .
Recommended publications
  • March 2019 Mike Lang, School Counselor
    west salem middle Page !1 school 440 East Ave West Salem, WI 54669 Phone - (608) 786-2090 Fax - (608) 786-1081 Principal - Ben Wopat Associate Principal - Mike Johnson Volume 7 - Issue 8 2019 Special points of interest: Dear Families, *Winter Wellness - March 1 With the recent weather we’ve been experiencing, flexibility has been the key as *End of Trimester - March 7 our staff and students have adapted to the conditions. Winter sports have *Early Release - March 6 ended, the temperature will eventually increase, and spring will be here before we know it. A big thank you to our staff, students, and parents in ensuring we maintain a focus on learning during the inconsistent routines we’ve had to adapt Students of the Month 2 to. Upcoming Dates 4 We held our annual Winter Wellness day on Friday, March 1. It was great to Counselor Comments 5 witness the impact this day had for both our students and staff. This experience Healthy Living provides an opportunity for them to interact in a different setting than the day- to-day school experience. I was also very proud to hear the positive feedback Grade 5 news 6 from each location our students visited. Panther Pride was on display in the Grade 6 news 7 community as our students were respectful, responsible, and safe in the settings Success Center/ 9 we visited. Homework In March we continue to provide engaging and enriching activities for our Grade 7 news 10 students: State Math Counts, Middle School Musical, Grade 6-8 Band Grade 8 news 12 Extravaganza, and the Trimester 2 Awards Assembly.
    [Show full text]
  • Menschen Märkte Medien Management
    Menschen Märkte Medien Management Berichte aus Forschung und Lehre 03/2007 Aspects of Digital Game Culture The Cases of Eastern Europe and China Sven Jöckel (Hrsg.) MMMM – 03/2007 Gaming Culture 2/111 Table of Content Foreword ...........................................................................................................................................3 Study 1 ...............................................................................................................................................5 Eastern European Gaming Cultures..........................................................................................6 1. Introduction..................................................................................................................................6 2. Digital games market in Eastern Europe..............................................................................7 3. Method of research ..................................................................................................................12 4. Results.........................................................................................................................................13 5. Conclusions ...............................................................................................................................26 6. Sources .......................................................................................................................................27 Study 2 .............................................................................................................................................28
    [Show full text]
  • Can You Get Fortnite for Xbox 360?
    Do you need Xbox Live for fortnite Chapter 2 Do you need Xbox Live for fortnite Chapter 2? Yes, you do need Xbox Live Gold in order to play Fortnite on Xbox. Hereof, do you need Xbox Live for fortnite Chapter 2? Yes, you do need Xbox Live Gold in order to play Fortnite on Xbox. Is Wii U dead? Nintendo's long-dead Wii U is getting a "new" game this Wednesday. ... Of course, as far as most people are concerned, the Wii U effectively died in 2017. That year, Nintendo stopped manufacturing the console and released The Legend of Zelda: Breath of the Wild, its last first-party title for the system. One way or another, is Wii U dead? Nintendo's long-dead Wii U is getting a "new" game this Wednesday. ... Of course, as far as most people are concerned, the Wii U effectively died in 2017. That year, Nintendo stopped manufacturing the console and released The Legend of Zelda: Breath of the Wild, its last first-party title for the system. Additional, how can I play Xbox games for free? https://www.youtube.com/watch?v=fgQaruXGZM0 How do I download a game to my Xbox 360? On your console, sign in to Xbox Live. Go to Games, and then select Browse Games or Search Games. Browse or search for the game, add-on, or game demo you want, and then select the item that you want to download. Select Confirm Download. Nonetheless, is Wii Dead? The Nintendo wii is still not dead, however in terms of support and games being developed for the console, it is at the end of its life.
    [Show full text]
  • Alexandru Simion [email protected] Feroviarilor 47, Ap.4 Phone: 40731768610 012206 Bucharest, Sect.1 Home Phone: 40216654161 Romania
    Alexandru Simion [email protected] http://www.simion.co.uk/alex Feroviarilor 47, ap.4 Phone: 40731768610 012206 Bucharest, Sect.1 Home Phone: 40216654161 Romania OBJECTIVE To advance my career as a professional programmer in the games development industry. SUMMARY OF QUALIFICATIONS Senior game programmer with over 10 years of professional experience and over 35 titles released on multiple platforms, including PC, PS2, XBOX, GCN, PSP, XBOX360, Wii, and PS3. Proven ability to work closely with all development departments, providing training and technical assistance. Passionate about game development, having many personal game projects released. Skilled with C/C++ language in both Microsoft Visual Studio and Metrowerks CodeWarrior Experienced with 2D and 3D graphics programming in DirectX and OpenGL Experienced with audio (DirectX, OpenAL) and input (DirectX) Experienced with scripting languages, like LUA and GS9 Experienced with tools programming in Win32 API, including FX and visual shader editors Basic knowledge with J2ME and mobile games programming Occasional experience with C#, Visual Basic, HTML, PHP, JavaScript, MySQL, Perl, etc. Graphics skills with Adobe Photoshop, Dreamweaver, Flash, Blender, 3DStudio Max, LightWave Experience with various audio and video formats and with dedicated libraries for decoding them PROFESSIONAL EXPERIENCE Fun Labs 2001-Now Sand Grain Studios 2004-2009 Magic Wand Productions 2005-2009 http://www.funlabs.com Note: these companies are part of the same group, developing titles for different game platforms, published by Activision and Activision Value. Worked as engine programmer on all the company's games, implementing various engine features. Worked as gameplay and AI programmer on some of the company's titles.
    [Show full text]
  • Game Developer | Xxxxx Xxxx 1 Game Plan // Brandon Sheffield Game Developer Magazine
    THE LEADING GAME INDUSTRY MAGAZINE vo L 1 8 N o 7 august 2 0 1 1 I N S I D E : tiling p erlin N o ise : A ne w te c hni q ue THE LEADING GAME INDUSTRY MAGAZINE VOL18 NO5 CONTENTS.0811 VOLUME 18 NUMBER 07 AUGUST 2011 INSIDE: 10TH ANNUAL SALARY SURVEY POSTMORTEMS 12 TOTAL WAR: SHOGUN 2 TOTAL WAR: SHOGUN 2 is the latest in a long line of TOTAL WAR games, and this time the game focused in, rather than expanding the universe outward. This turned out to be the critical tipping point toward success for the team, as the studio struggled with multiple projects and an increasingly branched codebase. By James Russell 20 TERMINATOR SALVATION—THE ARCADE GAME Making arcade games is a lost art to much of the game industry, but Play Mechanix and Raw Thrills have been keeping the fires burning for many years now. This postmortem shows what it takes to make a modern arcade game, from software to cabinet. By Scott Matott FEATURES 7 RANDOM STRUCTURE Perlin oise has become a staple of many randomized or procedural actions in games. But what if you wanted this randomization to tile, for seamless world creation, or art purposes? Joshua Tippets has a heretofore unseen solution. By Joshua Tippetts DEPARTMENTS 2 GAME PLAN By Brandon Sheffield [EDITORIAL] Most Likely To Achieve 4 HEADS UP DISPLAY [NEWS] Arcade! returns to France, and arcade game development tips. 27 GDC ONLINE PREVIEW By Frank Cifaldi [PREVIEW] Top session picks 30 TOOL BOX By Bijan Forutanpour [REVIEW] Donya Labs' Simplygon 34 THE INNER PRODUCT By Paul Laska [PROGRAMMING] Ready, Set, Allocate!
    [Show full text]
  • Eastern European Gaming Cultures. Case Studies: Romania and Bulgaria
    Sociologie Româneascã, volumul VII, Nr. 1, 2009, pp. 104-124 Eastern European gaming cultures. Case studies: Romania and Bulgaria Elena Policov Lyuba Yordanova Adriana Þãruº Alexander Kempf SNSPA Institut für Medien- und Kommunikationswissenschaft, Ilmenau, Germania Digital games are a complex social and technological phenomenon that is situated in cultures and societies. Current academic efforts in the field of digital games analyze the realities of the Western countries, where the market on digital games is highly developed. This paper focuses on the specificities of the Eastern European gaming culture and examines the market of digital games in Romania and Bulgaria. An online survey is carried out and the results show that Romanian and Bulgarian players are mostly men, live in metropolis (over 100,000 inhabitants) and are mostly young people aged 21-25 or teenagers. National games are known and played in very low proportions, game-players from Romania and Bulgaria preferring imported games. The authors hope that this first initiative to study gaming habits and preferences of Romanian gamers will bring digital games to the attention of academic researchers in Romania. Keywords: cultural consuming, gamers preferences, gaming market, cultural differences, media and new technologies consuming Cuvinte-cheie: consum cultural, preferinþele gamerilor, piaþa jocurilor, diferenþe culturale, consum de noi media ºi tehnologii Introduction gaming at personal computers. This is, at least, how the gaming environment appears The days of skipping ropes and children in Western Europe. playing hide-and-seek seem to be over. The Eastern European gaming market is Nowadays kids grow up with digital games. the least studied and also less present in mar- One out of four EU inhabitants spends regu- ket share statistics.
    [Show full text]
  • Meet the Kinect an Introduction to Programming Natural User Interfaces Technology in Action™ Meet the Kinect
    Meet the Kinect An Introduction to Programming Natural User Interfaces TECHNOLOGY IN ACTION™ Meet the Kinect nteract directly with your computer through physical motion with Also available: IMeet the Kinect. This book gets you started mastering the excit- ing possibilities brought about by the Kinect, which was released in 2010 by Microsoft and has become the fastest-selling electronic device ever. The Kinect is able to read and track body movements. It is the bridge between the physical reality in which you exist and the virtual world created by your software. Meet the Kinect shows you how to write scripts and software Meet enabling the use of the Kinect as an input device. You’ll learn about the Kinect hardware and what it can do. You’ll install driv- ers and learn to download and run the growing amount of Kinect software freely available on the Internet. From there, you’ll move into writing code using some of the more popular frameworks and APIs, including the official Microsoft API and the language known the as Processing that is popular in the art and creative world. Along Kinect the way, you’ll also learn the principles and terminology of volu- metric computing that thanks to the Kinect is now wide-open and An Introduction to Programming Natural totally accessible. Turn to Meet the Kinect and discover how you can use this inex- pensive, three-dimensional sensor to connect the physical and vir- User Interfaces tual worlds. Whether your passion is to create technology-based art projects, three-dimensional scanners, or adaptive devices for sight-impaired individuals, or perhaps you’re searching for new CREATE SOFTWARE CAPABLE ways of interacting with PCs, or, even, new business ventures, this OF READING AND REACTING TO book will show you how simple motions can capture big dreams BODY MOVEMENT USING THE and opportunities.
    [Show full text]