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

Pages: [1]
1
General discussions / Will SFML support windowing for Vulkan?
« on: March 01, 2016, 04:09:10 pm »
Is it in the works, or no plans for it?

2
Graphics / Drawing SFML alongside opengl 3+ ?
« on: January 29, 2016, 10:20:33 am »
It works fine with ogl 2, but it doesnt draw in opengl 3, why is that?

      window.pushGLStates();

      window.draw(sf::RectangleShape(sf::Vector2f(100, 100)));

      window.popGLStates();

3
Graphics / What happened to Image.loadFromPixels?
« on: December 09, 2015, 01:40:57 pm »
Yes I do have sfml 2.3, Making a pixel array is much more efficient than image.setPixel, isn't it?

4
Sorry for the long title. Whenever the rotation of the object exceeds 180(degrees) when the rotation is supposed to be 350 its -10, 340 = -20, 330 = -30, and so on.

       const float PI = 3.14159265;

   int mx = sf::Mouse::getPosition(window).x;
   int my = sf::Mouse::getPosition(window).y;

   int tmp_rot = (atan2(my - y, mx - x)) * 180 / PI;

   rot = tmp_rot;

5
Network / Should i use Tcp or Udp?
« on: September 22, 2015, 05:14:20 pm »
I am making a multiplayer top-down shooter, I am familiar with tcp but considering how fast udp is, is it worth it?

6
Network / Can someone cook up a small example of udp sockets with packets?
« on: September 22, 2015, 10:45:02 am »
The documentation isn't very clear with this, so can someone cook up an example?

7
General discussions / Why do so many game take so much space?
« on: September 14, 2015, 10:42:58 am »
Don't know about you, ive made a decently complex game with plenty of sprites and a lua saving system but its still less than 10 MB, Why do most games take 1-4 gigs then?

8
General / SFML for vs 2015?
« on: September 12, 2015, 09:33:01 pm »
Is a vs 2015 version in the works? If so, when will it come?

9
General / Multiple objects from same class?
« on: May 28, 2015, 10:03:42 am »
I have a basic ai system, how do i do it so that i dont have to re-write the code for every ai i add with the same functionality?

Pages: [1]
anything