ruler501 | 21 Aug 05:26 2014
Picon

SDL App Framework

I wrote a simple framework for developing apps using SDL. Theoretically it could be used for mobile or desktop, but my intent was for mobile devices. My next goal is to write a build script in python to compile it for any target.

Here is the source(If you have a better name for it I'd welcome it). https://github.com/ruler501/AppFramework
_______________________________________________
SDL mailing list
SDL <at> lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
goxl | 21 Aug 04:28 2014
Picon

SDL2.0.3 building,but I have error,help me!!!

run ./configure


configure: error:
*** When building from Mercurial you should configure and build in a
separate directory so you don't clobber SDL_config.h, SDL_revision.h
_______________________________________________
SDL mailing list
SDL <at> lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
JeZ-l-Lee | 20 Aug 23:44 2014
Picon

[Off Topic]-Easy Method To Protect Game's Saved Data?

[Off Topic]-Easy Method To Protect Game's Saved Data?

Hi,

We are currently working on a new shareware version of our word spelling game "LettersFall".
We need to now protect somehow the game's saved data.
Can someone make a recommendation to an easy to implement data protection scheme?

The saved data is options, high scores, and most importantly shareware status.
We don't need 1024Bit encryption (it's just a game and not plans for a nuclear weapon).
Looking for something simple and easy to implement.

I personally tried to implement a checksum, but it has some problems.
The checksum reads the file as int's for numbers and ASCII values for letters.
The problem is that (3+2) = (4+1) and so on.

Thanks in advance for your help!

JeZxLee
16BitSoft Inc.
Video Game Design Studio
www.16BitSoft.com
_______________________________________________
SDL mailing list
SDL <at> lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Naith | 20 Aug 20:37 2014
Picon

Re: Sutractive Blending

Here are the blend modes that SDL2 has / supports: https://wiki.libsdl.org/SDL_BlendMode
_______________________________________________
SDL mailing list
SDL <at> lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Naith | 20 Aug 20:33 2014
Picon

Re: Sutractive Blending

Here are the blend modes that SDL has / supports: https://wiki.libsdl.org/SDL_BlendMode
_______________________________________________
SDL mailing list
SDL <at> lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
slimshader | 19 Aug 22:28 2014
Picon

Wrong window size on Windows 8

Hi,

I have a run-time problem on Windows 8 with SDL 2.0.3: window created is not of the requested size. For example calling SDL_CreateWindow() with width == 100 and height == 100 results in window that reports (via SDL_GetWindowSize()) dimensions 162 x 100 respectively.
_______________________________________________
SDL mailing list
SDL <at> lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Sik the hedgehog | 18 Aug 02:12 2014
Picon

Volume issues

OK, got tired of this so I'm just gonna ask. When I set the music in
my game to 100% volume (i.e. play waveform as-is), the music is at
least double as loud as how it sounds in every other program.
Rechecked my mixer code (not using SDL_mixer, rendering sound
directly) to make sure I didn't make any mistake but nope, it seems to
be correct.

So here's the question: is it normal for SDL audio output to be louder
than other programs? Just wanting to know whether to wait for a fix or
to set the default volume to below 100% (I guess that keeping it as-is
could be more useful since it's a larger range available to the user).

That's all.
Andreas Falkenhahn | 17 Aug 16:11 2014

SDL 2.0.3 going rabid on OS X

Hi,

I am experiencing some serious issues with SDL 2.0.3 on OS X. I can
reproduce the behaviour on two different systems, an iMac running 10.6
and a MacMini running 10.9. On both systems SDL randomly seems to turn
off the monitor and go to energy saver mode for no apparent reason. Has
anybody ever heard of such an issue before? It's really quite scary...

The only rational explanation I can find for this behaviour is that
my build is somewhat messed up. I had to go to quite some pains because
I want to target 10.6 but I only have the 10.8 & 10.9 SDKs. According
to

https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html 

it is still possible, however, to build for 10.6 using a newer SDK.
And the builds do run on 10.6 so it seems possible after all. However,
this sudden monitor and drive switch off is really scaring the heck
out of me.

Here's what I told 'configure':

./configure CFLAGS="-arch i386 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
-mmacosx-version-min=10.6" --enable-shared=NO

In addition, the environment variable MACOSX_DEPLOYMENT_TARGET is set to "10.6"
and when I link against -lSDL2 I'm also passing 

-Wl,-syslibroot,Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk

to gcc. 

Before I investigate deeper here I'd just be interested to know if anybody
has ever heard of this issue before or if there's something else that I need
to keep in mind when building for Mac OS X using plain makefiles.

README-macosx.txt, unfortunately, is not of much help here because it doesn't
talk about all these intricacies that one is confronted with when building for
"The World's Most Advanced OS" (cough, cough) without resorting to Xcode...

--

-- 
Best regards,
 Andreas Falkenhahn                          mailto:andreas <at> falkenhahn.com
tjcbs | 17 Aug 07:04 2014
Picon

Strange performance problem

I'm having a strange performance problem with my SDL applications (Win32). They consume 100% cpu time, even the one which is very gpu bound. Sometimes, cpu usage will drop to a more reasonable level, only to go back to 100% a few minutes later. Sometimes this will have no visible impact at the user level. Other times, fps will drop to
I can't make heads or tails of this. Here is what profiling with Very Sleepy reveals:
https://www.dropbox.com/s/1jxgd0xlwbdfxeg/Screenshot%202014-08-16%2023.24.39.png
Suppsedly, RtlInitializeExceptionChain is dominating cpu usage. Googling this function was unhelpful, and one post suggested it was a profiling artifact.

Supposedly, RtlInitializeExceptionChain is calling SDL_LogCritical. Does SDL install some kind of exception handler that this function would call? However, I'm not seeing any logging being output. Where could this logging be being directed?

This happens on two different systems, so it is not a hardware issue.
_______________________________________________
SDL mailing list
SDL <at> lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
JeZ-l-Lee | 16 Aug 20:19 2014
Picon

Can I Advertise SDL In My Next Shareware Game?

Hi,

I love SDL, and would like to advertise SDL in our upcoming shareware game "LettersFall".
I would make a screen at beginning of game with SDL logo and website URL.

Where can I download a nice high resolution PNG of the current SDL logo?
Thanks!

JeZxLee
16BitSoft Inc.
Video Game Design Studio
www.16BitSoft.com
_______________________________________________
SDL mailing list
SDL <at> lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Alexander Chaliovski | 16 Aug 17:10 2014
Picon

SDL2 + Irrlicht

Have anyone used successfully SDL2 + Irrlicht on mobile ?
I am trying to glue them together, if you have any example code would be great.

Thanks,

Alex
_______________________________________________
SDL mailing list
SDL <at> lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Gmane