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

Pages: [1]
1
General discussions / Re: SFML 2.0 - AntiAliasing
« on: July 28, 2012, 06:08:44 pm »
Thank you! Now my arrow is smoothed perfectly (see screenshot). Tell me, is it possible to determine 'setSmooth(true)' as default value for any new loaded texture (like in 1.6)?  ;D

2
General discussions / SFML 2.0 - AntiAliasing
« on: July 28, 2012, 05:21:51 am »
Hi again! I have next greenhorn question. What's happened to AntiAliasing i SFML 2.0? I remember that in 1.6 version of SFML I didn't have any problems. I tried to add these lines before RenderWindow:
Quote
sf::ContextSettings settings;
settings.antialiasingLevel = 8;
.. Nothin' happened. :D

Attached photos (first not rotated arrow sprite, second rotated one):
http://madras.srvnet.info/not_rotated.png
http://madras.srvnet.info/rotated.png

Thanks. :)

3
Window / Re: [SFML 2.0] Why isKeyPressed isn't working immediately
« on: July 28, 2012, 01:00:10 am »
WOW! Three replies :D

Now my friends I know where was mistake! The isKeyPressed wasn't working immediately bacause I put it in events loop. Now when I moved outside loop it works brilliant, did the trick, hehe.

Thank you so much, again!

4
Window / [SFML 2.0] Why isKeyPressed isn't working immediately
« on: July 27, 2012, 10:11:26 pm »
Hi! I have been still experimenting since few days with SFML. Yesterdey I moved from 1.6 to 2.0 version. In the earlier SFML I used GetInput() and IsKeyDown, everything was OK. In latest one, there's no GetInput, so I used isKeyPressed event. Unfortunately when I'm pressing any key, isKeyPressed makes 'tick', ... waits few ms ... and continues working. I dont know, how did you eliminated this aspect in Pong game for example.

I hope that you understand what I mean.  Thanks for helping. :)

5
General / Re: [SFML 2.0] [VC++ 2008] Console in background
« on: July 24, 2012, 07:02:00 pm »
eXpl0it3r now it's working like a charm. :D Just I didn't include sfml-main.lib before. xD
Thank you very much!!

6
General / Re: [SFML 2.0] [VC++ 2008] Console in background
« on: July 24, 2012, 06:45:39 pm »
Still I haven't got any solution in MSVC++. I tried to change console application.  :-\
Anyway, thanks for your reply. :)

7
General / [SFML 2.0] [VC++ 2008] Console in background
« on: July 24, 2012, 06:15:37 pm »
Hallo! I have been programming SFML since one hour. ;D I have got a problem. Is there any way to tell compiler that console in the background haven't to be run? It's annoying. I know there's a method, because PONG (in SFML-2.0-rc-windows-32-vc2008.zip/examples) haven't got any console in bg while it's running.

I recompiled PONG from source, but black console still appear. I tried to change 'console aplication' to 'empty project' in MSVC++ project settings, but this didn't work out.

Thanks for any sugestions. :)

Pages: [1]