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
Everyone, First of all, thanks to Tobias Leech for so quickly answering my previous question on alpha values. Now, I'm trying to understand movement. I managed to hack together a simple, choppy, movement by teleportation app in which one can use ASDW to move a rectangle around in the screen.
Hi Jack, The problem is that an SDL::Rect stores it's x and y coordinates as integers. When you subtract a small value from the coordinate the new coordinate is truncated, which is why you are able to move in negative directions. When you add a small value the same thing happens, but the
So are we ready to bump our Alien::SDL prereq (at least in the dev 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 wrote: Hi, the
Hi! When do we use blit and when do we use draw_something? Is blit 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; email@example.com Betreff: AW: Transparency? Hi, you have
Ya, would be sweet to make another dev release, requiring a newer Alien::SDL. Check t/mixer.t for audio support, its basically just that you try to init OGG, and skip if it fails. Am 10.06.2012 18:03, schrieb Jeffrey Palmer: So are we ready to bump our Alien::SDL prereq (at least in the dev
These draw_something methods out of the SDLx packages just use blit at the end anyway. A tip: dont care about speed right now, just try to get things working. Optimize at the end. Cheers Am 10.06.2012 18:42, schrieb Alex: Hi! When do we use blit and when do we use draw_something? Is blit
This problems still occurs occasionally with Alien-SDL 1.434 http://www.cpantesters.org/cpan/report/04921c82-b30c-11e1-9066-3d54fb7543f5 I created an issue about this a while ago: https://github.com/PerlGameDev/SDL/issues/233 The build option include ogg, but those same tests fail. Should