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

Pages: [1]
1
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. :)

2
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. :)

3
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]