Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Games::3D::World 0.10

    Download button

    No screenshots available
    Downloads: 287  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Tels | More programs
    Perl Artistic License / FREE
    May 4th, 2009, 11:22 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Games::3D::World description

    Games::3D::World - contains all things in the game world

    Games::3D::World is a Perl module that contains all things in the game world.

    SYNOPSIS

     use Games::3D::World;

     # construct world from templates file and level file
     my $level = Games::3D::World->new( $templates, $file);

     # load the same level again
     $level->reload();

     # create a new world from sratch:
     my $world = Games::3D::World->new();
     $world->load_templates( $templates_file );

     # add some thing directly
     $world->create ( $thing_class );

     # create another one
     my $thing = Games::3D::Thingy->new( ... );
     $thing->visible(1);
     $thing->think_time(100);
     # and make our world contain it
     $world->register($thing);
     
     # save the world
     $world->save_to_file();

     # foreach frame to render:
     while ($not_quit)
     {
     # other code like user input handling here
     ...
     # update the world with the current frame time:
     $world->update( $now );
     ...
     # then let world call $callback for each visible object
     $world->render( $now, $callback );
     # other drawing code here
     ...
     }



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    3D game | Perl module | 3D | Perl | game

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM