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

Pages: [1]
1
Network / extending packet with queue
« on: November 18, 2015, 07:54:20 pm »
Hi brothers and sisters,

Im trying to make a game and for jobs Im using boost's spsc_queue class within sf::Packet class.

Im taking some errors (sometimes) while receiving different sized packets. I think I must tell to the spsc_queue the exact size of th Packet. But how can I do this?

2
General / Mouse::setPosition problem with View
« on: October 04, 2015, 03:07:51 pm »
Hi again brothers and sisters.

I have a problem while using Mouse::setPosition method in View.
My screen's height is 1080 pixel. And 0 to 1080 there is no problem. But -0 and 1080+ it stucks and doesn't change.

Im making a topdown shooter game and using mouse pointer as taking aim facility. So when player moves, then mouse pointer move too. And view following player's position.

Thanks for your help already.

edit: I tried using mapCoordsToPixel fucntion but I couldn't figure out it doesn't work right.

3
General / MouseMoved event doesn't work in release mode
« on: September 05, 2015, 04:14:59 pm »
Hello brothers and sisters.

My problem is basically like in the title. In debug mode there is no problem about this. It works good. But in release mode ...

When I click mouse (right or left or middle) MouseMoved event works.

And there is an error on console screen in release mode:

Quote
Warning: The created OpenGL context does not fully meet the settings that were requested
Requested: version = 2.0 ; depth bits = 0 ; stencil bits = 0 ; AA level =0 ; core = false ; debug = false
Created: version = 3.1 ; depth bits = 0 ; stencil bits = 0 ; AA level =0 ; core = false ; debug = false

I did not change context settings.

4
General / MouseMoved event doesn't work in release mode
« on: September 05, 2015, 04:09:20 pm »
Hello brothers and sisters.

My problem is basically like in the title. In debug mode there is no problem about this. It works good. But in release mode ...

When I click mouse (right or left or middle) MouseMoved event works.

And there is an error on console screen in release mode:

Quote
Warning: The created OpenGL context does not fully meet the settings that were requested
Requested: version = 2.0 ; depth bits = 0 ; stencil bits = 0 ; AA level =0 ; core = false ; debug = false
Created: version = 2.0 ; depth bits = 0 ; stencil bits = 0 ; AA level =0 ; core = false ; debug = false

I did not change context settings.

Pages: [1]