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
1
General / Re: QT + SFML
« on: February 09, 2013, 11:38:40 pm »
Thank you for response and good explanation :)

2
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

3
Graphics / Re: Unhandled exception with using static sf::Texture
« on: December 22, 2012, 09:19:18 pm »
so in other words, this class can not be static ?

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

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

6
Graphics / Re: [SFML 2.0] Wallpaper
« on: December 16, 2012, 04:22:12 pm »
Ok, I have found an answer:


Here is the code that I had to write(works only with bmp files):
Code: [Select]
SystemParametersInfo(SPI_SETDESKWALLPAPER , 0 , "c:\\angel.bmp" ,       SPIF_UPDATEINIFILE) ;

I wrote this solution because maybe someone else would have a problem with that, if I shouldn't just mention :D

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

8
Network / Re: Global network
« on: December 12, 2012, 09:48:12 pm »
cool thank you for answer I am going to read about this now :D


P.S one more question, what about if I want to send massage to the clinet he also needs to configurate a router ? It would have no sence ;p

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

10
Graphics / Re: Drawing bold lines
« on: December 08, 2012, 02:52:46 pm »
@nexus nice to be honest I am the most intrested in particle system :D I am going to download it :)

sry for offtop

11
Graphics / Re: Drawing bold lines
« on: December 07, 2012, 08:29:36 am »
@Nexus thank you for emphasize this so I will just analize how to properly use inheritance for sf::Sprite :D

@masskiller nice explanation, it is not as easy as I thought I will have to recall basis of linera algebra ;d

12
Graphics / Re: Drawing bold lines
« on: December 06, 2012, 08:30:47 pm »
@masskiller can you give a little bit of code concerning your idea :D


@Foaly Nice class :) To be honest I have never inherited from any SFML classes ;p This is something new that I have to learn, ty for code :)

13
Graphics / Re: Drawing bold lines
« on: December 06, 2012, 02:47:10 pm »
yes but I have to use vertex instead of circle or rectangle because while moving mouse cursor, drawing can not catch up the cursor.


P.S sory that I did not post it in Graphics topic

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

15
Network / Re: Question about general princilple of sf::network behavour
« on: December 05, 2012, 11:09:40 pm »
Hmm what blocking and non-blocking mode is ? Is it explained in the tutorial ? Apology for that question

Pages: [1] 2
anything