Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Super Paper Monster Smasher Starter Kit

[email protected]
September 21, 2013
400

Super Paper Monster Smasher Starter Kit

This talk goes over setup and installation of my Super Paper Monster Smasher Starter Kit written in Impact. Download the source code at http://bit.ly/spms-kit

[email protected]

September 21, 2013
Tweet

Transcript

  1. The Super Paper Monster Smasher Starter Kit is a side-scrolling

    monster smashing game. You take on the role of a large green monster which is under attack by a bunch of heroes and you have to try and survive as long as you can. Since this project is completely open source, you are free to build on top of it and add your own story, artwork, and sounds and then publish it.
  2. • ImpactJS Bootstrap: this is a standard library of code

    used across all of my Impact games and starter kits. • Entities: this directory contains all the entitles you need to build the game including a player, bad guys, spawners and upgrades. • Plugins: a collection of plugins to help get the starter kit working on each platform as well as additional ones used in the game. • Screens: this contains the main sections of your game such as the start screen and the game itself.
  3. • Artwork: you get all of the artwork you need

    for the game and map editor. • Sounds: a collection of sound effects for you to get started with.
  4. • Desktop Browsers: IE 9+, Chrome, Safari, & Firefox. •

    Mobile Browsers: Windows Phone 8, iOS & Chrome for Android. • Web Markets: Chrome Web Store and Mozilla’s Web Store. • Windows Store: Creates a native HTML5 app. • Windows Phone: Using a simple C# WebControl wrapper.
  5. • I always develop my Windows 8 game just like

    I would any Web game. • I do all my testing in the browser. • I use Visual Studio as my IDE. • When I am ready to test on Windows 8 or Windows Phone I simply hit compile.
  6. • Download the Super Paper Monster Smasher Starter Kit -

    https://bit.ly/spms-kit • Copy of Impact JS ($100) - http://impactjs.com • Git & GitBash (on Windows) - http://bit.ly/git-dl • NodeJS - http://nodejs.org/ • PHP (for Windows)- http://bit.ly/php5-dl
  7. • Windows 8 (90 Day Trial) - http://msdn.microsoft.com/en- us/evalcenter/jj554510.aspx •

    Visual Studio Express - http://www.microsoft.com/visualstudio/eng/products/visual- studio-express-for-windows-8 • Aseprite - Sprite Editor http://www.aseprite.org/ • ShoeBox - Texture Atlas Packager http://renderhjs.net/shoebox/ • Bfxr - Sound Effect http://ded.bfxr.net/~locus/bfxr_update/Bfxr_WIN.zip • Audacity - Audio Editor http://audacity.sourceforge.net/
  8. 1. Copy all source code to tmp directory in deploy

    folder. 2. Combine all JS files into a single JS file. 3. Inject all JSON and other external data that would normally be loaded eternally. 4. Uglify final js. 5. Delete source code and tools from tmp Directory. 6. Perform builds for each platform. http://bit.ly/spms-build
  9. // config.js { "project": "Super Paper Monster Smasher Starter Kit",

    "rootProject": "./Projects/SuperPaperMonsterSmasherStarterKitWin8/", "wp8Project": "./Projects/SuperPaperMonsterSmasherStarterKitWP8/", "deployDir": "./Deploy/", "blogRootPath": "/wp-content/games/super-paper-monster-smasher-starter- kit/media/" } // load in gruntfile.js var config = grunt.file.readJSON("config.json");
  10. grunt.registerTask('build-platforms', ['build-web', 'build-phone', 'build-blog', 'build-win8']) grunt.registerTask('bake', ['build-tmp', 'shell:game', 'clean:lib', 'replace:gamePath',

    'uglify', 'build-platforms', 'clean:tmp']); grunt.registerTask('debug', ['build-tmp', 'build-platforms', 'clean:tmp']);
  11. refers the to asset workflow you create for your project.

    This could be as simple as copying files over by hand into your game’s media folder or writing more complex automation scripts to generate the art for you.
  12. is a large image containing a collection of sub-images, or

    "atlas" which contains many smaller sub-images. This is used primarily in 3d for textures but is very useful for 2d games as well.
  13. Atlases can consist of uniformly-sized sub-textures, or they can consist

    of textures of varying sizes (usually restricted to powers of two). *Illustration from http://www.grimrock.net/modding/creating-custom-assets/
  14. • Create Texture Atlas with data file • Extract Sprites

    • Custom atlas data templates (can create xml, json, text, etc) • Create bitmap fonts • Cross platform • Works with Cocos2d, Unity3d, HTML5 and more.
  15. At the end of the day resolution comes down to

    aspect ratio, is your game 4:3 or 16:9 or even both? Good games can easily support either resolution, here is a sample from one of my game’s designs to show you how this works.
  16. Like every app store out there you will have to

    register, pay a developer fee, and work through a submission process in order to launch your game. Submitting to the Windows Store starts by creating your developer account.
  17. for individuals is $49, with a $99 fee for companies.

    The revenue share is 70%, but when an app achieves $25,000 in revenue—aggregated across all sales in every market—that changes to 80% revenue share for the rest of the lifetime of the app.
  18. You will need to do the following in order to

    publish your game: 1) Reserve a game name 2) Fill in game description & details 3) Export build from Visual Studio 4) Validate app locally 5) Submit for approval
  19. • Description: There is a 10,000 character limit for your

    description. • Keywords: You’ll need at least two to four of these to help with searching and discoverability. • Screenshots: These can be 1366x768 or 768x1366 saved as .png. You will also need to provide no more than 200 character captions for each screenshot. • Promotion Imagery: While not mandatory this will help you get your app featured if the editors like it. You will need to supply the following size .pngs: 846x468, 558x756, 414x468, and 414x180.
  20. Use this Starter Kit to help jumpstart your next HTML5

    game on Windows 8, Windows Phone 8 & Azure! http://bit.ly/srr-kit
  21. Use this Starter Kit to help jumpstart your next HTML5

    game on Windows 8, Windows Phone 8 & Azure! http://bit.ly/YLdht4
  22. Free workshops focused on Game Development here in NYC. New

    weekend events starting at the end of September and weekly studio time space every Wednesday in the Microsoft NYC office.
  23. Don’t forget to visit jessefreeman.com to learn more about HTML5

    and Windows 8 game development. You can download the slides at http://bit.ly/spms-talk