Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.156.235 Times

SDL::App::FPS 0.21

  Date Added: March 03, 2010  |  Visits: 660

SDL::App::FPS

Report Broken Link
Printer Friendly Version


Product Homepage
Download (83 downloads)

SDL::App::FPS is a framework for event-driven SDL games/applications. SYNOPSIS Subclass SDL::App::FPS and override some methods: package SDL::App::MyFPS; use strict; use SDL::App::FPS; use SDL; use base qw/SDL::App::FPS/; # override the method draw_frame with something to draw sub draw_frame { my ($self,$current_time,$lastframe_time,$current_fps) = @_; ... } # override post_init_handler and add some event handlers sub post_init_handler { my ($self} = shift; my $self->add_event_handler(SDL_KEYDOWN, SDLK_q, sub { my $self = shift; $self->quit(); } ); # or easier for often-used events (note quoted SDLK_f!) $self->watch_event( fullscreen => SDLK_f, pause => p, quit => SDLK_q, ); # You can also specify the key/mousebutton bindings for these events # in the config file like "bind_event_fullscreen = f" } Then write a small script using SDL::App::MyFPS like this: #!/usr/bin/perl -w use strict; use SDL::App::MyFPS; # fill in here default options if you like my $options = { }; # create a new application including window # automatically uses a config file or the command line: my $app = SDL::App::MyFPS->new( $options ); # run the application, will exit when done $app->main_loop(); Thats all!.

Requirements: No special requirements
Platforms: Linux
Keyword: Event Event-driven Fps Framework Libraries Myfps Programming Sdl Sdlappfps Sdlk
Users rating: 0/10

License: Freeware Size: 97.28 KB
SDL::APP::FPS RELATED
Libraries  -  Test::Chunks 0.39
Test::Chunks is a Data Driven Testing Framework. NOTE - This module has been deprecated and replaced by Test::Base. This is basically just a renaming of the module. Test::Chunks was not the best name for this module. Please discontinue using...
32.77 KB  
Network & Internet  -  JWAX 0.4b
JWAX is an AJAX event-driven component framework modeled after Swing, SWT, and other component-based systems. Features include object-oriented design, pluggable themes, Renderkit code generation, simple and complex (aggregated) components...
184.32 KB  
Programming  -  JDave 0.9.0
JDave project is a behavior-driven development framework that provides an easy way to specify the behavior of your Java classes. Behavior Driven Development (BDD) is a refinement for Test Driven Development (TDD). It is not a radical change from...
 
Utilities  -  Dermi 1.1
Dermi (Decentralized Event Remote Method Invocation) is a peer-to-peer (P2P), decentralized event-based object middleware framework built on top of a structured Distributed Hash Table based overlay network.
1.55 MB  
Puzzles  -  Tourk - Programming game framework 9
Tourk is a framework for developing programming games, where two (or more) people write game playing code (like Deep Blue) and a controller puts the two against each other.
32.78 KB  
Business  -  Event Space Calculator 1.0.0
How many people can you fit into a 5,000 square foot meeting - or a 15,000 square foot banquet hall? How big of a room do you need if you're going to have 150 people attend your event? Event Space Calculator to the rescue! The Event...
307.2 KB  
Audio Tools  -  Grammidity 1.0
Grammidity project is a Java-based framework for evolutionary programming. It can be used to evolve solutions to problems, or to evolve "objects" under user control. It has a limitless range of possible applications. This program has been...
829.44 KB  
Gaming Utilities  -  Dreams Eternal 0.1
Dreams Eternal project is a story-driven FPS game that is set in the dream world. Dreams Eternal is an FPS game that focuses on a strong story line and puzzle solving. It is set in the dream world. The very short summary of the story is that a...
 
Development Editors  -  JCameo 0.12
JCameo is a model-driven Swing framework with support for all aspects of GUI development. Key features are a large number of widgets, MVC architecture, databinding and validation support as well as message-based communication. JCameo requires Java...
15.29 MB  
Business  -  XMLLiterate 1.0.0.7
XMLLiterate is framework for literate programming using XML. XMLLiterate uses the STL and patterns extensively and runs on all platforms supported by Boost. Most of the current programming systems allow you to use an IDE to generate all of the...
143.36 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.2
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB