</ul>
</li>
<li><a href="#SYNOPSIS">SYNOPSIS</a></li>
+<li><a href="#SDL_Manual">SDL Manual</a></li>
<li><a href="#SDL_BASICS">SDL BASICS</a>
<ul><li><a href="#Surfaces">Surfaces</a></li>
<li><a href="#Initialization">Initialization</a></li>
</ul>
</li>
<li><a href="#SEE_ALSO">SEE ALSO</a></li>
-<li><a href="#AUTHOR">AUTHOR</a></li>
+<li><a href="#AUTHORS">AUTHORS</a></li>
<li><a href="#COPYRIGHT">COPYRIGHT</a>
</li>
</ul><hr />
</pre>
</div>
+<h1 id="SDL_Manual">SDL Manual</h1><p><a href="#TOP" class="toplink">Top</a></p>
+<div id="SDL_Manual_CONTENT">
+<p><code>SDL::Tutorial</code> are incomplete and old. A new book has been started to provide
+a complete tutorial for SDL. See <a href="http://bit.ly/hvxc9V">http://bit.ly/hvxc9V</a>.</p>
+
+</div>
<h1 id="SDL_BASICS">SDL BASICS</h1><p><a href="#TOP" class="toplink">Top</a></p>
<div id="SDL_BASICS_CONTENT">
<p>SDL, the Simple DirectMedia Layer, is a cross-platform multimedia library.
<h2 id="Surfaces">Surfaces</h2>
<div id="Surfaces_CONTENT">
<p>All graphics in SDL live on a surface. You'll need at least one. That's what
-<a href="http://search.cpan.org/perldoc?SDLx::App">SDLx::App</a> provides.</p>
+<a href="SDLx-App.html">SDLx::App</a> provides.</p>
<p>Of course, before you can get a surface, you need to initialize your video
mode. SDL gives you several options, including whether to run in a window or
take over the full screen, the size of the window, the bit depth of your
<pre> use SDLx::App;
my $app = SDLx::App->new(
- -width => 640,
- -height => 480,
- -depth => 16,
+ width => 640,
+ height => 480,
+ depth => 16,
);
</pre>
-<p>You can get more creative, especially if you use the <code>-title</code> and <code>-icon</code>
+<p>You can get more creative, especially if you use the <code>title</code> and <code>icon</code>
attributes in a windowed application. Here's how to set the window title of
the application to <code>My SDL Program</code>:</p>
<pre> use SDLx::App;
my $app = SDLx::App->new(
- -height => 640,
- -width => 480,
- -depth => 16,
- -title => 'My SDL Program',
+ height => 640,
+ width => 480,
+ depth => 16,
+ title => 'My SDL Program',
);
</pre>
<p>Setting an icon is a little more involved -- you have to load an image onto a
-surface. That's a bit more complicated, but see the <code>-name</code> parameter to
+surface. That's a bit more complicated, but see the <code>name</code> parameter to
<code>SDL::Surface-</code>new()> if you want to skip ahead.</p>
</div>
<h1 id="SEE_ALSO">SEE ALSO</h1><p><a href="#TOP" class="toplink">Top</a></p>
<div id="SEE_ALSO_CONTENT">
<dl>
- <dt><a href="SDL-Animation.html">SDL::Animation</a></dt>
+ <dt><a href="SDL-Tutorial-Animation.html">SDL::Tutorial::Animation</a></dt>
<dd>
<p>basic rectangle drawing and animation</p>
</dd>
</dl>
</div>
-<h1 id="AUTHOR">AUTHOR</h1><p><a href="#TOP" class="toplink">Top</a></p>
-<div id="AUTHOR_CONTENT">
+<h1 id="AUTHORS">AUTHORS</h1><p><a href="#TOP" class="toplink">Top</a></p>
+<div id="AUTHORS_CONTENT">
<p>chromatic, <chromatic@wgz.org>. </p>
-<p>nelson ferraz, <nferraz@cpan.org>. </p>
-<p>Updated by kthakore and garu.</p>
-<p>Written for and maintained by the Perl SDL project, <a href="http://sdl.perl.org/">http://sdl.perl.org/</a>.</p>
+<p>Written for and maintained by the Perl SDL project, <a href="http://sdl.perl.org/">http://sdl.perl.org/</a>. See <a href="/SDL.html#AUTHORS">/SDL.html#AUTHORS</a> for details.</p>
</div>
<h1 id="COPYRIGHT">COPYRIGHT</h1><p><a href="#TOP" class="toplink">Top</a></p>