Protogame Documentation Release Latest

Total Page:16

File Type:pdf, Size:1020Kb

Protogame Documentation Release Latest Protogame Documentation Release latest Redpoint Games Apr 01, 2017 General Information 1 General Information 3 1.1 Frequently Asked Questions.......................................3 2 Basic Walkthroughs 7 2.1 Creating your first game.........................................7 2.2 Rendering textures............................................ 13 2.3 Add a player............................................... 20 2.4 Handling input.............................................. 27 3 Engine API 33 3.1 Core: Architecture............................................ 33 3.2 Core: Services and APIs......................................... 34 3.3 Asset Management............................................ 46 3.4 Audio................................................... 56 3.5 Graphics................................................. 58 3.6 Graphics: 2D Rendering......................................... 74 3.7 Graphics: 3D Rendering......................................... 77 3.8 Graphics: Caching............................................ 81 3.9 Events (Input).............................................. 82 3.10 Physics.................................................. 82 3.11 Level Management............................................ 86 3.12 Command Framework.......................................... 89 3.13 AI Framework.............................................. 89 3.14 Particle Systems............................................. 90 3.15 Networking: Multiplayer......................................... 90 3.16 Networking: Dedicated Servers..................................... 108 3.17 Scripting and Modding.......................................... 108 3.18 Hardware Sensors............................................ 109 3.19 UI Framework.............................................. 111 4 Engine Utilities 113 4.1 Analytics Reporting........................................... 113 4.2 Performance Profiling.......................................... 113 4.3 Compression Utilities.......................................... 114 4.4 Primitive Collisions........................................... 114 4.5 Image Processing............................................. 115 4.6 2D Platforming Utilities......................................... 118 i 4.7 Memory Pooling............................................. 118 4.8 Structure Utilities............................................. 122 4.9 Noise Generation............................................. 122 4.10 Math Utilities............................................... 122 4.11 Extension Methods............................................ 123 5 Third-Party APIs 129 5.1 MonoGame Framework......................................... 129 5.2 MonoGame Framework (Content Pipeline)............................... 406 6 Other Documentation 511 6.1 Internal Implementations......................................... 511 ii Protogame Documentation, Release latest Protogame is a cross-platform .NET game engine. It aims to allow developers to prototype games quickly during the early stages of development, and then scale those games into full projects. Protogame is fully open source and available under an MIT license. This documentation is organised into several sections, depending on what you need to achieve: • General Information • Basic Walkthroughs • Engine API • Engine Utilities • Third-Party APIs General Information 1 Protogame Documentation, Release latest 2 General Information CHAPTER 1 General Information Frequently Asked Questions If there is a question not answered here, ask @hachque on Twitter. How do I get started? We recommend reading the Creating your first game as this will guide you through the initial download and setup, and lead onto future tutorials which cover rendering, entities and handling input. What platforms are supported? Windows, Mac OS X and Linux are all currently supported and tested development platforms. These desktop platforms are also supported targets for running games made with Protogame. Android and Ouya are currently supported mobile platforms for running games. iOS support is expected in the future. MonoGame supports other platforms as well, such as PlayStation Mobile and Native Client. We don’t know whether Protogame will work on these platforms, but it’s likely they will work with some changes depending on platform limitations. For more information, refer to the table below. • “Supported” indicates that we actively develop and run games on this platform. • “Changes Needed” means that you would need to make changes to the engine for it to work. • An empty space means it’s not supported and / or we don’t know how well it will work. 3 Protogame Documentation, Release latest Platform Games can be developed on this platform Games can run on this platform Windows Supported Supported Mac OS X Supported Supported Linux Supported Supported Android Supported Ouya Supported iOS Supported Windows Phone Windows 8 (Metro) What platforms can compile assets? Asset compilation is needed to turn source information (such as PNG and FBX files) into a version of the texture, model or otherwise that is suitable for the game to use at runtime. Since each platform needs assets in different formats, you have to compile your assets for the target platforms. Support is determined by: • The type of asset • The platform you are targetting (for running the game) • The platform you are compiling the asset on (where you are developing) The general rule of thumb is, if you are developing on Windows, you can target all platforms. Windows has the strongest support for compiling assets and can target all available platforms that MonoGame supports. Linux support can compile all types of assets, although shaders require another computer running Windows for remote compilation (effects require DirectX to parse the shader language). Fonts must be under the /usr/share/fonts/truetype folder for them to be picked up, and the font name indicates the TTF filename. Font compilation is likely to change in the future, with font assets being specified from a source TTF instead of by name. You will need a Windows machine to compile shaders. See the Asset Management article for more information on compile assets, cross-compilation and compilation of shaders on non-Windows platforms. Missing MSVCR100.dll or MSVCP100.dll Compilation of model assets under Windows requires the Visual C++ runtime. FBX animations are not importing from Maya correctly The FBX importer has some restrictions about the structure of the animations that you import. These relate to “op- timizations” that Maya and other 3D modelling tools do in their export; unfortunately these optimizations are not compatible with the importer. The restrictions are as follows: • All bones in the hierarchy must have a joint offset. Maya is known to optimize hierarchy that doesn’t have a joint offset, and this causes transformations to be applied to the wrong node. • You must have at least one frame for each bone with a non-default value for translation, rotation and scaling. If you leave the default translation (0, 0, 0), rotation (0, 0, 0), scaling (1, 1, 1) for a given bone, and you export a rig with no animations, relevant nodes for the bone will not be exported and Protogame will not be able 4 Chapter 1. General Information Protogame Documentation, Release latest to re-apply the animation transformations because the target node does not exist. An easy solution to this issue is to have the base FBX file also contain an animation, so Maya will not remove the nodes required to re-apply the animation. Note that these restrictions only apply when you are dealing with animations. Non-animated FBX files will import just fine. Running games under Mono for Windows does not work Running Protogame-based games under Mono for Windows is not supported. Please use the Microsoft.NET runtime instead. This means that you should use Visual Studio Express instead of Xamarin Studio if your target is the Windows platform (i.e. on Windows use Xamarin Studio only if the runtime platform is Android or iOS). ‘FastDev directory creation failed’ when deploying to Android This appears to be a transient error with Xamarin Android. To fix this issue, right-click on the project for your game in Xamarin Studio and select “Options”. In the Options dialog that appears, under Build -> Android Build, uncheck the “Fast Assembly Deployment” option. 1.1. Frequently Asked Questions 5 Protogame Documentation, Release latest 6 Chapter 1. General Information CHAPTER 2 Basic Walkthroughs If you’re just starting out with Protogame, it is highly recommended that you follow the first walkthrough: Creating your first game. This will walk you through creating your first game with absolutely nothing installed or set up. Creating your first game Unlike other game engines, Protogame is not installed on your computer; instead it is a library that you download for each project. If you’ve ever used FlashPunk, you’ll be used to this way of working. Install an IDE It’s pretty safe to assume that you’ve already done this step, especially if you’ve been developing in C# before. You will need either Visual Studio, Xamarin Studio or MonoDevelop. You can also use command-line build tools such as msbuild or xbuild if you wish. Visual Studio Community If you are developing on Windows, then Visual Studio Community is highly recommended. You can download Visual Studio Community from the Visual Studio website. 7 Protogame Documentation, Release latest Xamarin Studio / MonoDevelop If you are developing on Mac OS X or Linux, or you want
Recommended publications
  • Download the Ebrochure
    DECEMBER 5-9, ORLANDO, FLORIDA Royal Pacific Resort at Universal Orlando® 5 CODE-FILLED DAYS IN FLORIDA! REGISTER TODAY! VSLIVE.COM/ORLANDO u Visual Studio 2010 / .NET u Web / HTML5 u Developing Services u Cloud Computing u Silverlight / WPF u Windows Phone 7 u Data Management u Programming Practices PLATINUM SPONSORS SUPPORTED BY PRODUCED BY DECEMBER 5-9, ORLANDO, FLORIDA Royal Pacific Resort at Universal Orlando® A Message from the Co-Chairs The Microsoft Development Platform is reaching a huge milestone. With Windows 8 waiting in the wings, the growing momentum of Windows Phone, the industry-wide HTML 5 push and continual emphasis on Cloud Computing, just about everything is changing and growing. We think there’s a great way to digest these changes and seize their collective opportunity. And that’s to hear about them directly TABLE OF from Microsoft product team members and evangelists, along with a number of the finest independent speakers in the business. CONTENTS: We’re Andrew Brust and Rocky Lhotka, and as Conference 10 Reasons to Attend ............................................ 3 Co-Chairs for Visual Studio Live! Orlando, we’d like to personally Speaker List ............................................................................ 4 invite you to join us this December in Orlando, Florida, where we’ll have some of the best content and speakers that you’ll find at a Events & Activities ....................................................... 5 technical conference. Keynote Abstracts ....................................................... 6 Look Who’s Attending .......................................... 6 We’ve put together a blockbuster lineup of sessions on: HTML 5; the Cloud; Windows Phone Development, Silverlight and WPF; Venue & Travel .................................................................... 7 Data Management and Services Development. Agenda-At-A-Glance .............................................
    [Show full text]
  • A Software-Based Remote Receiver Solution
    Martin Ewing, AA6E 28 Wood Rd, Branford, CT 06520; [email protected] A Software-Based Remote Receiver Solution Need to get your receiver off site to avoid interference? Here is how one amateur connected a remote radio to a club station using a mixture of Linux, Windows, and Python. The local interference environment is an station computer would run control software details are available at www.aa6e.net/wiki/ increasing problem for ham radio operation, to manage the remote operation. W1HQ_remote. Hardware construction is making weak signal operation impossible This article focuses mostly on the straightforward for anyone with moderate at some times and frequencies. The ARRL software — how we developed a mixed C experience. Staff Club Station, W1HQ, has this problem and Python (and mixed Linux and Windows) in spades when W1AW, just across the project with audio and Internet aspects. System Overview parking lot, is transmitting bulletins and Interested readers will probably want to Figure 1 shows the overall system design. code practice on seven bands with high consult the code listings. These are provided The BeagleBoard XM or “BBXM” is an power. Operating W1HQ on HF in the prime at www.aa6e.net/wiki/rrx_code and are inexpensive (~$150) single board computer evening hours is not possible. There is no also available for download from the ARRL with a 1 GHz ARM processor, Ethernet problem transmitting in this environment QEX files website.1 Additional project and USB connections, and on-board audio — it’s a receiver problem. We could solve 2 1 capability. It has 512 MB of RAM and the problem by setting up a full remote base Notes appear on page 6.
    [Show full text]
  • Windows Phone API Quickstart
    Windows Phone API QuickStart Fundamental Types and Threading and cont. cont. Wallet▲ Date / Time Synchronization .NET Microsoft.Phone.Maps.Controls Microsoft.Devices Map, MapLayer, MapOverlay, .NET Microsoft.Phone.Maps.Services Microsoft.Phone.Tasks Windows Runtime PhotoCamera, CameraButtons, CameraVideo- ♦♣ Windows Runtime + GeocodeQuery, ReverseGeocodeQuery, Route- AddWalletItem Windows.Foundation ♦ BrushExtensions Windows.System.Threading Microsoft.Phone Query Microsoft.Phone.Wallet DateTime, Uri ThreadPool, ThreadPoolTimer Microsoft.Phone.Tasks Wallet, Deal, WalletTransactionItem, WalletAgent ♦♣ ♦ PictureDecoder Windows.Foundation.Collections Windows.UI.Core MapsTask, MapsDirectionsTask, MapDownload- Microsoft.Phone.Tasks ▲ IIterable<T>, IVector <T>, IMap<TK, TV>, IVec- CoreDispatcher, CoreWindow, erTask Multitasking torView <T> MediaPlayerLauncher, CameraCaptureTask, ♦ Note: You can get the current dispatcher from PhotoChooserTask, ShareMediaTask, SaveRing- System.Device.Location Windows.Storage.Streams CoreWindow.GetForCurrentThread() GeoCoordinateWatcher .NET Buffer toneTask Microsoft.Xna.Framework.Audio Microsoft.Phone.BackgroundAudio .NET BackgroundAudioPlayer, AudioTrack, AudioPlay- Microphone, SoundEffect, DynamicSoundEffec- ▲ .NET System tInstance erAgent, AudioStreamingAgent ♦ + VoIP System WindowsRuntimeSystemExtensions Microsoft.Xna.Framework.Media Microsoft.Phone.BackgroundTransfer ■ Object, Byte, Char, Int32, Single, Double, String, System.Threading MediaLibrary, MediaPlayer, Song Windows Runtime BackgroundTransferService,
    [Show full text]
  • 3-16 Edit Inhalt CD.Indd
    XNA Framework Magazin 17 satz haben, lässt sich bereits nach wenigen Minuten der Code für das Spiel schreiben. Lästige, immer wiederkehrende Aufga- Revolution in der ben, wie beispielsweise die Initialisierung des Render-Device oder die Wiederher- stellung des Device beim Skalieren des Spiele-Welt Fensters, gehören der Vergangenheit an – diese Aufgaben übernimmt das XNA Managed Code für die XBox: Framework (zumal die XBox 360 keine typischen Fenster kennt). Eine neue Ära der Spieleentwicklung Schichten sind wieder aktuell von Jens Konerow Wo sich das XNA Framework einreiht, lässt sich am einfachsten erkennen, wenn In den letzten ein bis zwei Jahren zierte das Kürzel XNA gehäuft die Wer- das ganze System in Schichten unterteilt beblätter von Entwicklerkonferenzen, die von Microsoft initiiert wurden, wird. Die folgende Auflistung schemati- oder tauchte in Logos auf, die mit der Multimediaschnittstelle DirectX in siert das gesamte Modell von der tiefsten Verbindung standen. Ende August 2006 wurde die erste Beta-Version Ebene bis zur höchsten Ebene: des Produkts XNA Game Studio Express der Öffentlichkeit zur Verfügung • Plattform: Gebildet wird die Plattform gestellt. Doch was genau ist XNA? Welche Vorzüge bietet XNA? Fragen über eine Reihe von nativen und verwal- über Fragen, die in diesem Artikel beantwortet werden sollen. teten APIs. Darunter zählt beispielswei- se Direct3D zur Kommunikation mit der Grafikkarte, XACT, XInput oder XContent (die Begriffe werden später Microsoft hat es geschafft, DirectX als gleich diese vorerst nur aus Vorlagen für noch etwas genauer beschrieben). eine der wichtigsten Schnittstellen im Be- Visual C# Express besteht. Das Besondere • Core Framework: Diese Schicht des reich Multimediaprogrammierung zu an XNA ist, dass die Spiele nicht nur auf XNA Framework kann mit den Aufga- etablieren.
    [Show full text]
  • Test-Driving ASP.NET MVC Dino Esposito, Page 6 Keith Burnell
    Untitled-10 1 6/6/12 11:32 AM THE MICROSOFT JOURNAL FOR DEVELOPERS JULY 2012 VOL 27 NO 7 Pragmatic Tips for Building Better COLUMNS Windows Phone Apps CUTTING EDGE Andrew Byrne .......................................................................... 24 Mobile Site Development, Part 2: Design Test-Driving ASP.NET MVC Dino Esposito, page 6 Keith Burnell ............................................................................ 36 DATA POINTS Create and Consume Writing a Compass Application JSON-Formatted OData for Windows Phone Julie Lerman, page 10 Donn Morse ............................................................................ 48 FORECAST: CLOUDY Mixing Node.js into Your Hadoop on Windows Azure Windows Azure Solution Joseph Fultz, page 16 Lynn Langit .............................................................................. 54 TEST RUN How to Handle Relational Data Classifi cation and Prediction Using Neural Networks in a Distributed Cache James McCaffrey, page 74 Iqbal Khan ............................................................................... 60 THE WORKING A Smart Thermostat on the Service Bus PROGRAMMER The Science of Computers Clemens Vasters ....................................................................... 66 Ted Neward and Joe Hummel, page 80 TOUCH AND GO Windows Phone Motion and 3D Views Charles Petzold, page 84 DON’T GET ME STARTED The Patient Knows What’s Wrong With Him David Platt, page 88 Start a Revolution Refuse to choose between desktop and mobile. With the brand new NetAdvantage for .NET, you can create awesome apps with killer data visualization today, on any platform or device. Get your free, fully supported trial today! www.infragistics.com/NET Infragistics Sales US 800 231 8588 • Europe +44 (0) 800 298 9055 • India +91 80 4151 8042 • APAC (+61) 3 9982 4545 Copyright 1996-2012 Infragistics, Inc. All rights reserved. Infragistics and NetAdvantage are registered trademarks of Infragistics, Inc. The Infragistics logo is a trademark of Infragistics, Inc.
    [Show full text]
  • Microsoft XNA Game Studio
    CreatingAcceleration an Abstract and ClassThe Physics Windows in C# .. Phone .. .. .. Marketplace .. .. .. .. .. .. ... ... ... ... ..282 .. .. .. .. ..340 . 403 Drawing Multiple Text Strings . 97 Extending anMaking AbstractAdding Sense RegisteringTomato ClassDetecting of Memory.Accelerometer Targets. forKey . the.Overflow Presses .. App.. .Readings. .Hub. .and. ... ..Data . .. .. Values . .. .. .. .282. .. .. .. .. ..341. ... ... ... 227 .. 404 ..155 . 35 Repeating Statements with a for Loop . 99 DesigningCreating with a Abstract “CheeseTomatoUsingDecoding Classes Lander” CollisionsaMaking Windows . KeyTipping . a . .CharactersProper Phone.. .Game. .. Mood Device.. .... ... Light .. .. .. .. .. .. .. .. 284 . 343 . .. .. .. .229. .404. 159. 36 Other Loop Constructions . 101 ReferencesTable Gameto ConclusionAbstract World Creatingof ParentUsing Objects . .Making Contentsthe . ClassesGames .in Shift. “Cheese Decisions. for .Keys. .Sale . .Lander”. in. .. .Your . .. .. .. Program. .. .. .. .. .. .. .. .. .. .. .284... .... .... .... .... ..343. ... ... ... 232 ... 405.. 160. 37 Fun with for Loops . 101 Constructing ClassGetting InstancesChapterConclusion Access Review Editing. .to .The. the .Questions .the .Completed . Accelerometer .Text. .. .Mood . Class. .Light . from. .XNA . ..285 ... ... ... ... ... 344 .. .. .. .232. .405. 161. 41 Creating Fake 3-D . 103 ConstructorsUsing inAcknowledgments StructuresChapter theConclusion Accelerometer Review .Finding . .Questions . .Programin . an .. XNA ... ..Bugs Game.. ... .. ... ... ... .. .. .
    [Show full text]
  • Actualización De NVIDIA 1.5.20 NVIDIA Corporation 05/12/2011 1.5
    Actualización de NVIDIA 1.5.20 NVIDIA Corporation 05/12/2011 1.5.20 Adobe AIR Adobe Systems Incorporated 08/05/2012 3.2.0.20 70 Adobe Community Help Adobe Systems Incorporated 18/04/2012 3.0.0.400 Adobe Creative Suite 5 Master Collection Adobe Systems Incorporated 18/04/2012 1.240 MB 5.0 Adobe Dreamweaver CS3 Adobe Systems Incorporated 16/10/2011 861 MB 9.0 Adobe Flash Player 11 ActiveX Adobe Systems Incorporated 11/10/2012 6,00 MB 11.4.402.287 Adobe Flash Player 11 Plugin Adobe Systems Incorporated 11/10/2012 6,00 MB 11.4.402.287 Adobe Media Player Adobe Systems Incorporated 18/04/2012 1.8 Adobe Reader X (10.1.4) - Español Adobe Systems Incorporated 17/08/2012 121,1 MB 10.1.4 Advanced RAR Repair v1.2 16/07/2012 Age of Empires III Microsoft Game Studios 20/04/2012 2.091 MB 1.00.0000 Alcatel USB Modem Alcatel 27/06/2012 1.001.00022 Alien Wars Media Contact LLC 20/11/2011 1.0 AnyToISO CrystalIdea Software, Inc. 02/07/2012 16,0 MB 3.2 Apache Tomcat 7.0.14 01/05/2012 Archivos auxiliares de instalación de Microsoft SQL Server 2008 Microsoft Corpor ation 16/10/2011 33,7 MB 10.1.2731.0 Assassin's Creed Revelations Ubisoft 09/10/2012 1.00 AutoCAD 2011 - Español Autodesk 16/10/2011 18.1.49.0 AutoCAD Mechanical 2011 Autodesk 16/10/2011 15.0.46.0 Autodesk 3ds Max 2010 64-bit Autodesk 02/10/2012 770 MB 12.0 Autodesk 3ds Max 2010 64-bit Components Autodesk 02/10/2012 721 MB 12.0 Autodesk 3ds Max 2010 Tutorials Files Autodesk 02/10/2012 259 MB 12.0 Autodesk Backburner 2008.1 Autodesk, Inc.
    [Show full text]
  • Peliohjelmointi Windows Phone 8:Lle
    Toni Bäckström Peliohjelmointi Windows Phone 8:lle Metropolia Ammattikorkeakoulu Insinööri (AMK) Tietotekniikka Insinöörityö 21.5.2014 Tiivistelmä Tekijä(t) Toni Bäckström Otsikko Peliohjelmointi Windows Phone 8:lle Sivumäärä 35 sivua Aika 21.5.2014 Tutkinto Insinööri (AMK) Koulutusohjelma Tietotekniikka Suuntautumisvaihtoehto Ohjelmistotekniikka Ohjaaja(t) Lehtori Juha Pekka Kämäri Lehtori Jorma Räty Tässä insinöörityössä tutustutaan Windows Phone 8 -mobiilikäyttöjärjestelmään peliohjelmoijan näkökulmasta. Työn tavoitteena oli erityisesti esitellä Microsoftin itse kehittämiä XNA- ja DirectX-peliohjelmointikirjastoja teoriassa ja käytännössä. Työn aluksi käydään läpi hieman Windows Phonen historiaa ja yleisesti kehittämistä Windows Phone 8:lle. Tämän jälkeen luodaan katsaus Windows Phone 8:aan pelialustana. Työn suurin osuus on XNA:n ja DirectX:n esittely teoriassa; kummastakin menetelmästä käydään läpi grafiikan, äänen ja syötteiden käsittely sekä esitellään tärkeimpiä yleisiä ominaisuuksia. Lisäksi katsotaan molempien menetelmien historiaan ja tulevaisuuteen. XNA:n todetaan olevan DirectX:ää selvästi helpompi ohjelmoida, mutta sen kehityksen loputtua ei XNA:n tulevaisuus ole yhtä turvattu kuin DirectX:n. Työssä esitellään myös apukirjasto DirectX Toolkit, jolla DirectX:n käytöstä saadaan huomattavasti yksinkertaisempaa. Käytännössä XNA:ta ja DirectX:ää tutkitaan kehittämällä pienimuotoinen peli kumpaakin menetelmää käyttäen. Yksinkertaisen 2D-pelin ohjelmoinnissa käytettiin hyvin pitkälti samoja keinoja, jotka teoriaosuudessa oli esitelty.
    [Show full text]
  • Windows Mobile Game Development Ebook, Epub
    WINDOWS MOBILE GAME DEVELOPMENT PDF, EPUB, EBOOK Adam Dawes | 460 pages | 12 Aug 2010 | Springer | 9781430270645 | English | United States Windows Mobile Game Development PDF Book These game design tools would help you manage your quest. To continue downloading, click here. Real-time rendering tool. The UI map helps all involved stakeholders understand the game's interface and navigation paths, and can expose potential roadblocks and dead ends early in the development cycle. Windows desktop applications forums. Price: free version is limited. Improve performance by getting exclusive or priority access to hardware resources using Game Mode APIs. Syon Infomedia has experts who will help you build and operate the games for Windows. In fact, these tools are great for juniors, because they provide all they need to develop a unique and interesting project. Build and scale your games using Azure. It seems that you're in Germany. Accept Decline. A UI map is a layout of game navigation and menus expressed as a flowchart. Though easy to use, C has numerous advanced language features like polymorphism, delegates, lambdas, closures, iterator methods, covariance, and Language-Integrated Query LINQ expressions. Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. Lua language that Corona SDK uses to work with is pretty easy to learn and code with. Film-quality visual effects creation tool. It would mean that the requirements of Windows Mobile Games will also rise, don't worry! PAGE 1.
    [Show full text]
  • Business at the Speed of Game Production: Opengl Or XNA? Necemon Yai Department of Computer Science, Swansea University ******@Swansea.Ac.Uk
    Business at the speed of game production: OpenGL or XNA? Necemon Yai Department of Computer Science, Swansea University ******@swansea.ac.uk (a) Some OpenGL (c) An XNA sphere (b) An OpenGL sphere (d) Some spheres in an XNA game spheres [Silicon [Riemers] Graphics] Figure 1: Teaser Abstract A common start-ups' question in the gaming industry is: 2 Background Which graphical environment should we use? As time is money, a Let’s introduce the APIs and their features. crucial factor in a choice is time: not only the time it takes to build complete games with each API but also a fluid timing during the 2.1 OpenGL gaming experience to make it enjoyable. In this analysis, we will OpenGL (Open Graphics Library) is a standard specification compare the OpenGL industry standard to the Microsoft XNA defining a cross-language, cross-platform API for writing game framework on the speed factor. The study will include applications that produce 2D and 3D computer graphics. The learning curve, programming, modeling and rendering speeds on interface consists of over 250 different function calls which can be both sides. used to draw complex three-dimensional scenes from simple primitives. OpenGL was developed by Silicon Graphics Inc. 1 Introduction (SGI) in 1992 and is widely used in CAD, virtual reality, scientific visualization, information visualization, and flight A graphics API is basically a way to talk to graphics simulation. It is also used in video games, where it competes with hardware. By using an API, it gets simpler to send drawing Direct3D on Microsoft Windows platforms.
    [Show full text]
  • Learning XNA 4.0
    Learning XNA 4.0 Learning XNA 4.0 Aaron Reed Beijing • Cambridge • Farnham • Köln • Sebastopol • Tokyo Learning XNA 4.0 by Aaron Reed Copyright © 2011 Aaron Reed. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or [email protected]. Editor: Courtney Nash Indexer: Fred Brown Production Editor: Kristen Borg Cover Designer: Karen Montgomery Copyeditor: Genevieve d’Entremont Interior Designer: David Futato Proofreader: Kristen Borg Illustrator: Robert Romano Printing History: December 2010: First Edition. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. Learning XNA 4.0, the image of a sea robin fish, and related trade dress are trade- marks of O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information con- tained herein. ISBN: 978-1-449-39462-2 [M] 1291906059 To my mother and father, who, after shelling out $2,500 in the 1980’s for a sweet Compaq 286 with a 4-color monitor, 16k internal memory, a 5 1/4" floppy and no internal hard drive, didn’t yell at me when they came home and found that I’d taken the thing apart.
    [Show full text]
  • Windows 8 Release Preview
    Windows 8 Release Preview Product Guide for Developers preview.windows.com I Table of Contents Introduction 3 Product Guide Apps take center stage 4 Fast and fluid 6 Versatile input methods 7 for Developers Tailored experiences 7 Introduction Tiles are connected and alive 7 If you’re a developer, Windows 8 Release Preview gives you an amazing platform to reach the Developing for Internet Explorer 10 8 millions of people around the world who use Windows every day to be more productive, creative, Cloud-connected 8 and to have fun. With Windows 8 Release Preview, you have unprecedented access and opportunity to reach that worldwide customer base early. Windows 8 represents the most significant platform Build apps using what you know 8 opportunity available to developers because you have the change to reach millions of people with Extensible and compatible with 9 your amazing Metro style apps. existing frameworks Apps are at the center of the Windows 8 experience. They’re alive with activity and vibrant content. Powerful tools and all the resources you need 10 Users are immersed in your full-screen, Metro style apps, where they can focus on their content, Line-of-business app development 12 rather than on the operating system. Broad reach, flexibility, and transparency 13 Developers can take advantage of the services Microsoft provides so their apps will light up when of the Windows Store they’re connected to the cloud. When developers connect apps to the cloud using the Live SDK, Transparent terms and onboarding process 14 they can take advantage of single sign-on, which gets users even deeper into their app experience because they’ll be able to more easily store data and communicate with their friends and family.
    [Show full text]