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 ... 4 5 [6] 7 8 ... 16
76
SFML website / Collision
« on: July 13, 2010, 11:23:27 pm »
Well certainly pseudo code, I'm not knowing all SFML stuff. The important thing will be to came back and be able to writ ecode fast enough to have something interesting (and maybe playable)

77
Graphics / Returning sf:String reference from member function
« on: July 13, 2010, 11:22:01 pm »
Quote from: "sludge"
of course I can
Here is the .h file
Code: [Select]
sf::String GetText() const
{ return text; }

This method is not returning a reference, plus it is a const method...
Try to modify this.

78
SFML projects / Gnooze [FINISHED]
« on: July 13, 2010, 01:33:12 pm »
Quote from: "VanEldo"
The problem is: Advanced player may be bothered by the recurring advices.
Make it an option before the game starts and stop it automatically after the second or third level for example ;)

79
Graphics / I need a little help with my Image Manager
« on: July 13, 2010, 07:52:18 am »
Is there any constructor of your class ?
Does it work after 5 seconds or 2 ?

80
Graphics / Returning sf:String reference from member function
« on: July 13, 2010, 07:48:05 am »
Can you give us the declaration of your class please ?

81
General discussions / Simple chat program losing connection.
« on: July 13, 2010, 07:46:27 am »
I'm here to help seriously ;)
Now that your second connection is over, let's take your Accept part in the server out of your loop.

I'm not giving you THE answer, I'm trying to make you thinking about your errors. BTW, a ritique of code is always welcome, we are all doing mistakes, and we are all doing different, maybe what you did is very good and I'm just unable to understand it, so explain it to me  :wink:

But, with this code, the execution is not stopped, or I'm really missing something :
Code: [Select]
//Connect to the server specified by IP address
   if(Client.Connect(Port, ServerAdd) != sf::Socket::Done)
      cout << "Error connecting to server: " << ServerAdd << endl;

   cout << "Connected to server " << ServerAdd << endl;

82
SFML website / Collision
« on: July 13, 2010, 07:42:33 am »
:lol:
As you wish, but I'm going alone on my road for now...
Hollydays are coming, and I will not have any internet access neither computer. I will make code on paper  :wink:

83
Feature requests / wxSmith for code::blocks component
« on: July 13, 2010, 07:28:09 am »
Well, I'm not understanding what you want, but didn't it be better to have a look on wxWidgets forum instead of SFML ?
Because you don't seem to have an SFML problem, no ?

BTW, I don't know wxWidgets...

84
General discussions / Simple chat program losing connection.
« on: July 13, 2010, 07:26:31 am »
Wow, I can list a lot of things, but :
- The client is connecting twice to the server : why ?

- If the client have a connection problem, the code is going on : make it stopping execution !

85
SFML website / Collision
« on: July 12, 2010, 04:48:38 pm »
Quote from: "Laurent"
Quote
And maybe a game using all of the tutorials to show how pretty and fast sfml can be?

This is something that I want to do, but I don't have the time/motivation :(

This is, in fact, a very interesting contest for me :
- Make a game using all the stuff of SFML

And make this a tuto will be a great work too

PS: Thx for this great idea Hugo !

86
Graphics / Unload Image
« on: July 12, 2010, 10:17:04 am »
I used something like
Code: [Select]
image.Load(""); without checking the error (since there is an error). But it was just for a small sample one year ago. The state of the image was not important, all I wanted was to have a white rectangle onto the sprite.

But I don't know how the SFML handle this.

87
Graphics / Sprite's X and Y
« on: July 09, 2010, 12:50:14 pm »
Personaly, I would not recommend this. The upper-left corner can be as interesting as the real center. I think this is just a point of view.
By the way, your remind was a good one (about returning the center of the sprite)

Thx

88
Graphics / Sprite's X and Y
« on: July 09, 2010, 09:07:30 am »
getPosition is returning a Vector object which is simply a two value structure. Thoses values can be used as a vector, a position, etc...

To get the Sprite X and Y, it's very simple :
Code: [Select]
xValue = mySprite.GetPosition().x;
yValue = mySprite.GetPosition().y;



BTW, No need of a reward... Thanks

89
Network / Having Trouble with SocketTCP::Connect
« on: July 06, 2010, 11:44:13 am »
on-line games are client, they, usually, don't need to open a specific port. Like web client, web radios, etc... ;)

You have the server, some people want to connect to your computer, then you will have to open at least one specific port.

90
Quote from: "Nexus"
I know that it's not very funny to program in the console
I'm maybe unique, but I always start my programs (game or app in a console. All the stuff like graphics, windows , or sounds are a second part for me...

Pages: 1 ... 4 5 [6] 7 8 ... 16