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.


Messages - K-Bal

Pages: 1 ... 5 6 [7]
91
Audio / alGenSources fails after creating a bunch of sf::Sounds
« on: May 08, 2009, 12:05:33 am »
I would implement a SoundManager class that you can just use like this:

Code: [Select]


std::string filename = "somesound.wav";

SoundManager.playSound(filename);



If the file was already loaded, the manager just stops the current instance and plays it again from the beginning. This is how I use sounds in my projects and it works for my needs ;)

92
General / High memory usage of SFML applications
« on: April 15, 2009, 10:47:52 pm »
Yeah, might be. I just used the ubuntu system check tool.

93
General / High memory usage of SFML applications
« on: April 14, 2009, 01:24:30 am »
I used -s but no -Os, however, those compiler settings don't make a difference.

94
General / High memory usage of SFML applications
« on: April 13, 2009, 11:16:06 am »
Quote from: "Hiura"
K-Bal, do you use option '-s' or '-Os' at compiling time ?
(I do.)


I don't know, I'll take a look this evening ;)

95
Graphics / Weird problem with images
« on: April 13, 2009, 03:05:18 am »
Quote from: "TricksterGuy"

@K-Bal - Yep I am sure actually I can get one of the images to display if you uncomment a line that loads the image again in Game.cpp but its kinda a dumb workaround for it :/


Maybe you assign the sprite a image which is only temporarily available like a local variable in a function? My fortune telling was better some years ago ;)

96
Graphics / Weird problem with images
« on: April 12, 2009, 01:15:08 pm »
Are you sure that you are running the executable in the right folder?

97
SFML projects / SFML Community Contest (German forum)
« on: April 12, 2009, 03:54:39 am »
Quote from: "Mizar"
Well, i always code in german. Maybe i will change this ... maybe not :P


You have to remember that C++ has English key words. So if you are writing German code in C++ you are mixing English and German which looks quite awkward.

98
SFML projects / SFML Community Contest (German forum)
« on: April 11, 2009, 12:46:03 pm »
Hehe, I always code in English, but I didn't participate in the first round.

However, I'm almost done with my game for round 2 -> English code ;)

99
General / High memory usage of SFML applications
« on: April 11, 2009, 11:10:48 am »
The first thing I had time to check for was the difference between debug and release version.

The result: they both use about the same amount of RAM.

100
General / High memory usage of SFML applications
« on: April 10, 2009, 02:40:11 pm »
Quote from: "Laurent"
What about other modules?


I'll might check that out, if I have the time. At the moment I'm using my spare time for the SFML community contest of the german forum ;)

Next week, I'm back home, where I also have a Windows XP machine to test on.

101
General / High memory usage of SFML applications
« on: April 10, 2009, 02:20:54 am »
The amount of memory usage ist relatively constant at about 40 megs with a minimal application:

Creating a RenderWindow and running the game loop.

I didn't test this on Windows, I'm using Ubuntu 8.10.

102
General / High memory usage of SFML applications
« on: April 09, 2009, 02:35:19 pm »
Hey there,

I recognized that my SFML applications under Ubuntu use at least 40 megs of RAM. Even if I just open a RenderWindow and do nothing else but running the game loop.

I don't know if that is normal, but I guess that could be optimized.

I'm using 1.5 from the SVN.

Cheers,
Marius

103
General discussions / Key recognition bug
« on: April 04, 2009, 01:31:32 pm »
I have the same issue, I recognized it when I first wanted to play Tony Hawk on my Laptop ;) Just have to live with it.

104
Graphics / SFML startup image
« on: April 03, 2009, 09:03:33 pm »
Maybe what you search is sf::Renderwindow::Clear() ?

Pages: 1 ... 5 6 [7]