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

Pages: [1]
1
General / QT + SFML
« on: February 09, 2013, 12:07:08 am »
Hello, is it possible to use QT in SFML ? I mean the Game will be written in SFML and QT will take care of interface :D

2
Graphics / Unhandled exception with using static sf::Texture
« on: December 22, 2012, 07:29:10 pm »
Hello I need to have sf::Texture static code looks almost like that:

class MyClass
{
static sf::Texture Texture;

};
sf::Texture MyClass::Texture; //Here is an error I think, Unhandled exception at 0x77c32262
 

Do you guys know whats going on ?

3
Graphics / Copy sf::Shape to sf::Image
« on: December 16, 2012, 04:32:27 pm »
Is there a possibility in sfml to copy sf::Shape to sf::Image(I know there is sf::Shape::setTexture method, but I want to do it in opposite way).  I need this to save Image into file without creating sf::RenderWindow Object.

Somehow like that
Code: [Select]
sf::RectangleShape Shape;
Shape.setSize(sf::Vector2f(50,50));
Shape.setFillColor(sf::Color::Red);

sf::Image Image;
Image.getShape(Shape); //This is my imaginary method ;p

Image.saveToFile("Image.bmp");


Thank you in advance :)

4
Graphics / [SFML 2.0] Wallpaper
« on: December 16, 2012, 01:57:24 pm »
Hello, Could you tell me if SFML 2.0 has any method which sets image as Wallpaper ? I have serached through the Internet, but I have not found anything, that's why I am writing here.

5
Network / Global network
« on: December 12, 2012, 07:34:43 pm »
Hi, I have already finished my simple comunicator, but it works only when two clients are connected together by using for example Hamachi. Is it possible to comunicate somehow without such programs ? In other words how  to send and receive informations between two clients if they are not connected in LAN ?

Greetings :)

6
Graphics / Drawing bold lines
« on: December 06, 2012, 01:47:30 pm »
Hi, sorry for bothering you again but I was trying to do it by my self and I couldnt figure this out. Can you tell me how to draw bold lines by using vertices ? I need it for simple "paint remake"

7
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" ?

8
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 :)

9
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]
anything