WebGL: Up and Running by Tony Parisi

WebGL: Up and Running by Tony Parisi

Author:Tony Parisi [Tony Parisi]
Language: eng
Format: epub, pdf
Tags: COMPUTERS / Web / Web Programming
ISBN: 9781449326500
Publisher: O'Reilly Media
Published: 2012-08-06T16:00:00+00:00


Creating Pop Ups with DIV Elements

Dynamic HTML is the ideal technology for building pop-up screens and heads-up displays for WebGL-based games. WebGL does not have native support for drawing text (more on this later in the chapter); thankfully that does not present much of a problem here, because we can simply layer HTML above the WebGL content. We can also use CSS to style the user interface elements, thus perfectly matching the styling of the rest of our pages. Figure 6-1 shows the start screen of a make-believe space shooter game I just thought up, just now: Shipster.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.