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

Pages: 1 ... 198 199 [200] 201 202 ... 224
2986
Try outputting getActiveLevelPlatformableIndex(i).getSpriteX() to see if the values are as expected.

2987
Window / Re: [SFML 2.0]Problem with repeating buttons and events.
« on: August 29, 2014, 08:17:23 pm »
I'm using bool paused like that:
if (!paused)
{
  okno.display();
}
Is paused a boolean or not? If so, why are you assigning it 1 and 0 instead of true and false, and why are you testing for comparison to 1 and 0 instead of paused and !paused? Mixing is confusing :p

I've checked it by using:
if (event.type == sf::Event::KeyPressed)
{
  cout << event.key.code << endl;
}
It returns key codes, but for letters/digits it does not return anything.
Can you create a complete and minimal example which uses this code and still has the problem you're describing so that we can compile and test it for ourselves? Does this bit of code work in other projects?

What is your B2?

2988
General / Re: FPS Peaks with VSync-enabled (59Hz refresh rate)
« on: August 29, 2014, 08:00:56 pm »
http://gafferongames.com/game-physics/fix-your-timestep/
This is almost always the link that I would recommend for timestep information.

2989
SFML projects / Re: Witch Blast (dungeon crawl shooter)
« on: August 29, 2014, 07:58:09 pm »
Did you notice that the blue particles sometimes have a darker outline?

2990
General / Re: Collision... yer driving me crazy
« on: August 29, 2014, 07:54:35 pm »
Hi, I'm trying to create a solid bounding box style collision system for my game. So far, I can tell whether or not the horizontal planes intersect, but whenever I attempt at detecting whether or not they intersect vertically, the horizontal detection overrides it no matter what order I program it in.
Could we see the vertical detection code and where you put it?

2991
SFML projects / Re: Vagante is now on Kickstarter!
« on: August 29, 2014, 01:53:00 am »
Vah - gahn - tey :)
That was my first guess. I feel special now  ;)

Just to confirm, you mean that "tey" rhymes with "day", right?

2992
SFML projects / Re: Vagante is now on Kickstarter!
« on: August 29, 2014, 01:46:07 am »
My first question: how do you pronounce its name?  ;D

2993
If nobody cares, there's probably no point making the code more complicated.
I didn't realise that it would, I'm sorry.

I just said...
I wasn't trying to trick you or question whether you stated anything correctly or anything. I genuinely just wanted to know. Sorry if you understood it that way  :(

2994
It has slightly evolved since then :P
Good to know  :)

I'd like answers without the words "possible", "may", "possibly", etc. Real use cases please.
This means that you are waiting for someone to require it for a project before considering implementing it. In which case, SFML will not be able to provide for the requirement of their project. The "possibly" stuff is a way of saying that these things could happen and is one example of something people may require. If someone said that they were going to do the thing that I just suggested as a possibility, does that make it a real use case?

the RenderTexture would be tied to a unique Texture instance.
Tied? Does this mean that the texture cannot be used as a texture for anything else?  :o

2995
I thought the philosophy was "don't do it if only one person needs it".  :P

A possible scenario that someone may possibly want to do is a group of television screens  ;D

EDIT: If this rendertexture(texture) thing works, I guess that would do that.

2996
Isn't it clear?
It is not clear. It looks obvious, sure, but I wouldn't want to use it on an assumption.
I did try to find information on this in the documentation but, alas, I could not find any.
Does the render texture make a copy of the texture or point to the actual one?

2997
General / Re: Drag and Drop or Windows Messages?
« on: August 28, 2014, 02:21:35 pm »
Access to the window's raw events is not currently possible through SFML's window management but is considered for a future version.

You could create the window directly yourself and then use SFML within it. I'm almost certain that that's possible.

2998
sf::RenderTexture renderTexture(texture);
What does this do?  :o

2999
Graphics / Re: New renderWindow makes main renderWindow white
« on: August 28, 2014, 02:08:08 pm »
Ah, fair enough. I thought you needed the render part and that's why you were using a render window  :D

3000
Graphics / Re: VertexArray change Vertices
« on: August 28, 2014, 02:05:03 pm »
Going to have to see more, preferably a minimal and complete example.

Pages: 1 ... 198 199 [200] 201 202 ... 224
anything