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
Window / Re: [SFML 2.0]Problem with repeating buttons and events.
« on: August 30, 2014, 01:50:00 am »
@Ixrec, my wording did sound misleading; you're right! "Dealt with" really meant that the events should be processed as they will be no longer available afterwards. Processed, to be more clear, does not mean advance your logic etc. based upon them, more taken note of and prepared for later usage. hehe

2987
Window / Re: [SFML 2.0]Problem with repeating buttons and events.
« on: August 30, 2014, 01:38:22 am »
The while loop processes (and then discards) all of the events that your window has received since the previous cycle. You should process all of the events while (pun not intended) you are in that loop. Basically, every event should be dealt with immediately (as soon as possible :P).
You can test all of the different types within that loop. You can use a series of ifs - probably nested to group the types - but they should probably be else ifs. You can also use switch here but ifs can be safer as breaks are often forgotten from switches  ;D

2988
Graphics / Re: Tile Editor is off center?
« on: August 30, 2014, 01:33:03 am »
This moves a tilemap with the mouse.

Could you supply the images so I can see what it's supposed to look like rather than using some of my own random images  ;D

2989
General discussions / Re: SFML tutorial video
« on: August 30, 2014, 01:19:54 am »
I got as far as noticing that you used:
#include "SFML/Graphics.hpp"
and then my mind exploded.

2990
SFML projects / Re: Thor 2.0
« on: August 29, 2014, 08:49:23 pm »
need to download your header only project
I believe Aurora is supplied with Thor. Just looked; it's in the extlibs folder.

2991
SFML projects / Re: Witch Blast (dungeon crawl shooter)
« on: August 29, 2014, 08:47:45 pm »
Ah, okay then  :)
I didn't realise that you could fire two different ways with one weapon. I did look to see if the other weapon did it too but it doesn't seem to so I thought I'd just check  ;D

2992
Try outputting getActiveLevelPlatformableIndex(i).getSpriteX() to see if the values are as expected.

2993
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?

2994
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.

2995
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?

2996
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?

2997
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?

2998
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

2999
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  :(

3000
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

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