Help for this page

Select Code to Download


  1. or download this
    my $s_rect = SDL::Rect->new(-x => 0, -y => 0, -width => 64, -height =>
    +64); # Source
    my $d_rect = SDL::Rect->new(-x => 0, -y => 0, -width => 64, -height =>
    +64); # Destination
    
    $sprite->blit($s_rect,$app,$d_rect);
    
  2. or download this
    my $s_rect = SDL::Rect->new(-x => 0, -y => 0, -width => 64, -height =>
    +64); # Source
    my $d_rect = SDL::Rect->new(-x => 0, -y => 0, -width => 64, -height =>
    +64); # Destination
    
    $sprite->blit($s_rect,$app,$s_rect);