Using Scalable Vector Graphics
A BlackBerry smartphone has a lot more computing power than the average handset, so you can’t help but want to see what kinds of spectacular graphics effects you can create. In Chapter 12 you’ll see how to use the OpenGL ES API to create 3D scenes for the latest and greatest models. But before version 5.0, BlackBerry smartphones didn’t have a 3D graphics engine built-in. This is probably because BlackBerry devices are optimized for business, not pleasure. But on earlier models—starting from operating system version 4.6.0—BlackBerry devices have scalable vector graphics (SVG) capabilities (as defined in JSR 226). And that same SVG engine that so beautifully renders a corporate logo at just the right scale can also be used to add some pizzazz to your game!
KeywordsGame Graphic Scalable Vector Graphic Path Element Public Class Animation Frame
Unable to display preview. Download preview PDF.