| bio | website | vyznev.net |
|---|---|---|
| location | Helsinki, Finland | |
| age | ||
| visits | member for | 1 year, 9 months |
| seen | yesterday | |
| stats | profile views | 143 |
I like programming in Perl and C. I know Java and PHP too (I'm a MediaWiki developer), but I can't really say I like them. I keep meaning to learn Python some day, but never seem to get around to it.
I'm working on a Ph.D. in biomathematics. I also like programming puzzles and cryptography.
Please consider any (original) code I post to Stack Overflow (and other Stack Exchange sites) to be released under CC-Zero unless stated otherwise. You may do whatever you want with it and don't have to credit me in any way, although of course that would be nice.
|
Mar 3 |
answered | How can I change the acceleration of an object to arrive at a particular time? |
|
Feb 28 |
answered | PHP Browser Game Private Messages? |
|
Feb 17 |
awarded | Quorum |
|
Feb 15 |
answered | How precise should timers in update loops be? |
|
Feb 14 |
comment |
How do I resolve asynchronous client actions against an authoritative server state? +1 for pointing out that a good UI is important here. In particular, if you allow the player to keep playing on even while waiting for the server's reply, there needs to be some indicator to the player that some of their moves haven't been confirmed yet, and it needs to be really obvious (since, hopefully, it will only be seen in unusual circumstances like connection loss) while still not being too obtrusive. |
|
Feb 14 |
comment |
What's the best way of translating a 2D vector into the closest 8-way compass direction? @Sam: Oops, corrected. Of course, atan2(x,y) would work too, if one just listed the compass headings in clockwise order starting from north instead. |
|
Feb 14 |
revised |
What's the best way of translating a 2D vector into the closest 8-way compass direction? correct argument order per comments |
|
Feb 13 |
answered | What's the best way of translating a 2D vector into the closest 8-way compass direction? |
|
Feb 13 |
awarded | Nice Answer |
|
Feb 11 |
revised |
How do I protect my game with CD key / serial number? added 108 characters in body |
|
Feb 11 |
revised |
Using the DTLS protocol for multiplayer games link to archive.org for broken link |
|
Feb 11 |
revised |
How do I protect my game with CD key / serial number? recommend 128+ bits to be safe, note that rate limiting can help |
|
Feb 10 |
comment |
Implementing a color picker This question does not seem to include anything specific to game development. It would probably be better suited for our sister site, Stack Overflow. |
|
Feb 10 |
revised |
Implementing a color picker copyedit |
|
Feb 10 |
comment |
Physics movement prediction is way off Actually, the OP's solver does always return the smallest positive real root (if any), since sqrt(det) >= 0 and thus t1 >= t2. Anyway, as long as the ball stays above the ground (and gravity pulls it downwards), the OP's quadratic equation will always have exactly one positive root. The only way there could be two positive real roots would be if the ball was below the ground and moving upwards. (Anyway, +1 for spotting the missing factor of 1/2.) |
|
Feb 10 |
answered | Smooth Sprite Movement - Don't Add Velocity to Position? |
|
Feb 10 |
answered | How do I protect my game with CD key / serial number? |
|
Feb 10 |
reviewed | Reject suggested edit on Minecraft - How do I check if someone has a clear inventory |
|
Feb 9 |
answered | Saving roguelike game state? |
|
Feb 8 |
answered | Whats the physics behind the doodle jump game? |