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

Pages: [1] 2 3 ... 13
1
Which IDE are you using?

It appears to be a linking problem. Can you show configuration of your project?

2
Graphics / Re: Failed to load image!
« on: February 25, 2017, 07:38:55 pm »
Which error message do you get? LoafFromFile error message looks like "failed to load image. Reason:
  • ". Which 'reason' does it give to you?

3
General / Re: Hi, I want to write a game.
« on: February 10, 2017, 07:33:03 am »
Of if the main things, that you need to make, in order to have a good game, is story/lord/etc. (Well, until you're planning to make chess  ;))

4
General / Re: Can't get SFML to work in codeblocks
« on: January 22, 2017, 03:23:31 pm »
Which functions are marked as undefined in particular?

5
General / Re: Event loop causes stuttering
« on: January 22, 2017, 03:19:32 pm »
No, SFML doesn't provide anything like that  :P

6
General / Re: Event Loop Causes Stuttering
« on: January 21, 2017, 07:43:20 am »
First: don't remove event polling at any case, you may cause event queue overflow

Secondly: did you try to remove std::cout call? standard output operations may slow down your code a little bit. So, consider testing the code by using VS2015 debugger.

7
Window / Re: Failed to activate the window's context
« on: January 20, 2017, 05:55:51 pm »
I use visual studio 2015 community, so I won't have to compile SFML myself plus I get not bad user interface and it's free.

8
Well, window.create executes lots of commands, in short: window.create() is pretty expensive operation. Just looks at SFML/ source and you'll understand what I am taking about.  ;)

9
Window / Re: Failed to activate the window's context
« on: January 17, 2017, 06:53:55 pm »
Try to build SFML yourself from source

10
Window / Re: Failed to activate the window's context
« on: January 17, 2017, 05:58:54 pm »
Is your the compiler, with which SFML was built the exactly the same compiler as your? Did you install new drivers?

11
General / Re: Single key press outside a sfml window?
« on: December 28, 2016, 07:44:18 am »
What do you mean under "detecting outside the window"?

12
General discussions / Re: Scripting Language Question
« on: December 24, 2016, 12:10:32 pm »
Or! You can try to write a smiple one yourself...

13
Graphics / Re: how to apply antialiasingLevel to RenderTarget?
« on: November 24, 2016, 07:35:24 am »
The simplest solution to do this is writing the antialiasing shader and apply it on sf::Sprite, which uses sf::RenderTexture as its texture. Of course, if your rendering is simple and you render directly to the window, then you can set the antialising in context settings. To summarize, there is no way to apply default OpenGL antialising to any sf::RenderTarget(sf::Window and classes, which derive from or, are exceptions)

14
Graphics / Re: texture NOT updating from window
« on: November 05, 2016, 03:44:53 pm »
I know the reason why this happens:
 SFML window is always double buffered, what does it mean? You draw to the back buffer and then swap it with read buffer(window.display() does the swapping).

What is thiat code doing(rather fragment of code)? Let's imagine, that "a" the first buffer and "b" the second buffer. Then we can describe code's work with following list of actions:
1.) write some stuff to "a"
2.) swap "a" with "b". Now all operations such as "draw" and "read screen" are now operating on "b".
3.) try to read data from "b", which contains previous rendered frame.

15
Graphics / Re: Error while loading image
« on: September 24, 2016, 05:26:43 pm »
You are probably linking debug libs(the ones -d suffix) in release or release libs in debug(without -d suffix).

Pages: [1] 2 3 ... 13
anything