Re: SDL 2.516 Tutorial::LunarLander Error
[email protected] (Kartik Thakore)
| Newsgroups | perl.sdl.devel |
|---|---|
| Message-ID | <1285030070.2019.3.camel@kthakore-laptop> |
I will update that soon. Until then can you try
http://sdlperl.ath.cx/releases/SDL_Manual.pdf
Regards,
Kartik Thakore
On Mon, 2010-09-20 at 17:54 -0500, Pip Stuart wrote:
> Hi SDLPerl Homiez,
>
> I just tried to install SDL 2.516 from the CPAN onto my Ubuntu box &&
> I'm perplexed as the install process seemed to succeed but when I ran:
> [pip@AkuA9KH0Zq~/.tmp]perl -MSDL::Tutorial::LunarLander=lander.pl -e1
> [-] created 'lander.pl'
> [-] created 'images'
> [-] created 'images/ship.jpg'
> [-] created 'images/background.jpg'
> [pip@AkuA9KH0pf~/.tmp]perl lander.pl
> Can't call method "w" on an undefined value at lander.pl line 22.
>
> I also tried `perl -MSDL::Tutorial -e 1` && a black window flashed on
> the screen kinda as expected && `perl
> -MSDL::Tutorial::Animation=sdl_anim.pl -e 1` did properly animate the
> blue rectangle slow then fast.
>
> Any ideas why lander.pl line 19
> SDL::Image::load('images/background.jpg'); would fail? Thanks in
> advance for any help. I want to get at least basic SDLPerl stuff
> working to learn from (if not FrozenBubble).
>
> Peace,
> -Pip@CPAN
--
Kartik Thakore <[email protected]>