Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Michard

Pages: [1]
1
General / Compatibility problems on different machines
« on: January 30, 2013, 10:14:57 pm »
Hello everyone,
I'm having a problem in using SFML. I'm working on a quite big project of mine using SFML 1.6 (Yes, I know I should go with 2.0, but I already started with this and I'd prefer to upgrade my engine to 2.0 after the release of this project, as changing it now would take way too much time) I've compiled 1.6 myself (dynamic linking) and, while it runs perfectly on my machine (Windows XP x86) while on an other pc (Windows 7 x64), it runs REALLY slowly (usually not more than 1 fps); not only that, the texts rendered with sf::String's appear as series of black squares of the size of the wanted letters. I noted, however, that this only happens with one of the two fonts I'm using (this looks strange, they're both TrueType Fonts, and are read well everywhere). Music, at least, seems to play just fine, it goes slow too, but not too much compared to everything else.
What could be the causes for all of this?
Thank you in advance!

2
Audio / Streaming from DAT file
« on: November 29, 2012, 06:22:14 pm »
Hi everyone,
I'm currently working on a SFML project. In this project, I'm using a DAT file to store all my files (at the moment only images) to prevent users from modifying them. Now I'd like to store audio data (BGMs and sound effects) in the same file. With Sound effects there shouldn't be any problem, I can just load the data in a char* ecc.. Now I'm facing the problem of BGM streaming. How could I solve my problem? I could just load one whole track at a time, but then I would have a really big size allocated and I wanted to avoid doing so. Any suggestions?

Pages: [1]
anything