Re: Problems Installing SDL

2017-06-05 Thread Tobias Leich
Hi, I pushed a fix: https://github.com/PerlGameDev/SDL/commit/8bbe63d0b9b0e565bdfce3d8f4ed945c5d950ee5 I also replied to this mailing list thread already, but perhaps it did not get through... Am 05.06.2017 um 16:15 schrieb breno: Hello! After downloading/unpacking the SDL dist, try

Re: [Alien-SDL2] Don't use $ENV{HOME} (#6)

2014-08-02 Thread Tobias Leich
HOME is gone since Win7+, one should really use: File::HomeDir-my_home Cheers Am 02.08.2014 17:25, schrieb Kartik Thakore: Hi! Hmm weird. Can you set your %home% variable? On Sat, Aug 2, 2014 at 7:53 AM, Alex notificati...@github.com mailto:notificati...@github.com wrote: Hi!

Re: Legend for the colored bubbles

2014-06-10 Thread Tobias Leich
The is no meaning, just bare beauty :/ Cheers, Tobias Am 10.06.2014 21:54, schrieb Alex: Hi! On sdl.perl.org, in the documentation section, there are bubbles or marbles of different colors right before the links. Do they mean something or is it just arbitrary beauty? Best regards, Alex

Re: perltidy style?

2013-08-16 Thread Tobias Leich
, Tobias Leich em...@froggs.de wrote: There is more than *one* style? :P Cheers, Tobias PS: I'd say the set style is the one used mainly in the code. Am 13.08.2013 15:08, schrieb Mason James: hi all has anyone discussed a preferred perltidy style for the project, yet?

Re: automated building/testing for SDL_Perl?

2013-08-11 Thread Tobias Leich
Hi Mason, that is pretty cool. If it does a rebuild and test after every commit, can I see a matrix of commits? Cheers, Tobias Am 11.08.2013 21:20, schrieb Mason James: hi All I've recently learnt how to use the Travis [1] automated build system with github repos its a pretty handy tool

Re: YUV Overlay

2013-08-05 Thread Tobias Leich
before each frame. Those headers can be stripped out by bin/uav_video_dump. I'll try to come up with a more concise example later this evening. Thanks, Timm On 24.07.2013 01 [3]:00, Tobias Leich wrote: Hi, can you paste a complete example please? Maybe with a link to a test video file

Re: YUV Overlay

2013-08-05 Thread Tobias Leich
need to convert RGB to YUV? Or perhaps draw on a separate surface and blit that on top? Thanks, Timm On 05.08.2013 08:41, Tobias Leich wrote: Hi, I installed UAV-Pilot right now, but it explodes like: $ bin/uav_video_dump Can't locate UAV/Pilot/Control/ARDrone/Video/FileDump.pm in @INC

Re: YUV Overlay

2013-07-24 Thread Tobias Leich
Hi, can you paste a complete example please? Maybe with a link to a test video file. What I would try first is SDL's latest release, which is 2.540 or so. Cheers, FROGGS Am 23.07.2013 23:44, schrieb tmur...@wumpus-cave.net: I'm working on a project involving decoding h.264 video frames with

IRC-Chat is logged again

2013-05-23 Thread Tobias Leich
Hi, our irc-chat finally gets logged again, see: http://irclog.perlgeek.de/sdl/today If you have concerns about that please contact me directly, and I'll see what I can do. Cheers -- Tobias

Re: SDL-Perl: Developing cross platform games

2013-03-06 Thread Tobias Leich
Hi Harman, Am 03.03.2013 22:51, schrieb Harman: Hello, A little long email, so in the interest of time you could skip directly to the section marked Question in bold below :) *Context:* Currently using: SDL Version 1.2 Platform (Windows for development) Visual Studio 2010 * * I

Fwd: Re: [SDL] [PATCH] DirectX - Failed loading D3DX9_*.dll

2013-03-05 Thread Tobias Leich
List s...@lists.libsdl.org Patch applied, thanks! FYI, the best place to submit patches is buzilla so they don't get lost in the mailing list traffic: http://bugzilla.libsdl.org Cheers! On Tue, Mar 5, 2013 at 2:18 AM, Tobias Leich em...@froggs.de mailto:em...@froggs.de wrote: Hi, we have

Re: SDL2.0 Dev

2013-02-28 Thread Tobias Leich
Hi kmx! The decision to make Alien::SDL2 was already made :o) So, feel free to create a new repository. I can do the linux/BSD-magic then... Cheers, Tobias Am 28.02.2013 22:04, schrieb kmx: On 28.2.2013 2:09, Kartik Thakore wrote: Hey Froggs, I am in windows lappy lately :(. How do you

Re: SDL2.0 Dev

2013-02-28 Thread Tobias Leich
fucking weird. Kartik Thakore On 2013-02-28, at 1:20 AM, Tobias Leich em...@froggs.de wrote: I'm using VC2010 Express or so... But I can give it a try to compile libSDL2. Am 28.02.2013 02:09, schrieb Kartik Thakore: Hey Froggs, I am in windows lappy lately :(. How do you compile SDL1.2

Re: SDL2.0 Dev

2013-02-27 Thread Tobias Leich
I'm using VC2010 Express or so... But I can give it a try to compile libSDL2. Am 28.02.2013 02:09, schrieb Kartik Thakore: Hey Froggs, I am in windows lappy lately :(. How do you compile SDL1.2 and can you compile SDL2.0 for strawberry perl?

AW: Fwd: [SDL] SDL 2.0 API stabilization

2013-02-22 Thread Tobias Leich
SDL2 is fine! I'll make the perl 6 pendant at some point... Kartik Thakore thakore.kar...@gmail.com hat geschrieben: SDL 2.0 API is STABLE! I will be working on getting libperl-sdl2 started. Any thoughts on name space? SDL2 seems more logical. Would there be any issues with perl for having a

Re: install SDL fails for Strawberry Perl 5.16.2 x64

2013-01-09 Thread Tobias Leich
Already solved via irc. Win7 with strawberry x64 is buggy, the x86 is fine. Cheers, Tobias Am 09.01.2013 16:41, schrieb Kartik Thakore: Can you paste the output? Thanks On Tue, Jan 8, 2013 at 5:32 AM, Dov Levenglick dov.levengl...@gmail.comwrote: Hi, When performing cpan install SDL

Re: PDL image to SDL::Surface

2012-09-24 Thread Tobias Leich
at 3:07 PM, Tobias Leich em...@froggs.de wrote: Hi, Andrei asked some days ago how to load an image via PDL and but it in a Surface to use it in SDL. The example is here: https://gist.github.com/3772701 I'll put that in the examples folder too. Cheers, Tobias

Re: PDL image to SDL::Surface

2012-09-24 Thread Tobias Leich
Am 24.09.2012 18:07, schrieb Chris Marshall: On Mon, Sep 24, 2012 at 10:41 AM, Tobias Leich em...@froggs.de wrote: Hi Chris, The performance is poor of course. I tried to use the piddle's pointer (-dataref or so) but it looks like it is not pointing to a usable memory area. $piddle

PDL image to SDL::Surface

2012-09-23 Thread Tobias Leich
Hi, Andrei asked some days ago how to load an image via PDL and but it in a Surface to use it in SDL. The example is here: https://gist.github.com/3772701 I'll put that in the examples folder too. Cheers, Tobias

Re: Next release

2012-08-24 Thread Tobias Leich
Hi, I tried exporting that machine from virtualbox, but it fails with a stupid errormessage that I dont understand. You cant access that box from internet, I'm sorry. I'll let you know when I got an export of that machine. Cheers. Am 24.08.2012 18:21, schrieb Kartik Thakore: Ok i will twiddle

Re: sdl-config file for Alien::SDL

2012-07-09 Thread Tobias Leich
Good idea. Ticket? Am 09.07.2012 01:41, schrieb Kartik Thakore: Hey guys, I am proposing Alien::SDL makes sdl-config available as a script file. It would just print out config('libs') and etc. This way it makes it the same as using `sdl-config ...` in other XS projects. It is a pain to

AW: Re: Current dev releases

2012-06-13 Thread Tobias Leich
My mistake... Jeffrey Palmer jeffrey.t.pal...@gmail.com hat geschrieben: Is the problem sdlx_controller_interface.t or sdlx_controller.t? I'm not seeing the failures for sdlx_controller_interface.t. Jeff On Wed, Jun 13, 2012 at 4:30 AM, em...@froggs.de wrote: Hi all, the current releases

Re: SDL 2.541_02 Released

2012-06-11 Thread Tobias Leich
same tests fail. Should those tests pass with those build options? Jeff On Sun, Jun 10, 2012 at 1:21 PM, Tobias Leich em...@froggs.de mailto:em...@froggs.de wrote: Ya, would be sweet to make another dev release, requiring a newer Alien::SDL. Check t/mixer.t for audio support

AW: Transparency?

2012-06-10 Thread Tobias Leich
Hi, you have to know that draw_rect works differently for your app surface and regular surfaces. If you draw to your app, the pixels just get the value of the color. But if you do this to a regular surface, and blit that to your app surface, the pixels will be blendet... So create a new

Re: SDL 2.541_02 Released

2012-06-10 Thread Tobias Leich
release)? Also, I'm assuming we should skip these tests if libogg support isn't available. What's the proper way to detect audio format support? Jeff On Sat, Jun 9, 2012 at 9:51 PM, Tobias Leich em...@froggs.de mailto:em...@froggs.de wrote: Hi, the tester is still using the old Alien

Re: Transparency?

2012-06-10 Thread Tobias Leich
faster / better? Best regards, Alex -Ursprüngliche Nachricht- Von: Tobias Leich [mailto:em...@froggs.de] Gesendet: Sonntag, 10. Juni 2012 10:47 An: Jack Maney; sdl-devel@perl.org Betreff: AW: Transparency? Hi, you have to know that draw_rect works differently for your app surface

AW: SDL 2.541_02 Released

2012-06-09 Thread Tobias Leich
Hi, the tester is still using the old Alien::SDL, this one doesnt build libogg and libvorbis. Jeffrey Palmer jeffrey.t.pal...@gmail.com hat geschrieben: Hi All, I released SDL 2.541_02 today after Blaizer++ merged in his changes that were accidentally included in 2.538. The early test reports

Re: play videos

2012-05-05 Thread Tobias Leich
Hi, basically smpeg support is there on windows (talking about the library aka dll). But the bindings to it (SDL::SMPEG) has never felt much love so its still pre-alpha state. We made tests at least a year ago and playing videos was like one frame per second. So if you are interested in that you

Re: Problem viewing bug list via CPAN RT

2012-04-30 Thread Tobias Leich
Hi, this is a known issue and will be fixed on next release. Thanks for your message. Cheers, Tobias. Am 28.04.2012 17:03, schrieb Alexander Becker: Hi there! If you go to this page on CPAN: http://search.cpan.org/~froggs/Alien-SDL-1.430/, you cannot access the View/Report Bugs link. The

Re: SDLx::Sprite rotation artifacts and size limitation

2012-04-23 Thread Tobias Leich
Hi Andreas, Am 23.04.2012 09:53, schrieb Andreas Lund: Hi, Running Strawberry Perl on Win 7 x64 I have installed SDL and Alien::SDL from CPAN (selecting option 1) and I'm writing a twin stick shooter game for fun. I have three questions: 1) When rotating sprites using the -rotation()

Re: SDLx::Sprite rotation artifacts and size limitation

2012-04-23 Thread Tobias Leich
Hi again, Its quit cool, but I'm not that good when it comes to do two things at the same time ;o) I can't see anything strange when rotating the player-sprite. Cheers, FROGGS. Am 23.04.2012 20:46, schrieb Tobias Leich: Hi Andreas, Am 23.04.2012 09:53, schrieb Andreas Lund: Hi, Running

Re: install fails on win2003 32bit

2012-04-22 Thread Tobias Leich
Hi, looks like the test for SDL::Video::display_YUV_overlay(...) is failing. You may force the install, because you wont ever need that. Can you give me some more information so that I may reprodurce that problem? Output of perl -V would be nice. Do you have any other compilers installed (like

Re: install fails on win2003 32bit

2012-04-22 Thread Tobias Leich
Is your VS2005 in PATH before perl? Am 22.04.2012 13:40, schrieb Xiao Yafeng: Thanks for your reply! On Sun, Apr 22, 2012 at 6:55 PM, Tobias Leich em...@froggs.de mailto:em...@froggs.de wrote: Hi, looks like the test for SDL::Video::display_YUV_overlay(...) is failing. You

Re: install fails on win2003 32bit

2012-04-22 Thread Tobias Leich
I dont know if that is the problem, but I read: DDraw Status: Disabled On my WinXP box DDraw is enabled, and I can disable it manually. dxdiag, on the third tab. Cheers. Am 22.04.2012 14:03, schrieb Xiao Yafeng: On Sun, Apr 22, 2012 at 7:54 PM, Tobias Leich em...@froggs.de mailto:em

Re: How to play an mp3 file from a database

2012-04-22 Thread Tobias Leich
Hi Alex, At first, you are on windows and used the prebuklt libSDL binaries shipped with Alien::SDL? If yes, mp3 should be supported, but only files without VBR. So please try a few mp3 files and maybe check how it is encoded. Then, to play an mp3 file from a database, do somethind like: use

Re: Unexpected Blue Pixels

2012-02-24 Thread Tobias Leich
Hi, set_pixel() doesnt expect an SDL::Color object. It expects to get a color value. So if you have 24bit surface like you have for $app, then you have to pass 0xRRGGBB values. If you change the red/green/blumasks to something else, you have to pass appropriate color values. Please note that

[rt.cpan.org #75017] runtime failure on mac osx lion

2012-02-16 Thread Tobias Leich via RT
URL: https://rt.cpan.org/Ticket/Display.html?id=75017 [...] Note: the bugtracker link specified in the SDL dist is down. You are right! I'll fix this in the next release. The bugtracker is here soince a while: http://github.com/PerlGameDev/SDL/issues I have no problems building SDL (whether

Re: runtime failure on mac osx lion

2012-02-16 Thread Tobias Leich
I know perlbrew but just didnt seen it your message when I replied. Using perlbrew is perfectly fine, this way we dont have problems with console user rights. The patches you mentioned are 4 years old, but maybe we can use some stuff from it. It isnt much though. I'll try to get my OSX 10.6

Re: perl SDL installation error

2012-02-14 Thread Tobias Leich
Hi Erick, What version of SDL are you using? run: perl -MSDL -e 'print $SDL::VERSION' And what option did you choosed when instaling Alien::SDL? run: config_data --module Alien::SDL --config You may just paste the output of the two commands, then we should have enough information to help you.

Re: Test problem on Debian/unstable armhf

2012-02-01 Thread Tobias Leich
Hi, you hit one of two problems I couldnt figure out yet right. 1) The problem you posted is IMO more a performance issue and will happen on slow or busy machines. 2) t/mixer_channels.t: a problem with multithreading an C-callbacks. This happens just on BSDs as far as I know. It would help if I

Re: SDL::Event - invalid button_state on SDL_MOUSEMOTION ?

2012-01-31 Thread Tobias Leich
Documentation tells that you have to use -motion_state instead of -button_state. See: http://sdl.perl.org/SDL-Event.html#Mouse_motion_events -- Cheers, Tobias Am 30.01.2012 23:23, schrieb Alex: Dear all! I'm still working on this kind of button-like widget and I want to implement the

Re: [SDL] SDL 1.2 and satellite libs PRE-RELEASE

2012-01-09 Thread Tobias Leich
it does for macosx when _POSIX_C_SOURCE = 200112L || _XOPEN_SOURCE = 600 isnt true? Because You cant just replace SDL_SemWaitTimeout(), the structure of SDL_semaphore differ. On Monday, January 09, 2012 at 12:17 PM, Tobias Leich wrote: I get the same issue on my NetBSD 5.1.3 i386. Are all BSD's

Re: Button-Binding

2011-12-18 Thread Tobias Leich
) Cheers, FROGGS mit freundlichen Grüßen Tobias Leich Entwicklung ICT telent GmbH - ein Unternehmen der euromicron Gruppe Rheinstraße 10B, D-14513 Teltow Tel.: +49-(0)3328 4590-512 Fax.: +49-(0)3328 4590-55 512 Mobil: +49-(0)152 579 39 064 E-Mail: tobias.le

Re: How to play an mp3 file from a database

2011-12-01 Thread Tobias Leich
[code] use SDL::Mixer; use SDL::Version; my $version = SDL::Mixer::linked_version(); printf(%d.%d.%d\n, $version-major, $version-minor, $version-patch); # prints 1.2.11 for me [/code] -Ursprüngliche Nachricht- Von: Tobias Leich [mailto:em...@froggs.de] Gesendet: Mittwoch, 30

Re: How to play an mp3 file from a database

2011-12-01 Thread Tobias Leich
:\zwischen\cpan\PerlGameDev-SDL-44c341f [/snip] Will this be in an official release of SDL? Because this would be a really nice feature, that could be advertised, e.g. via blogs entries etc.. I could write a german one. Best regards thanks a lot, Alex *Von:*Tobias Leich

Re: How to play an mp3 file from a database

2011-11-30 Thread Tobias Leich
Hi, can you please check what version of libSDL_mixer do you have installed? http://sdl.perl.org/SDL-Mixer.html#linked_version In case you have 1.2.7 or better we can add support for RWOps objects. So you dont need temp files. Cheers, FROGGS Am 29.11.2011 20:37, schrieb Alexander Becker: Hi

AW: PerlGameDev Site MockUp with 2 games

2011-08-07 Thread Tobias Leich
Hi Justin, What resolution do you use? What monitor size? The arrows are quite huge imo... Resizing the content div on browser resize shouldn’t be a problem. I want to do it this way because everything outside the content div stays on its place. And, the standard os scrollbars don’t look that

AW: SDL::Mixer::Channels

2011-07-21 Thread Tobias Leich
Take a look at this: http://sdl.perl.org/SDL-Mixer-Effects.html#set_panning http://sdl.perl.org/SDL-Mixer-Effects.html#set_panning You have to register a penning effect, on both channels. This should work. Cheers, FROGGS Von: Anjali Menon [mailto:anjalimeno...@gmail.com]

AW: AW: AW: Perl OpenGL Project

2011-07-10 Thread Tobias Leich
) [...] -Ursprüngliche Nachricht- Von: Kartik Thakore [mailto:thakore.kar...@gmail.com] Gesendet: Sonntag, 10. Juli 2011 20:19 An: Tobias Leich Cc: 'Chris Marshall'; 'sdl-devel'; 'chromatic'; 'Dmitry Karasik'; per...@jach.hawaii.edu Betreff: Re: AW: AW: Perl OpenGL Project Can you paste

AW: Problem with SDL::Perl

2011-06-14 Thread Tobias Leich
Its not looking good imo. See, its just installing libjpeg.la, not libjpeg.so.8 ... -Ursprüngliche Nachricht- Von: Kartik Thakore [mailto:thakore.kar...@gmail.com] Gesendet: Dienstag, 14. Juni 2011 22:19 An: Adam Fairbrother Cc: beginn...@perl.org; sdl-devel Betreff: Re: Problem with

WG: FAIL SDL-2.529_1 v5.10.1 GNU/Linux

2011-02-03 Thread Tobias Leich
. Februar 2011 15:11 An: Tobias Leich Betreff: Re: FAIL SDL-2.529_1 v5.10.1 GNU/Linux Hi Tobias, Thank you for following up. I've been trying to track this down, but am having a really difficult time isolating this. First, Alien::SDL is a dependency, and that was already causing some difficulty. I

AW: patch for the configure-script for BSD-systems

2010-10-19 Thread Tobias Leich
Just to give ppl a simple way to use sdl. Btw, it is only build on systems where it is missing. -Ursprüngliche Nachricht- Von: James Wright [mailto:monkey_ve...@cox.net] Gesendet: Dienstag, 19. Oktober 2010 21:22 An: sdl-devel@perl.org Betreff: Re: patch for the configure-script for

Today release of Alien::SDL, SDL and Games::FrozenBubble

2010-08-06 Thread Tobias Leich
Hi everyone, Kartik has released the version below to CPAN. They will be available in a few hours. Latest changes to Alien::SDL: * 1.413 - Searching for libxxx.dll.a libs (cygwin needs this) [kmx] - New src build set: SDL-1.2.14 co. (builds only SDL+SDL_*) [kmx] - Using

AW: Games::Frozenbubble is on CPAN

2010-05-06 Thread Tobias Leich
Hi guys, @Guillaume: The effects copied the pixelvalue from one surface to another, but you didn't take care of the pixelformat. For example: If you load an png-image with SDL::Image::load() you can expcect to get a 32bit rgba surface. Pixelformat will be 0xRRGGBBAA. But if you create a surface