Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Simple and Fast Multimedia Library - a free, portable API that provides access to graphics, input, audio, etc.
1
vote
Implementing a 2D Collision method that can tell direction of collision (boxes)
The Separating Axis Theorem might be what you're looking for.
Writing collision detection using SAT is easier than it seems and allows you to calculate handy things like where exactly they collided as …
0
votes
Accepted
Where to put SFML Window in GameStateManager
The instance of your sf::RenderWindow should go in your DirectRenderingGameStateManager. You have it marked as <<interface>> in your diagram but you've given it variables, so I'm assuming it's really …