INTRODUCING STARLING PDF

adminComment(0)

Starling is an ActionScript 3 2D framework developed on top of the Stage3D APIs (available on desktop in Flash Player 11 and Adobe AIR 3). Starling is mainly. The goal of this manual is to provide an extensive introduction to the Starling will first take a brief look at the history of Flash and AIR and how Starling came. Download the Book:Introducing Starling PDF For Free, Preface: Starling is an ActionScript 3 2D framework developed on top of the Stage3D APIs (availab.


Introducing Starling Pdf

Author:CLEMENTINE MATKIN
Language:English, French, Japanese
Country:Haiti
Genre:Technology
Pages:437
Published (Last):04.10.2015
ISBN:391-5-64796-963-8
ePub File Size:17.48 MB
PDF File Size:16.41 MB
Distribution:Free* [*Registration Required]
Downloads:47895
Uploaded by: TAKAKO

Introducing Starling. Home · Introducing Introducing Hinduism (Introducing ( Icon)). Read more Introducing Chaos, New Edition (Introducing). Read more. INTRODUCING ISBN HAVE You 8ff/'t4 taufeedenzanid.tk TNOS£ 51MB Size Report. DOWNLOAD PDF Introducing Starling. Read more. PDF & E-signatures Starling is an ActionScript 3 2D framework developed on top of the Stage3D APIs, available for Starling is completely based on the Flash Player APIs and abstracts the complexity of Stage3D (Molehill).

As mentioned earlier, Stage3D is literally a new rendering architecture inside Flash Player.

Introducing the Starling 2D framework

A GPU surface is placed under the display list, meaning that any content running inside the display list will be placed above Stage3D content. At the time of this writing, content running in the display list cannot be placed under the Stage3D layer see Figure 7. Figure 7. The stacking order of content rendered with Stage3D.

Also notice that the Stage3D object cannot be transparent. If this was possible, you could play video using the Stage Video technology introduced in Flash Player Hopefully this feature will be enabled in a future release of Flash Player. Visit the official Github page to download Starling. You may also find it helpful to visit the Starling website.

Eugene Schieffelin

Starling is licensed under the simplified BSD license, so you can use Starling in any type of commercial or non-commercial project. You can contact the Starling framework team if you need more information.

After you download Starling, you can reference the Starling library just like any other AS3 library. In order to use the new version of Flash Player 11 beta, you must target SWF version 13 by passing in an extra compiler argument to the Flex compiler: Now that you've prepared your development environment, you are ready to dig into the code and see what you can do with the framework.

Working with Starling is very easy; simply create a Starling object and add it to your main class.

Navigation menu

First, the Starling constructor expects multiple arguments. Here is the signature: Class, stage: Stage, viewPort: Actually, only the first three are really used commonly. The rootClass argument expects a reference to a class extending starling.

Sprite and as a second argument, our stage, then a Stage3D object: Sprite; import flash. StageAlign; import flash. StageScaleMode; import starling.

Books & Videos

Below, the Game class creates a simple quad when added to the Stage: Quad; import starling. Sprite; import starling. The code above adds a listener to the Event.

That way, you can safely access the Stage. Pay attention to this subtle detail: The Game class shown above extends the Sprite class from the starling. Just as expected in Flash, objects in Starling have a default position of 0,0. So add a few lines to center the quad on the Stage: Test the project so far to see the result see Figure 8. Note that the anti-aliasing value allows you to set the type of anti-aliasing desired.

Generally speaking, a value of 1 is totally acceptable but you can go further.

The framework supports anti-aliasing values from 0 to 16, but the list below reflects the most common values: You'll rarely need to use a setting above 2, especially for 2D content. However, you'll need to decide on a case by case basis, depending on your projects. In Figure 9, compare the two screenshots to see the slight difference between two anti-aliasing values 1 and 4.

Experiment with applying values above 2 to set the quality needed for your project.

Of course, choosing a high value impacts the performance. Here are descriptions of the other APIs available for use with the Starling object: Once your Starling object has been created, a debug trace is outputted automatically, displaying information about the renderer.

By default, when the SWF file is correctly embedded in the page or when testing in standalone Flash Player, Starling will output the following: Of course, the specific hardware details will vary, depending on your configuration.

The message above indicates the use of GPU acceleration because it includes the details about the drivers version. For debugging purposes, you may want to force the software fallback used internally by the Flash Player to learn how your content will perform when running on software.

Add the following code to inform Starling that you want to use the software fallback software rasterizer: When you are using software, the output message confirms that you are running in software mode: Software Direct blitting. Be sure to test your content in software mode too, to better understand its performance when running in this mode. Your content may fallback to software if the user's configuration is using old drivers for consistency reasons, all drivers older than are blacklisted.

In the next section, you'll take a look at the requirements for Stage3D when embedding your SWF file in a page. If you do not specify any value or choose an other value than "direct"—like "transparent", "opaque", or "window"—Stage 3D will not be available. Instead, you will get a runtime exception informing you that the creation of the Context3D object failed when requestContext3D on Stage3D is called. Figure 10 illustrates the runtime exception dialog box.

Figure Thus, all the translations are always up to date, without me having to do anything. The paperback version caused me some headaches initially.

Since AsciiDoctor-PDF currently does not prevent widows and orphans, and does not support hyphenation, I initially thought it would not work good enough for print, so I looked into the LaTeX-options. Sometimes, it also helped to simply shorten a paragraph or change the size of an image.

While this could easily have been done with a preprocessor, I actually created a separate branch in the Git repository that contains those changes, since I didn't want the translators of the manual be distracted by this.

This turned out really well, without too much additional work. Here's what it looks like: The e-book is now sold via Gumroad , and the paperback version is printed and distributed via blurb.

By adapting the standard theme, I could easily set up the PDF with exactly the dimensions required by blurb. I decided to make the paperback version really cheap just slightly above printing costs , but only available to customers of the e-book version they get a link to the blurb page after download.

Here are a few things about the AsciiDoctor workflow that caused me trouble, and how I worked around them.

Introducing Starling

Thus, my build script copied them to the right place before invoking "asciidoctor".Proportions of click and high possibility to see interactions between these adults, group- frequency motifs in repertoires did not differ significantly reared young copied song preferentially from one another. Dev Psychobiol —, Starlings preferred A5 over C10 and C10 over B We hypothesized that a unique direct contact with an adult would be necessary for a young bird to acquire all Recordings the adult song features, a situation that arises when a young bird tries to settle in a colony Merkel, If this was possible, you could play video using the Stage Video technology introduced in Flash Player Just as expected in Flash, objects in Starling have a default position of 0,0.

Social inhibition Nottebohm, F. Les passereaux Vol. Thus, I had no other choice than to add white JPG images manually to each of the empty pages urgh.