Book Image

PlayStation Mobile Development Cookbook

By : Michael Fleischauer
Book Image

PlayStation Mobile Development Cookbook

By: Michael Fleischauer

Overview of this book

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 (17 chapters)
PlayStationMobile Development Cookbook
About the Author
About the Reviewers
Publishing Your Application

Creating a UI visually using UIComposer

This recipe is going to use the UIComposer application to create a simple user interface.

Getting ready

Load up UIComposer; there should be a Start Menu entry in the PlayStation Mobile folder. If you installed with default settings, it should also be available at C:\Program Files (x86)\SCE\PSM\tools\UIComposer if your OS is 64 bit, or C:\Program Files\SCE\PSM\tools\UIComposer if your OS is 32 bit.

How to do it...

To create a UI visually using UIComposer perform the following steps:

  1. Select File | Create New Project.

  2. In the Create New Project dialog box, fill in the Project Name and File Path fields with whatever values you like (remember the location). Click on OK when finished:

  3. In the NewLayoutWindow dialog box, set Class to Layout to Scene, Class Name to Demo, and for Size select 960x544 (the PlayStation Vita's resolution), then click on OK:

  4. You should now have an editable surface you can drag, where you can essentially draw the UI. From the WidgetList...