• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
GameMaker:Studio and Windows
 

GameMaker:Studio and Windows

on

  • 1,214 views

An overview of using GameMaker Studio for building and Publishing Windows 8 apps

An overview of using GameMaker Studio for building and Publishing Windows 8 apps

Statistics

Views

Total Views
1,214
Views on SlideShare
1,174
Embed Views
40

Actions

Likes
0
Downloads
0
Comments
0

3 Embeds 40

http://www.windowsgamesambassadors.co.uk 33
http://windowsgamesambassadors.azurewebsites.net 5
http://windowsgamesambassadors.co.uk 2

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    GameMaker:Studio and Windows GameMaker:Studio and Windows Presentation Transcript

    • GameMaker:StudioLee StottTechnical Evangelist, MicrosoftDeveloper & Platform Evangelism@lee_stottLeeStott@Microsoft.comhttp://blogs.msdn.com/ukmsdn
    • Background• GameMaker• Prof. Mark Overmars• Originally created in 1999 by Mark Overmars,Professor of Computer Science at the University of Utrecht• Written in Borland Delphi (object-oriented Pascal)• Created to teach game design principles to ComputerScience students who already knew how to program• A fully-capable free version of Game Maker allowedhobbyists to aspire to make money from games• Extensible architecture (3rd party libraries)• Gathered a worldwide hobbyist following and an activeonline community (the GMC)
    • • GameMaker Book:• The Game Maker’s Apprentice:Game Development for Beginners• Written by Jacob Habgood and Prof. Mark Overmars• Covers basic GameMaker use and game design basics• Not a textbook – “just in time” learning by exampleBackground
    • • Sequel:• The Game Maker’s Companion:The Journey Continues• Written by Jacob Habgood, Nana Nielsen and Martin RijksIllustrated by Kevin Crossley.• Covers intermediate Game Maker, storylines andcharacters
    • What is GameMaker?• Game Maker• Drag and Drop Programming• Event-driven, icon-based programming• Trade-off… easy but limited?• Not really!
    • What is GameMaker?
    • What is GameMaker?• Entry-Level Game Development• Drag and Drop Programming• Not as limiting as you might think…• This remake of a Gremlin classic is made mostly using D&D
    • What is GameMaker?• Entry-Level Game Development• Drag and Drop Programming• Not a game “construction kit”• Visual programming language• Object-oriented (inheritance)• Logic, mathematics, probabilityX axis = 640 pixelsYaxis=480pixels135 pixels
    • Resources• Basic Resource Types:SpritesObjectsRoomsInstances
    • Programming• Event-Driven:• Events• Things that "happen" in the game.
    • Object Behaviours• Event-Driven:• Actions for Events• Each event can have many actions• 7 tabs:• move• main1• main2• control• score• extra• draw
    • Object-Oriented Concepts• Instances, Objects and Parentsa kind ofobj_bigleg_moveobj_bigleg_move_smalla kind ofa kind ofobj_bigleg_smallobj_biglegObjects inherit eventsand actions from theirparents, and can betreated as a group (incollisions, forexample)
    • State Machines• Instance Change:• State Transitions• Animation End Event• Key Press Event• Collision EventStandHop LeftHopRightJumpLeftJumpRight Key Press <right>Key Press <left>Animation EndAnimation EndObstructed Not obstructedJumpHopDeadCollisionState Objects arespecial objects thatrepresent differentbehaviours for thesame “thing”State Transitionsshow how instanceschange betweendifferent stateobjects (arrows)
    • Scripting Language• A High Ceiling• GML• Comprehensive scripting language(C/Pascal hybrid)
    • Scripting Language• A High Ceiling• GML• Functions, arguments, return values• Instance variables, global variables• Control flow statements (if, for, with, switch, etc.)• Arrays, Hash maps• Id (analogous to a pointer)• Extensions• Create your own icon actions from GML• Create your own DLL in another language and call thefunctions contained within it from GameMaker (PC only)• Create your own JavaScript extension (HTML5 only)
    • GameMaker: Studio• Game Maker• YoYo Games• In 2006 YoYoGames were a new media start-up seekingto become the ‘YouTube of Videogames’• Headed up by Sandy Duncan (Former Xbox Microsoftexec)• Mark sold Game Maker to YoYoGames and became adirector of the company himself• Employed Mike Daily (programmer of Lemmings & GTA)• By 2010 YoYo had a web 2.0 site containing 60,000+games made by the hobbyist community• The best games were offered a publishing deal andported onto mobile platforms by YoYo• GameMaker: Studio was released in 2012 which allowedusers to publish their own games on mobile platforms
    • GameMaker: Studio• Commercial Games• Game Maker• Interpreted language• Runners on various platforms• PC, Mac, Windows 8, iOS,Android, HTML5, Win8 Phone,(lots of titles) Ubuntu (new)• PSP (one title: Mr Karoshi)
    • • Publishing to Windows 8• The GameMaker FamilyThe GameMaker Family
    • GameMaker: Studio• Teaching Perspective• GameMaker: Studio• More powerful, but longer compile times• Interface/options are more intimidating for beginners• Education version coming soon (.msi)• Free version is only practical for evaluation
    • Teaching• Game Maker?• First year Game Programming module:• Limited potential for writing games in C++ in year one• A creative outlet for programming while learning C++• Get a published product in their portfolio• Realise just how much work it really involves to bringsomething to market – even with GameMaker!• Insights into the wider perspective of a project lifecycle
    • Teaching Examplers• Sheffield Hallam University• Game Maker• Other Applications:• Modules where the emphasis is on design rather thanthe technical development skills: e.g. Serious Games• Extra curricular competitions: Game Jams• School’s outreach: Games Britannia
    • Teaching• Sheffield Hallam University• The Games Britannia Festival
    • The Windows Store• Publishing to the Windows StoreFocussing on GameMaker specific parts of the processassuming a ‘least resistance’ first-time approach...• Requirements• Get a Windows Store Developer Account:• A DreamSpark account (free)• A Microsoft email account (free)• A credit card• A bank account• Export your GameMaker game for Windows 8• A PC running Windows 8 (free on DreamSpark premium)• A copy of GameMaker: Studio ($50)• A copy of Visual Studio 2012 (free)
    • The Windows Store• Publishing to the Windows Store• Design Considerations• Minimum Resolution• 1366x768• GameMaker will scale for you, but better to design for it• Touch Compatibility• ALL interaction needs to work on both a touch screen ANDkeyboard (e.g. Escape to quit)• GameMaker supports “Virtual Keys”• virtual_key_add(x, y, w, h, keycode);
    • The Windows Store• Publishing to the Windows Store• Design Considerations• Settings Charm• Publisher contact details• Other options like turning off virtual keys:• win8_settingscharm_add_entry(name, callback);
    • The Windows Store• Publishing to the Windows Store• Windows Store Developer Account• Create a DreamSpark account (free to students/academicsusing a .ac.uk email) and link it to a Microsoft emailaccount (hotmail.com, live.com etc.)• Use your DreamSpark account to apply for a free WindowsStore Registration Code (normally $50)• Use the code to register on the Windows Store• You still need a credit card (a nominal fee is charged andrefunded to verify your account)• You’ll also need a bank account to deposit any potentialincome earned by your app• Income from the US to UK is covered by a tax treaty and youjust need to fill in a W-8BEN form online• Comprehensive instructions:http://tinyurl.com/dreamspark4gm
    • The Windows Store• Publishing to the Windows Store• Exporting to Windows 8• The standard edition of GameMaker: Studio ($50) includesWindows 8 support via HTML5 (JavaScript)• Yet $50 is potentially prohibitive to students:• Creating a publishable game takes A LOT of time andstudents need access to GameMaker outside of lessons• Possible to develop using GameMaker 8.1 Lite (free) andimport to GameMaker: Studio just to publish it• But you cannot take a GM: Studio project back intoGameMaker 8.1 once you have edited it• NOT practical to develop with GM: Studio free version as itimposes limits on the number of resources
    • The Windows Store• Publishing to the Windows Store• Development Environment• You will need Windows 8!• Free to download as part of DreamSpark Premium• Dual boot is an option (e.g.http://tinyurl.com/dualbootgm)• Install Visual Studio 2012 (Express version is freehttp://tinyurl.com/vsexpressgm)• Install GameMaker: Studio
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Log into your Windows Store Dashboard and select“Submit an App”
    • Windows 8
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Log into your Windows Store Dashboard and select“Submit an App”• App Name: Reserve a name for your app• Selling Details:• Price and Markets• Free and just English-speaking territories (or just UK)• Paid and just US and UK (or just UK)• Hardware Requirements• Available to all systems (DirectX and RAM)• Advanced Features:• None – just click save
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Age Ratings:• Self-certification• Formal ratings are optional for most markets• Getting a PEGI (European) rating is free and easyhttp://apps.pegi.eu/Games/Submit• Avoid Korea, South Africa, Brazil and Taiwan• The lower the age rating the bigger the market• Be aware of the content of the game you arepublishing – you are potentially liable...• Cryptography:• Select “No” unless you’ve added any encryption
    • Windows 8
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Preparing to Create a Package:• Launch Visual Studio Express 2012• Select Store -> Open Developer Account• Log into your account
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Preparing to Create a Package:• Launch Visual Studio Express 2012• Select Store -> Acquire Developer Licence• Log into your account
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Preparing to Create a Package:• Select File->New Project• Settings are irrelevant, but note the location• Select OK
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Preparing to Create a Package:• Select “Store->Associate App with the Store”• Sign in (again!)• Select your app and Associate it
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Preparing to Create a Package:• Double click on package.appxmanifestin the solution explorer (RHS)• Select the Packaging tab• Copy the Package name, Package display name andPublisher display name to somewhere safe
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Preparing to Create a Package:• Look in the Visual Studio project directory you just created for theStoreKey (e.g. App3_StoreKey.pfx in c:usersfreddocumentsvisualstudio 2012projectsapp3)• Copy this to somewhere safe (with your GameMaker project perhaps).You can rename it appropriately too.• RevengeOfTheMole_StoreKey.pfx• Launch GameMaker: Studio and open the Global Game Settings for yourgame and select the General tab
    • The Windows Store• Publishing to the Windows StoreEnter the packagesettings copied fromthe manifest EXACTLYas they were shownVersion is up to youCreate and updateimages for the storeicons.If Foreground Text isLight thenBackground colourmust be dark andvisa versa
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Preparing to Create a Package:• Switch to the Installation tab and select the Certificate wegenerated earlier (the .pfx file)• Click on Install• Save the project
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Preparing to Create a Package:• That’s it for the setup.• This process doesn’t need to be repeated until youchange the name of the app, or want to develop adifferent app.
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Creating a Package for Submission:• In Game Maker:• Go to File->Create Application (select output folder)• When the game runs, switch back to the Start Screen• In Windows:• Launch “Windows App Cert Kit”• You may need to search for it on the first run, but it shouldappear on the Start Screen after that• Select “Validate Windows Store App”• Select the version of your game which doesn’t have _test at theend of the name
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Creating a Package for Submission:• Common App Cert Kit failures:• Running the test on the _test (debug) version• Not enough contrast between foreground text andbackground colours
    • Windows 8
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Creating a Package for Submission:• Uploading the Package• Find the .appxupload or .appx files generated in the output folder youspecified on “Create Application”• Upload one or the other under “Packages” on the App Dev Centre• Once upload is complete it will perform more automated tests• Common Failures:Entering the package /publisher names incorrectly or using thewrong .pfx file
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Description:• Describe your game and upload screenshots• MUST be 1366x768 resolution images
    • The Windows Store• Publishing to the Windows Store• App Submission Process• Notes to Testers:• It is unlikely you will pass on your first submission• Remember to tell them exactly what you have changed between eachsubmission.• Common Failures• Not having equivalent key/touch controls for everything• Including a “quit application” option (don’t do it!)
    • The Windows Store• Publishing to the Windows Store• Monty Mole: Revenge of the Mole• Available Now!• Please download and rate it (its free!)• Also available on Facebook:• https://www.facebook.com/appcenter/gamesbritannia