SDL doubt


 
Thread Tools Search this Thread
Top Forums Programming SDL doubt
# 1  
Old 11-22-2007
SDL doubt

Hi,

I am working on SDL open-source API's on Debian Linux for my game development project. I am not sure whether posting SDL related queries here is correct. I would like to know what is the difference between:
SDL_SetVideoMode() and SDL_VideoModeOK() functions
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Programming

Playing Video with MinGW and SDL

Hi All, I was wondering if someone could clarify the best way to display mpeg video with SDL in MinGW. After scouring the internet it seems there is not a lot of information regarding this subject (or at least not up to date) and libraries that are available for this purpose. Any help/... (1 Reply)
Discussion started by: robfwauk
1 Replies

2. Programming

SDL Image Filtering

Solved thanks for info!! (8 Replies)
Discussion started by: aLHaNz
8 Replies

3. Programming

PLaying a sound file with SDL - C++

How do I play a sound file with SDL? I've downloaded the library files but SDL/SDL_mixer.h (that most of the tutorials include) doesn't exist. So, how do I install it? As I said mixer.h doesn't exist but, If it is helpful, the default code is this: #include "stdlib.h" #include "SDL/SDL.h"... (2 Replies)
Discussion started by: hakermania
2 Replies

4. UNIX for Dummies Questions & Answers

SDL error with the version

hi, i've just downloaded a test game to try compiling it with the gcc compiler in Solaris, the problem was that ./configure command return this error *** Could not run SDL test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker... (0 Replies)
Discussion started by: freeware
0 Replies

5. UNIX for Dummies Questions & Answers

What is SDL?

I get a: Requirements: SDL when I'm browsing (www.happypenguin.org) for games. According to wikipedia SDL can be: where some are more likely than others. However, which one is it? I got an error because of SDL last time I tried and want to make it right before I try... (0 Replies)
Discussion started by: riwa
0 Replies
Login or Register to Ask a Question
SDLx::FPS(3pm)						User Contributed Perl Documentation					    SDLx::FPS(3pm)

NAME
SDLx::FPS - a more convenient way to set a framerate SYNOPSIS
use SDLx::FPS; my $fps = SDLx::FPS->new(fps => 60); while(1) { # Main game loop # Do game related stuff $fps->delay; } DESCRIPTION
SDLx::FPS simplifies the task of giving your game a framerate. Basically, it combines the methods of "SDL::GFX::Framerate" and "SDL::GFX::FPSManager" into a single module. Use it to delay the main loop to keep it at a specified framerate. METHODS
new my $fps = SDLx::FPS->new( fps => 30 ); No arguments are required, if no "fps" is specified, the default FPS is 30. set $fps->set($new_framerate); Same as "SDL::GFX::Framerate::set". Set the new desired framerate. get Same as "SDL::GFX::Framerate::get". Get the currently set framerate. delay Same as "SDL::GFX::Framerate::delay". Generate a delay to accommodate currently set framerate. Call once in the graphics/rendering loop. If the computer cannot keep up with the rate (i.e. drawing too slow), the delay is 0 and the delay interpolation is reset. framecount Return the "framecount". rateticks Return the "rateticks". lastticks Return the "lastticks". rate Return the "rate". AUTHORS
See "AUTHORS" in SDL. SEE ALSO
SDL::GFX::Framerate, SDL::GFX::FPSManager perl v5.14.2 2012-05-28 SDLx::FPS(3pm)