PlayStation®Mobile Development Cookbook

Book description

Over 65 recipes that will help you create and develop amazing mobile applications!

  • Learn how you can create your own fantastic PlayStation®Mobile (PSM) applications
  • Develop 2D games quickly and easily, complete with graphics, audio, and input
  • Discover how to construct your own 3D world, import models, and even create texture and vertex shaders

In Detail

With the PlayStation®Mobile SDK you can create stunning games for the PlayStation®Vita and PlayStation™Certified devices (PS Certified devices). It includes everything you need to get started, including an IDE for developing your code and even an emulator to test your creations.

"PlayStation®Mobile Development Cookbook"| is an exciting and practical collection of recipes that help you make the most of this exciting new platform. It provides you with everything you need to create complete 2D or 3D games and applications that fully unlock the potential of the SDK.

After quickly covering the basics, you'll learn how to utilize input sources like touch, gamepads, and motion controls, and then move on to more advanced content like creating and animating 2D graphics, networking, playing sound effects and music, adding physics, and then finally jumping into the world of 3D.

Table of contents

  1. PlayStation®Mobile Development Cookbook
    1. Table of Contents
    2. PlayStation®Mobile Development Cookbook
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. A tour of the PlayStation Mobile SDK
        1. PSM Studio IDE
        2. Compiler and runtime
        3. UIComposer
        4. Other utilities
        5. PlayStation Mobile certified devices
          1. PlayStation Vita specifications
          2. HTC Hero One X specifications
      2. What this book covers
      3. What you need for this book
      4. Who this book is for
      5. Conventions
      6. Reader feedback
      7. Customer support
        1. Downloading the example code
        2. Downloading the color images of this book
        3. Errata
        4. Piracy
        5. Questions
    8. 1. Getting Started
      1. Introduction
      2. Accessing the PlayStation Mobile portal
        1. Getting ready
        2. How to do it...
        3. How it works...
      3. Installing the PlayStation Mobile SDK
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      4. Creating a simple game loop
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      5. Loading, displaying, and translating a textured image
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      6. "Hello World" drawing text on an image
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      7. Deploying to PlayStation Mobile certified Android devices
        1. Getting ready
        2. How to do it...
        3. There's more...
      8. Deploying to a PlayStation Vita
        1. Getting ready
        2. How to do it...
        3. There's more...
        4. See also
      9. Manipulating an image dynamically
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      10. Working with the filesystem
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      11. Handling system events
        1. Getting ready
        2. How to do it...
        3. How it works...
    9. 2. Controlling Your PlayStation Mobile Device
      1. Introduction
      2. Handling the controller's d-pad and buttons
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      3. Using the Input2 wrapper class
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      4. Using the analog joysticks
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      5. Handling touch events
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      6. Using the motion sensors
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      7. Creating onscreen controls for devices without gamepads
        1. Getting ready
        2. How to do it…
        3. How it works...
        4. There's more...
        5. See also
      8. Configuring an Android application to use onscreen controls
        1. Getting ready
        2. How to do it…
        3. How it works...
        4. There's more...
        5. See also
    10. 3. Graphics with GameEngine2D
      1. Introduction
      2. A game loop, GameEngine2D style
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      3. Creating scenes
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Adding a grid
        5. See also
      4. Adding a sprite to a scene
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      5. Creating a sprite sheet
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      6. Using a sprite sheet in code
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      7. Batching a sprite with SpriteLists
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      8. Manipulating a texture's pixels
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      9. Creating a 2D particle system
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
    11. 4. Performing Actions with GameEngine2D
      1. Introduction
      2. Handling updates with Scheduler
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      3. Working with the ActionManager object
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      4. Using predefined actions
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      5. Transitioning between scenes
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      6. Simple collision detection
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      7. Playing background music
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      8. Playing sound effects
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
    12. 5. Working with Physics2D
      1. Introduction
      2. Creating a simple simulation with gravity
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      3. Switching between dynamic and kinematic
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      4. Creating a (physics!) joint
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      5. Applying force and picking a physics scene object
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      6. Querying if a collision occurred
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      7. Rigid body collision shapes
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      8. Building and using an external library
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
    13. 6. Working with GUIs
      1. Introduction
      2. "Hello World" – HighLevel.UI style
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      3. Using the UI library within a GameEngine2D application
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      4. Creating and using hierarchies of widgets
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Container widgets
          2. Common widgets
      5. Creating a UI visually using UIComposer
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      6. Displaying a MessageBox dialog
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      7. Handling touch gestures and using UI effects
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      8. Handling language localization
        1. Getting ready
        2. How to do it...
        3. There's more...
        4. See also
    14. 7. Into the Third Dimension
      1. Introduction
      2. Creating a simple 3D scene
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      3. Displaying a textured 3D object
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      4. Implementing a simple camera system
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      5. A fragment (pixel) shader in action
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      6. A vertex shader in action
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      7. Adding lighting to your scene
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      8. Using an offscreen frame buffer to take a screenshot
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See Also
    15. 8. Working with the Model Library
      1. Introduction
      2. Importing a 3D model for use in PlayStation Mobile
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      3. Loading and displaying a 3D model
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      4. Using BasicProgram to perform texture and shader effects
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      5. Controlling lighting using BasicProgram
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      6. Animating a model
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      7. Handling multiple animations
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      8. Using bones to add a sword to our animated model
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
    16. 9. Finishing Touches
      1. Introduction
      2. Opening and loading a web browser
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      3. Socket-based client and server networking
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See Also
      4. Accessing (Twitter) data over the network using REST and HttpWebRequest
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      5. Copying and pasting using Clipboard
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      6. Embedding and retrieving a resource from the application assembly
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      7. Configuring your application using PublishingUtility
        1. Getting ready
        2. How to do it...
        3. There's more…
        4. See also
      8. Creating downloadable content (DLC) for your application
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
    17. A. Publishing Your Application
      1. Introduction
        1. Process overview
        2. Obtaining a developer license
        3. Your publisher keys
        4. Preparing your application for publication
        5. Publishing your application
    18. Index

Product information

  • Title: PlayStation®Mobile Development Cookbook
  • Author(s): Michael Fleischauer
  • Release date: March 2013
  • Publisher(s): Packt Publishing
  • ISBN: 9781849694186