person shooter
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 351
Alpha Shooter 0.0.3
Alpha Shooter is a 3D OpenGL first-person shooter game with a sci-fi setting. more>>
Alpha Shooter is a 3D OpenGL first-person shooter game with a sci-fi setting.
Alpha Shooter was born as a project for the Computer Graphics course at the University of Bologna.
The main objective was to develop a very simple 3D game using the OpenGL, GLU and GLUT libraries only (and some creativity). Emphasis was not placed on the game itself, rather on learning how to use the libraries to produce a 3D environment and interact with it; it was thus required to build a suitable scenery using polygonal meshes and quadric surfaces, appropriate textures and materials, lights, and effects.
According to my personal taste I chose a sci-fi setting, trying to reproduce an environment that could remind players of a warehouse or loading area located inside a space ship or space station, like those often seen in movies or commercial videogames (of course I was aware of the limits of my implementation). I focused development on a single room, with an outside view, for ease of development (it was my very first attempt at graphics programming) and because it was enough to make use of a wide set of elements of OpenGL, consistently with the project requirements.
The game I wrote was inspired to the First Person Shooter genre, in which the player can move around in a 3D environment, looking around freely through the eyes of the played character, interacting (in very limited ways) with some of the objects present, shooting crates and barrels and some holographic targets.
I had a lot of fun creating that simple game, so after I got my Masters Degree I decided it would be a waste to just leave it hidden in some obscure directory at home; it is now here, released as Free Software, so that I can keep working on it and improving it, with help from whoever will be interested, in the hope that it will be useful as an example on how to get started in computer graphics and games development.
Enhancements:
- Binary packages were created for all supported operating systems, including a Windows installer, an i386 Debian Linux package, and a PowerPC Mac OS X DMG disk image.
- Additionally, the improved persistent mouse movement mode uses a dynamic mouse cursor that shows direction and speed of rotation, making that movement mode more intuitive and useful.
- Several minor bugs have also been fixed.
<<lessAlpha Shooter was born as a project for the Computer Graphics course at the University of Bologna.
The main objective was to develop a very simple 3D game using the OpenGL, GLU and GLUT libraries only (and some creativity). Emphasis was not placed on the game itself, rather on learning how to use the libraries to produce a 3D environment and interact with it; it was thus required to build a suitable scenery using polygonal meshes and quadric surfaces, appropriate textures and materials, lights, and effects.
According to my personal taste I chose a sci-fi setting, trying to reproduce an environment that could remind players of a warehouse or loading area located inside a space ship or space station, like those often seen in movies or commercial videogames (of course I was aware of the limits of my implementation). I focused development on a single room, with an outside view, for ease of development (it was my very first attempt at graphics programming) and because it was enough to make use of a wide set of elements of OpenGL, consistently with the project requirements.
The game I wrote was inspired to the First Person Shooter genre, in which the player can move around in a 3D environment, looking around freely through the eyes of the played character, interacting (in very limited ways) with some of the objects present, shooting crates and barrels and some holographic targets.
I had a lot of fun creating that simple game, so after I got my Masters Degree I decided it would be a waste to just leave it hidden in some obscure directory at home; it is now here, released as Free Software, so that I can keep working on it and improving it, with help from whoever will be interested, in the hope that it will be useful as an example on how to get started in computer graphics and games development.
Enhancements:
- Binary packages were created for all supported operating systems, including a Windows installer, an i386 Debian Linux package, and a PowerPC Mac OS X DMG disk image.
- Additionally, the improved persistent mouse movement mode uses a dynamic mouse cursor that shows direction and speed of rotation, making that movement mode more intuitive and useful.
- Several minor bugs have also been fixed.
Download (0.77MB)
Added: 2007-08-09 License: GPL v3 Price:
813 downloads
Open Space Shooter prototype
Open Space Shooter is a simple 2D space shooter like asteorids. more>>
Open Space Shooter is a simple 2D space shooter like asteorids.
Just a small spaceship, some Asteorids and some enemies. You got lasers and rockets and try to fight the enemy ships, not more.
It is simple but funny.
All is just a prototyp of a game I want to write later. But I have no time at the moment...
<<lessJust a small spaceship, some Asteorids and some enemies. You got lasers and rockets and try to fight the enemy ships, not more.
It is simple but funny.
All is just a prototyp of a game I want to write later. But I have no time at the moment...
Download (1.2MB)
Added: 2006-06-25 License: Other/Proprietary License Price:
1223 downloads
Alien Blaster 1.1.0
Alien Blaster project is an action-loaded 2D arcade shooter game for up to two players. more>>
Alien Blaster project is an action-loaded 2D arcade shooter game for up to two players.
alienblaster is an action-loaded 2D arcade shooter game.
Your mission in the game is simple: stop the invasion of the aliens by blasting them.
Simultaneous two-player mode is available.
Main features:
- many aliens to blast
- a big bad boss
- different weapons
- special items
- cooperative mode (2 players playing on 1 computer)
- gamepad/joystick support
- arcade mode with highscore
- open source
- published under GPL
- runs with Windows and Linux
<<lessalienblaster is an action-loaded 2D arcade shooter game.
Your mission in the game is simple: stop the invasion of the aliens by blasting them.
Simultaneous two-player mode is available.
Main features:
- many aliens to blast
- a big bad boss
- different weapons
- special items
- cooperative mode (2 players playing on 1 computer)
- gamepad/joystick support
- arcade mode with highscore
- open source
- published under GPL
- runs with Windows and Linux
Download (6.3MB)
Added: 2006-11-10 License: GPL (GNU General Public License) Price:
1078 downloads
Persistent::LDAP 0.50
Persistent::LDAP is a persistent class implemented using a LDAP directory. more>>
Persistent::LDAP is a persistent class implemented using a LDAP directory.
SYNOPSIS
use Persistent::LDAP;
use English; # import readable variable names like $EVAL_ERROR
eval { ### in case an exception is thrown ###
### allocate a persistent object ###
my $person =
new Persistent::LDAP(localhost, 389,
cn=Directory Manager, test1234,
ou=Engineering,o=Big Snow Org,c=US);
### declare attributes of the object ###
$person->add_attribute(uid, ID, String);
$person->add_attribute(userpassword, Persistent, String);
$person->add_attribute(objectclass, Persistent, String);
$person->add_attribute(givenname, Persistent, String);
$person->add_attribute(sn, Persistent, String);
$person->add_attribute(cn, Persistent, String);
$person->add_attribute(mail, Persistent, String);
$person->add_attribute(telephonenumber, Persistent, String);
### query the datastore for some objects ###
$person->restore_where(& (objectclass=person)(mail=*bigsnow.org),
sn, givenname);
while ($person->restore_next()) {
printf("name = %s, email = %sn",
$person->givenname . . $person->sn,
$person->mail);
}
};
if ($EVAL_ERROR) { ### catch those exceptions! ###
print "An error occurred: $EVAL_ERRORn";
}
ABSTRACT
This is a Persistent class that uses a LDAP directory to store and retrieve objects. This class can be instantiated directly or subclassed. The methods described below are unique to this class, and all other methods that are provided by this class are documented in the Persistent documentation. The Persistent documentation has a very thorough introduction to using the Persistent framework of classes.
<<lessSYNOPSIS
use Persistent::LDAP;
use English; # import readable variable names like $EVAL_ERROR
eval { ### in case an exception is thrown ###
### allocate a persistent object ###
my $person =
new Persistent::LDAP(localhost, 389,
cn=Directory Manager, test1234,
ou=Engineering,o=Big Snow Org,c=US);
### declare attributes of the object ###
$person->add_attribute(uid, ID, String);
$person->add_attribute(userpassword, Persistent, String);
$person->add_attribute(objectclass, Persistent, String);
$person->add_attribute(givenname, Persistent, String);
$person->add_attribute(sn, Persistent, String);
$person->add_attribute(cn, Persistent, String);
$person->add_attribute(mail, Persistent, String);
$person->add_attribute(telephonenumber, Persistent, String);
### query the datastore for some objects ###
$person->restore_where(& (objectclass=person)(mail=*bigsnow.org),
sn, givenname);
while ($person->restore_next()) {
printf("name = %s, email = %sn",
$person->givenname . . $person->sn,
$person->mail);
}
};
if ($EVAL_ERROR) { ### catch those exceptions! ###
print "An error occurred: $EVAL_ERRORn";
}
ABSTRACT
This is a Persistent class that uses a LDAP directory to store and retrieve objects. This class can be instantiated directly or subclassed. The methods described below are unique to this class, and all other methods that are provided by this class are documented in the Persistent documentation. The Persistent documentation has a very thorough introduction to using the Persistent framework of classes.
Download (0.015MB)
Added: 2007-05-19 License: Perl Artistic License Price:
889 downloads
TUER Alpha
TUER is a 3D FPS written in JAVA + JOGL + JOGG. more>>
TUER is a 3D FPS written in JAVA + JOGL + JOGG.
TUER is a very small first player shooter. You can shoot robots in a museum with your rocket launcher. It uses a kind of dynamic lighting. You can also perform screenshots and snapshots.
<<lessTUER is a very small first player shooter. You can shoot robots in a museum with your rocket launcher. It uses a kind of dynamic lighting. You can also perform screenshots and snapshots.
Download (MB)
Added: 2007-08-23 License: Freeware Price:
487 downloads
Versus 0.2
Versus is an old-school space shooter game. more>>
Versus project is an old-school space shooter game.
Versus is a game in which two plain triangles try to kill each other by shooting on one another.
The game features gravity and can be configured through an INI file.
Features youll see in a future version:
add HUD
remove redundancies
title screen
primitive font system
horizonal hurt looses 2 lifes bug
Enhancements:
- implement ini configuartion File
- colors
- unix makefile
- cross compilation (BSD, Linux, Mac Os X, Windows)
<<lessVersus is a game in which two plain triangles try to kill each other by shooting on one another.
The game features gravity and can be configured through an INI file.
Features youll see in a future version:
add HUD
remove redundancies
title screen
primitive font system
horizonal hurt looses 2 lifes bug
Enhancements:
- implement ini configuartion File
- colors
- unix makefile
- cross compilation (BSD, Linux, Mac Os X, Windows)
Download (0.031MB)
Added: 2006-12-11 License: GPL (GNU General Public License) Price:
1085 downloads
Alien Swarm 1.32
Alien Swarm is a co-op mod for UT2004 where you play a team of marines fighting agains the swarm. more>>
Alien Swarm is an overhead view tactical shooter modification for Unreal Tournament 2004. Alien Swarm is set in a distant future, the players take the role of a Commander in the Interstellar Armed Forces.
They must guide their squad of marines through Swarm infested colonies, overrun bases and outposts, to achieve a variety of objectives. Featuring Assault Rifles, Heat Tracking Guns, Sentry Guns, Flamethrowers and more.
The top down, tactical shooter can be played by a maximum of 6 players in a co-op style. (You can play 8 in total, but then the game gets a bit crowded so we made it 6 by default.) Choose from eight marines, with different specialties - medical, technical, explosive or weapons specialists.
It features a single mission mode and a campaign. Fight off the Swarm to increase your skills and earn medals for extra skill points.
<<lessThey must guide their squad of marines through Swarm infested colonies, overrun bases and outposts, to achieve a variety of objectives. Featuring Assault Rifles, Heat Tracking Guns, Sentry Guns, Flamethrowers and more.
The top down, tactical shooter can be played by a maximum of 6 players in a co-op style. (You can play 8 in total, but then the game gets a bit crowded so we made it 6 by default.) Choose from eight marines, with different specialties - medical, technical, explosive or weapons specialists.
It features a single mission mode and a campaign. Fight off the Swarm to increase your skills and earn medals for extra skill points.
Download (121.2MB)
Added: 2007-03-03 License: GPL (GNU General Public License) Price:
979 downloads
Tactical Operations: Crossfire Server 1.6
Tactical Operations: Crossfire is a tactical shooter based on Unreal Tournament 2004. more>>
Tactical Operations: Crossfire is a tactical shooter based on Unreal Tournament 2004.
Tactical Operations: Crossfire is a fast paced first person online shooter in which two teams, terrorists and special forces, duke it out in a wide variety of environments with various objectives to accomplish. From rescuing hostages kept in a small desert town in Saudi-Arabia to preventing the bombing of an oil refinery on the Caspian sea shore. There are no less than fourteen official maps to choose from!
Each map is played for a certain amount of time and the team having won the most rounds when the time runs out is declared the winner. A round can be won either by completing the objective set for that team, such as rescueing the hostages, or by simply eliminating all players on the opposite team.
A large number of weapons is avaialable for both teams, which can be purchased by each player at the start of the round. Out of the thirty weapons currently available, theres bound to be a weapon to suit your style of playing, be it either up close and personal with the Benelli Nova tactical shotgun or sneaky sniper work with the Dragunov SVD.
Tactical Operations: Crossfire continues where the popular Tactical Ops: Assault on Terror left off, with many classic weapons returning and remakes of some of the original maps. To play TO:C, you will need Unreal Tournament 2004 installed and patched to the latest version (3369). Tactical Ops: Crossfire can be played on Windows, Linux and Mac systems.
<<lessTactical Operations: Crossfire is a fast paced first person online shooter in which two teams, terrorists and special forces, duke it out in a wide variety of environments with various objectives to accomplish. From rescuing hostages kept in a small desert town in Saudi-Arabia to preventing the bombing of an oil refinery on the Caspian sea shore. There are no less than fourteen official maps to choose from!
Each map is played for a certain amount of time and the team having won the most rounds when the time runs out is declared the winner. A round can be won either by completing the objective set for that team, such as rescueing the hostages, or by simply eliminating all players on the opposite team.
A large number of weapons is avaialable for both teams, which can be purchased by each player at the start of the round. Out of the thirty weapons currently available, theres bound to be a weapon to suit your style of playing, be it either up close and personal with the Benelli Nova tactical shotgun or sneaky sniper work with the Dragunov SVD.
Tactical Operations: Crossfire continues where the popular Tactical Ops: Assault on Terror left off, with many classic weapons returning and remakes of some of the original maps. To play TO:C, you will need Unreal Tournament 2004 installed and patched to the latest version (3369). Tactical Ops: Crossfire can be played on Windows, Linux and Mac systems.
Download (311.6MB)
Added: 2007-03-04 License: Freeware Price:
974 downloads
Warsow 0.31
Warsow is a fast paced FPS game. more>>
Warsow is a standalone first person shooter for Windows and Linux.
It offers eSport oriented FPS, fast-paced gameplay focused on trix (trick jumps) and the art of move. It offers a complete Power-up System including Weak and Strong fire mode for each weapon.
The graphics are in a cartoonish style with celshading-like_but_not_Manga style, mixing dark, flashy and dirty textures, matching the action full of fun and speed. The game got some of its inspiration from titles like Quakeworld, Quake3 CPMA, Jet Set Radio or Speedball.
Main features:
- Standalone game for Windows and Linux ;
- 3D Engine based on Qfusion (a modification of Quake 2 GPL engine) ;
- eSport oriented FPS ;
- Fast-paced gameplay focused on trix (trick jumps) and art of move ;
- Complete Power-up System including Weak and Strong fire mode for each weapon ;
- Cartoonish graphics with celshading-like_but_not_Manga style, mixing dark, flashy and dirty textures, matching with action full of fun and speed ;
- References : Quakeworld, Quake3 CPMA, Jet Set Radio, Speedball.
Enhancements:
- While the main focus of this release was to fix several bad bugs, there have also been some adjustments to maps, as well as several new features and engine enhancements.
<<lessIt offers eSport oriented FPS, fast-paced gameplay focused on trix (trick jumps) and the art of move. It offers a complete Power-up System including Weak and Strong fire mode for each weapon.
The graphics are in a cartoonish style with celshading-like_but_not_Manga style, mixing dark, flashy and dirty textures, matching the action full of fun and speed. The game got some of its inspiration from titles like Quakeworld, Quake3 CPMA, Jet Set Radio or Speedball.
Main features:
- Standalone game for Windows and Linux ;
- 3D Engine based on Qfusion (a modification of Quake 2 GPL engine) ;
- eSport oriented FPS ;
- Fast-paced gameplay focused on trix (trick jumps) and art of move ;
- Complete Power-up System including Weak and Strong fire mode for each weapon ;
- Cartoonish graphics with celshading-like_but_not_Manga style, mixing dark, flashy and dirty textures, matching with action full of fun and speed ;
- References : Quakeworld, Quake3 CPMA, Jet Set Radio, Speedball.
Enhancements:
- While the main focus of this release was to fix several bad bugs, there have also been some adjustments to maps, as well as several new features and engine enhancements.
Download (76.5MB)
Added: 2007-06-30 License: GPL (GNU General Public License) Price:
854 downloads
Quake II Open Source 3.21-r0.16.1
Quake II Open Source project consists of the open source extended version of Quake II from Id. more>>
Quake II Open Source project consists of the open source extended version of Quake II from Id.
Quake II Open Source is the open source version of the commercial first person shooter Quake II.
It has been updated from the commercial version for security, performance, and functionality.
For this to be of any use, you _must_ own a copy of Quake 2. The demo would also work, but you might as well buy the full thing now.
These modifications are intended for Linux users, as I do not have have access to other platforms.
Be sure to install SDL 1.2 (http://www.libsdl.org) if you want to use the softsdl or sdlgl drivers, or the sdlquake2 binary.
make will, by default, build both the debug and release files.
To build just the optimized binaries: make build_release
The resulting binaries are then put in releasei386.
System requirements:
- SDL
<<lessQuake II Open Source is the open source version of the commercial first person shooter Quake II.
It has been updated from the commercial version for security, performance, and functionality.
For this to be of any use, you _must_ own a copy of Quake 2. The demo would also work, but you might as well buy the full thing now.
These modifications are intended for Linux users, as I do not have have access to other platforms.
Be sure to install SDL 1.2 (http://www.libsdl.org) if you want to use the softsdl or sdlgl drivers, or the sdlquake2 binary.
make will, by default, build both the debug and release files.
To build just the optimized binaries: make build_release
The resulting binaries are then put in releasei386.
System requirements:
- SDL
Download (82.0MB)
Added: 2006-12-11 License: GPL (GNU General Public License) Price:
1064 downloads
Trip on the Funny Boat 1.4
Trip on the Funny Boat is a side scrolling shooter game starring a steamboat on the sea. more>>
Trip on the Funny Boat is a side scrolling shooter game starring a steamboat on the sea.
Trip on the Funny Boat is side scrolling arcade shooter game on a steamboat equipped with a cannon and the ability to jump. The player will need to take advantage of waves to defeat the enemies and dodge hazards.
This game was made for the second PyWeek competition during the week from 25.3.2006 to 2.4.2006.
<<lessTrip on the Funny Boat is side scrolling arcade shooter game on a steamboat equipped with a cannon and the ability to jump. The player will need to take advantage of waves to defeat the enemies and dodge hazards.
This game was made for the second PyWeek competition during the week from 25.3.2006 to 2.4.2006.
Download (3.8MB)
Added: 2007-03-14 License: MIT/X Consortium License Price:
959 downloads
Tactical Operations: Crossfire 1.6
Tactical Operations: Crossfire is a tactical shooter based on Unreal Tournament 2004. more>>
Tactical Operations: Crossfire is a tactical shooter based on Unreal Tournament 2004.
Tactical Operations: Crossfire is a fast paced first person online shooter in which two teams, terrorists and special forces, duke it out in a wide variety of environments with various objectives to accomplish. From rescuing hostages kept in a small desert town in Saudi-Arabia to preventing the bombing of an oil refinery on the Caspian sea shore. There are no less than fourteen official maps to choose from!
Each map is played for a certain amount of time and the team having won the most rounds when the time runs out is declared the winner. A round can be won either by completing the objective set for that team, such as rescueing the hostages, or by simply eliminating all players on the opposite team.
A large number of weapons is avaialable for both teams, which can be purchased by each player at the start of the round. Out of the thirty weapons currently available, theres bound to be a weapon to suit your style of playing, be it either up close and personal with the Benelli Nova tactical shotgun or sneaky sniper work with the Dragunov SVD.
Tactical Operations: Crossfire continues where the popular Tactical Ops: Assault on Terror left off, with many classic weapons returning and remakes of some of the original maps. To play TO:C, you will need Unreal Tournament 2004 installed and patched to the latest version (3369). Tactical Ops: Crossfire can be played on Windows, Linux and Mac systems.
<<lessTactical Operations: Crossfire is a fast paced first person online shooter in which two teams, terrorists and special forces, duke it out in a wide variety of environments with various objectives to accomplish. From rescuing hostages kept in a small desert town in Saudi-Arabia to preventing the bombing of an oil refinery on the Caspian sea shore. There are no less than fourteen official maps to choose from!
Each map is played for a certain amount of time and the team having won the most rounds when the time runs out is declared the winner. A round can be won either by completing the objective set for that team, such as rescueing the hostages, or by simply eliminating all players on the opposite team.
A large number of weapons is avaialable for both teams, which can be purchased by each player at the start of the round. Out of the thirty weapons currently available, theres bound to be a weapon to suit your style of playing, be it either up close and personal with the Benelli Nova tactical shotgun or sneaky sniper work with the Dragunov SVD.
Tactical Operations: Crossfire continues where the popular Tactical Ops: Assault on Terror left off, with many classic weapons returning and remakes of some of the original maps. To play TO:C, you will need Unreal Tournament 2004 installed and patched to the latest version (3369). Tactical Ops: Crossfire can be played on Windows, Linux and Mac systems.
Download (697.8MB)
Added: 2007-03-04 License: Freeware Price:
997 downloads
Graviton 0.5.0
Graviton is a old-fashioned two player space shooter. more>>
Graviton project is a old-fashioned two player space shooter.
Graviton is a game in the style of the old space shooters of the Amiga, such as Bratwurst or Gravity Force 2.
It has been updated with 3D graphics.
Version restrictions:
- This is a VERY early version of this game. There is no network play, no fancy graphics, only one type of ship, one type of gun, etc. And respawning isnt implemented yet, but I consider that to be one of the least of the problems. Rest assured, it will be implemented very soon. First, however, I need some kind of font support to allow the number of lives to be drawn - and therefore texture loading support.
<<lessGraviton is a game in the style of the old space shooters of the Amiga, such as Bratwurst or Gravity Force 2.
It has been updated with 3D graphics.
Version restrictions:
- This is a VERY early version of this game. There is no network play, no fancy graphics, only one type of ship, one type of gun, etc. And respawning isnt implemented yet, but I consider that to be one of the least of the problems. Rest assured, it will be implemented very soon. First, however, I need some kind of font support to allow the number of lives to be drawn - and therefore texture loading support.
Download (0.19MB)
Added: 2006-12-07 License: GPL (GNU General Public License) Price:
1052 downloads
Rose::HTML::Form 0.53
Rose::HTML::Form is a HTML form base class. more>>
Rose::HTML::Form is a HTML form base class.
SYNOPSIS
package PersonForm;
use Rose::HTML::Form;
our @ISA = qw(Rose::HTML::Form);
use Person;
sub build_form
{
my($self) = shift;
$self->add_fields
(
name => { type => text, size => 25, required => 1 },
email => { type => email, size => 50, required => 1 },
phone => { type => phone },
);
}
sub validate
{
my($self) = shift;
# Base class will validate individual fields in isolation,
# confirming that all required fields are filled in, and that
# the email address and phone number are formatted correctly.
my $ok = $self->SUPER::validate(@_);
return $ok unless($ok);
# Inter-field validation goes here
if($self->field(name)->internal_value ne John Doe &&
$self->field(phone)->internal_value =~ /^555/)
{
$self->error(Only John Doe can have a 555 phone number.);
return 0;
}
return 1;
}
sub init_with_person # give a friendlier name to a base-class method
{
my($self, $person) = @_;
$self->init_with_object($person);
}
sub person_from_form
{
my($self) = shift;
# Base class method does most of the work
my $person = $self->object_from_form(class => Person);
# Now fill in the non-obvious details...
# e.g., set alt phone to be the same as the regular phone
$person->alt_phone($self->field(phone)->internal_value);
return $person;
}
...
#
# Sample usage in a hypothetical web application
#
$form = PersonForm->new;
if(...)
{
# Get query parameters in a hash ref and pass to the form
my $params = MyWebServer->get_query_params();
$form->params($params);
# ...or initialize form params from a CGI object
# $form->params_from_cgi($cgi); # $cgi "isa" CGI
# ...or initialize params from an Apache request object
# (mod_perl 1 and 2 both supported)
# $form->params_from_apache($r);
# Initialize the fields based on params
$form->init_fields();
unless($form->validate)
{
return error_page(error => $form->error);
}
$person = $form->person_from_form; # $person is a Person object
do_something_with($person);
...
}
else
{
$person = ...; # Get or create a Person object somehow
# Initialize the form with the Person object
$form->init_with_person($person);
# Pass the initialized form object to the template
display_page(form => $form);
}
...
Rose::HTML::Form is more than just an object representation of the HTML tag. It is meant to be a base class for custom form classes that can be initialized with and return "rich" values such as objects, or collections of objects.
Building up a reusable library of form classes is extremely helpful when building large web applications with forms that may appear in many different places. Similar forms can inherit from a common subclass, and forms may be nested.
This class inherits from, and follows the conventions of, Rose::HTML::Object. Inherited methods that are not overridden will not be documented a second time here. See the Rose::HTML::Object documentation for more information.
<<lessSYNOPSIS
package PersonForm;
use Rose::HTML::Form;
our @ISA = qw(Rose::HTML::Form);
use Person;
sub build_form
{
my($self) = shift;
$self->add_fields
(
name => { type => text, size => 25, required => 1 },
email => { type => email, size => 50, required => 1 },
phone => { type => phone },
);
}
sub validate
{
my($self) = shift;
# Base class will validate individual fields in isolation,
# confirming that all required fields are filled in, and that
# the email address and phone number are formatted correctly.
my $ok = $self->SUPER::validate(@_);
return $ok unless($ok);
# Inter-field validation goes here
if($self->field(name)->internal_value ne John Doe &&
$self->field(phone)->internal_value =~ /^555/)
{
$self->error(Only John Doe can have a 555 phone number.);
return 0;
}
return 1;
}
sub init_with_person # give a friendlier name to a base-class method
{
my($self, $person) = @_;
$self->init_with_object($person);
}
sub person_from_form
{
my($self) = shift;
# Base class method does most of the work
my $person = $self->object_from_form(class => Person);
# Now fill in the non-obvious details...
# e.g., set alt phone to be the same as the regular phone
$person->alt_phone($self->field(phone)->internal_value);
return $person;
}
...
#
# Sample usage in a hypothetical web application
#
$form = PersonForm->new;
if(...)
{
# Get query parameters in a hash ref and pass to the form
my $params = MyWebServer->get_query_params();
$form->params($params);
# ...or initialize form params from a CGI object
# $form->params_from_cgi($cgi); # $cgi "isa" CGI
# ...or initialize params from an Apache request object
# (mod_perl 1 and 2 both supported)
# $form->params_from_apache($r);
# Initialize the fields based on params
$form->init_fields();
unless($form->validate)
{
return error_page(error => $form->error);
}
$person = $form->person_from_form; # $person is a Person object
do_something_with($person);
...
}
else
{
$person = ...; # Get or create a Person object somehow
# Initialize the form with the Person object
$form->init_with_person($person);
# Pass the initialized form object to the template
display_page(form => $form);
}
...
Rose::HTML::Form is more than just an object representation of the HTML tag. It is meant to be a base class for custom form classes that can be initialized with and return "rich" values such as objects, or collections of objects.
Building up a reusable library of form classes is extremely helpful when building large web applications with forms that may appear in many different places. Similar forms can inherit from a common subclass, and forms may be nested.
This class inherits from, and follows the conventions of, Rose::HTML::Object. Inherited methods that are not overridden will not be documented a second time here. See the Rose::HTML::Object documentation for more information.
Download (0.10MB)
Added: 2006-09-29 License: Perl Artistic License Price:
1120 downloads
Parsec47 0.21c
Parsec47 is an abstract shooter. more>>
Parsec47 is an abstract shooter. I was created by Kenta Cho and ported to Linux by Evil Mr Henry.
Installation:
Parsec47 is entirely contained within this directory. There is no installation. To uninstall, simply delete this directory.
Running:
Type ./p47 to start the game. The command-line line switches listed in readme_e.txt should all work.
Compiling:
Install the OpenGL development libraries. (This is the hard part.)
Install the D compiler, version 0.106. (http://ftp.digitalmars.com/dmd.106.zip) Note that this is non-opensource, so if you cant run the binary, youre out of luck. If you dont like it, talk to digitalmars. I dont like it either. Also, any later versions of the D compiler will NOT work. 0.106 or earlier is needed. As a final note, the resultant binary will not work on other computers, due to problems in the D compiler.
Install SDL_mixer.
Compile with "make". The bulletML libraries will give a few warnings. Ignore them.
Known Issues:
The compiler is non-opensource.
<<lessInstallation:
Parsec47 is entirely contained within this directory. There is no installation. To uninstall, simply delete this directory.
Running:
Type ./p47 to start the game. The command-line line switches listed in readme_e.txt should all work.
Compiling:
Install the OpenGL development libraries. (This is the hard part.)
Install the D compiler, version 0.106. (http://ftp.digitalmars.com/dmd.106.zip) Note that this is non-opensource, so if you cant run the binary, youre out of luck. If you dont like it, talk to digitalmars. I dont like it either. Also, any later versions of the D compiler will NOT work. 0.106 or earlier is needed. As a final note, the resultant binary will not work on other computers, due to problems in the D compiler.
Install SDL_mixer.
Compile with "make". The bulletML libraries will give a few warnings. Ignore them.
Known Issues:
The compiler is non-opensource.
Download (4.4MB)
Added: 2006-05-23 License: GPL (GNU General Public License) Price:
1251 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above person shooter search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed