-
-Beep ... Boop
-
+
+SDL_Mixer and Effects
-So I am preparing a presentation of the new SDL perl for February's Toronto Perl Mongers meeting. What better way to so off SDL perl then with a game?
+
+This demo shows the new work we have finished for SDL_Mixer support in
SDL_perl . (FROGGS++)
-I started hacking a small point an click game a few days back. I really didn't have a idea in mind, but I did have a goal. I wanted to make a game that shows the basics of a game in SDL. Drawing to screen, game loops, physics and so on. I think I have accomplished it so far.
-Take a look at it
here. Download that and call it
[Shooter.pl]. To win click the balls.
+
- Plays ogg files in local directory
+- Uses threads and SDL_Mixer effects to extract realtime stereo stream data
+- Visulizes stream data as an oscilloscope
+
-To play this game you need the following:
+Get it at:
playlist.pl, you need some
.ogg files to play in the same directory. Use the down key to go through them.
-
- Only for Linux) sudo apt-get install libsdl-dev libsdl_gfx-dev
-- cpan Alien::SDL
-- Click Download Source http://github.com/kthakore/SDL_perl/tree/redesign
-- Extract it
-- perl Build.PL; perl Build; perl Build install
-- perl Shooter.pl
-
-I will put up binaries soon-ish.
+
+SDL_TTF support
+
+
+
+
+This shows the current work on SDL_TTF support. UTF8 and Uncicode are supported.
+
+See the
t/ttf.t test in github SDL_perl.
-It is a playable (albeit hard) game right now. All 7 seven levels of it. The purpose of the game is simple click the balls to win. Sounds easy but it isn't. You also get a time in milliseconds after each level. Share your scores on here! I will leave it up to you guys to be honest.
-I do have to tidy it up and right documentation for it. This way I will be able to present it clearly to my fellow mongers. I am also still looking for ideas to make this a more polished game. FROGGS recommend I make it a classic NES duck hunt game. I thought since I am using gravity I could do a UFO game out of it where you shoot the UFOs. I am open to your ideas.
-
-