Skip to main content
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
Results tagged with
Search options not deleted user 66122

2D refers to two dimensional space where coordinates are represented with X and Y values.

0 votes

Game movement in 2D SFML game

your character should only fall if there is nothing underneath him as in he shouldn't be colliding with any block underneath him from the left extent of his bounding rectangle to the right extent of t …
BugSquasher's user avatar
0 votes

2d Rectangle Collision Resolution: Find rollback point

You have at least 3 basic options. 1) Overlap check (suffers from tunneling) 2) Sweep test (needs collision extraction) 3) Intercept test (finds exact intercept time) Which one is right for you depe …
BugSquasher's user avatar
0 votes

Handling different aspect ratios on a 2D dodging game

To maintain consistency, I would keep the same relative areas in each aspect ratio and in the vertical layout, put the data in a short row along the bottom and the GUI in a short row on top. This woul …
BugSquasher's user avatar
1 vote

Rendering colors from a texcoord output

You could try padding your sub textures with zero alpha for the near-misses in sampling. You could also try glSetTexParameterI(GL_TEXTURE_WRAP_S , GL_CLAMP_TO_EDGE) or something similar.
BugSquasher's user avatar