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

Pages: 1 [2]
16
Network / Question about general princilple of sf::network behavour
« on: December 05, 2012, 10:39:26 pm »
I have started reading about sf::Network and I have a question about general principle of send and receive.

While reach receive it waits for an answer, for instance I would like to create simple "chat", if so when I do not
writing anything on the keyboard, program should send for example "0" and all the time getting that "0" which means that I do not sending any text? I dont know if I well clarified the question, I want to know generaly how should it works, should it work dinamicly even if we do not touch the keyboard, send and receive should allways be "on the move" ?

17
Graphics / Re: [Visual 2012] sf::Text - doesnt display
« on: December 04, 2012, 01:14:40 am »
Its a bit strange for me in visual 2010 I did not have to set font manually. In visual 2012 I had to set font and also change sf::Text color because it is was not set by default. I know it is not problematic to do, but I am just wondering why there was not  such an errors in visial 2010 :D

18
Graphics / [Visual 2012] sf::Text - doesnt display
« on: December 02, 2012, 09:09:09 pm »
Hello, actually I have two problems but first is not such problematic as second one.

First problem:
On visual 2010 there was possibility to assign string to sf::Text object while defining it:
Code: [Select]
sf::Text Text("Hello");

Second Problem:
The worst thing is that I can not display text by using
Code: [Select]
Window.draw(Text);
There are no errors, but text does not appear

Can you help me somehow, thank you :)

19
Graphics / Re: Load image from file
« on: May 17, 2012, 08:18:35 am »
I know what was wrong I was sending an object of this class to some function instead of sending reference.

20
Graphics / Re: Load image from file
« on: May 16, 2012, 09:19:15 pm »
I'have found where a propably can be something wrong but dont know why.
When I load this images in some class for example:

class _Player
{
sf::Texture Texture[8];
public:
void load() //Loading texture from file
};

Program goes slow but when I load it outside of class, before main loop everything works fine

21
Graphics / Load image from file
« on: May 16, 2012, 08:42:24 pm »
Hello, I wanned to load 8 images from file and keep them like that sf::Image Image[8]. And when I have done it program has slowed as hell. What is the reason ?



Sory for english

Pages: 1 [2]
anything