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 - Mindiell

Pages: 1 ... 13 14 [15] 16
211
Feature requests / Resize events
« on: February 01, 2008, 07:06:18 am »
Quote from: "MrDoomMaster"
Currently I do that. But it's a hack, not a solution. The (light) performance overhead of the 100-200 needless iterations of my event loop still exists. It needs to be fixed properly.

Quote from: "MrDoomMaster"
In my specific application utilizing SFML, my themes are set in such a way that the size of the window updates dynamically as the user drags an edge

I'm sorry, but SFML is doing its job, it's your application which updates dynamically as the user drags an edge. Maybe you have to change this ?

Quote from: "MrDoomMaster"
Due to the way the sizing works, clicking and holding an edge causes the ProcessEvents() function to block until it is released.

If you want to keep this way, the flag is a solution I think, and not just a hack ;)

212
Feature requests / Resize events
« on: January 29, 2008, 11:34:16 pm »
What don't you simply put a flag on when getting a resize event ?
After your event loop, you have just to see if the flag is set and do your resizing.

213
General discussions / Rebuilding Lib under VS 2003
« on: January 21, 2008, 07:17:28 am »
There is a 1.1 Mac version, but there was nobody to convert 1.2 to Mac  :?

214
General / Compiler Help
« on: September 26, 2007, 07:16:16 am »
Ah ! Can we see those errors please ? :)

215
General / Compiler Help
« on: September 24, 2007, 07:17:04 am »
Which directory did you copy, and where ?
You have normally to copy only the include directory in the compiler's include directory, in order to end with something like :
Code: [Select]
- compiler
  |- include
     |- sfml

216
General / Compiler Help
« on: September 23, 2007, 12:20:41 pm »
The includes are in the code. Your project must be able to see files included. You have two possibilities to do that :
- copying the included files in the include directory of your copiler
- copying the included files in some place near your source

For the first case, you use #include <>
For the second, #include ""

Isn't it simple ?

217
Graphics / Better way to draw to the screen
« on: September 22, 2007, 05:25:14 pm »
Hop hop hop ! :)
You can draw only changed things, but it can conduct you into somethnig very complex.

With SFML, I think Double-Buffer is used every time, using it will force you to redraw everything.

218
General / Compiler Help
« on: September 22, 2007, 05:21:43 pm »
What includes are you trying now ?
Have you tried the first Code::Block tutorial ? C::B is the future of Dev-C++ and is based on the same techno.

219
Graphics / Better way to draw to the screen
« on: September 22, 2007, 08:59:02 am »
To use this kind of redrawing, you must keep in mind all modifications happening on the screen. Thus, it is generaly better to redraw all...

Apart this, your code is very strange for me. Why are you using a unsigned int and a int :
Code: [Select]
for( unsigned int i = 0; i < 60; ++i )
{
for( int j = 0; j < 80; j++)
{

220
Window / There is no MouseWheelMoved with my installation of SFML
« on: September 18, 2007, 07:08:05 am »
The new 1.1 release has been launched. So this new event is part of the 1.1 and not the 1.0.

Read the main site please ;)

221
General / Strange characters in Title bar
« on: September 16, 2007, 08:08:15 pm »
If you are compiling in debug mode, you have t ouse the -d libraries.
When you link the libraries you have to do it in the good order :
-lsfml-graphics-d
-lsfml-window-d
-lsfml-system-d

222
General discussions / Next release
« on: September 12, 2007, 12:03:55 pm »
Laurent will do a list of new things and bugs corrected...

223
Graphics / How to use sfRect Intersect()?
« on: September 07, 2007, 07:04:02 am »
Can you show us your 'GetRect' functions, for both paddle and ball please ?

224
Graphics / Font resources are not accessible?
« on: September 05, 2007, 10:45:32 pm »
Why don't you just open a virtual window into the main window ?

225
Graphics / Font resources are not accessible?
« on: September 05, 2007, 06:51:54 am »
Hi lancel00t,

It's not you are displeasing, but without your source, we are not really able to help you...

So, I see strange things in your source. First of all, you are not telling which font you are using in purchase.c :
Code: [Select]
sfString oneStr;
sfString twoStr;
sfString threeStr;
sfString fourStr;
...
oneStr.SetText("1");
oneStr.SetTop(10.f);
oneStr.SetLeft(50.f);
oneStr.SetColor(sfColor(0,0,0));


This seems to be an error I think.

The rest is just algorithming questions, so not very important... :)

Pages: 1 ... 13 14 [15] 16