2,873 reputation
1030
bio website olhovsky.com
location Toronto, Canada
age
visits member for 3 years, 10 months
seen Sep 17 '13 at 22:51

The Big O.


Aug
19
comment Key combinations on poll-based input
Continuously updating the down timestamp is the intended behavior. This allows you to compare the up_timestamp and down_timestamp of any key, to check how long it was held for. If you continuously hold a key, you are not changing the up_timestamp, so (down_timestamp - up_timestamp) still gives you the duration it was held for.
Aug
19
revised Key combinations on poll-based input
added 26 characters in body; deleted 26 characters in body
Mar
2
awarded  Popular Question
Jan
29
awarded  Yearling
Nov
12
awarded  Necromancer
Nov
3
comment Why do objects interpenetrate in this simple collision solver?
Actually that's not it. Collisions are checked against all other balls, the problem is with the order of the checks (as suggested by the answer with the green checkmark :). Checking against all other balls is not enough by itself.
Sep
26
awarded  Nice Answer
Aug
20
answered deciding user movement path - slick 2D
Aug
12
revised Polygon count target range for MMO being released in 2 years
added 9 characters in body
Aug
12
comment Polygon count target range for MMO being released in 2 years
I don't mind the downvotes, but it'd be nice if someone told me why I'm being downvoted. I want to learn too :)
Aug
11
answered Collision resolution in case of collision with multiple objects
Jul
24
comment How can I edit .qvm (Quake Virtual Machine) files?
Thanks Gregory, that's correct.
Jul
24
awarded  Nice Answer
Jul
22
comment Recognizing a hexagonal clickbox
Please note that I wasn't saying that your answer was bad. I think it's a good answer and a solution that has it's place. That said, I wouldn't choose this method over computing the hexagon bounds, as computing the hexagon bounds on any modern platform, as computing the bounds is a much more extensible way to do it. E.g. lets say you want to change the hexagon size -- now you have to rebuild the image? Producing a pixel perfect hexagon mask is a pain. The fact that you haven't produced one here is a testament to that, I think.
Jul
22
comment How can I edit .qvm (Quake Virtual Machine) files?
You don't need a "modded" SDK. Urban terror uses the SDK that ID Software provides. You can't edit the QVM files that the Urban Terror modders produced, as I've already said.
Jul
22
revised Recognizing a hexagonal clickbox
fixed typo
Jul
22
answered How can I edit .qvm (Quake Virtual Machine) files?
Jul
22
comment Recognizing a hexagonal clickbox
Just a note: A hexagon has 6 equal length sides. None of the images you presented actually contain hexagons. Instead, they contain 6 sided polygons. Other than that, this method works. It is likely slower than computing the bounds of the hexagon, for larger hexagons though, as this method requires more space for larger hexagons (if you want to keep per pixel accuracy). For small hexagons (and depending on the hardware), this method is probably faster than computing the bounds.
Jul
22
revised Recognizing a hexagonal clickbox
added 10 characters in body
Jul
22
suggested suggested edit on Recognizing a hexagonal clickbox