403 reputation
411
bio website github.com/mkristofik
location United States
age 32
visits member for 4 years
seen yesterday

I recently got hooked on git. Here are my current projects on GitHub.


Jun
27
awarded  Citizen Patrol
Apr
22
awarded  Yearling
Apr
17
comment SDL_GameController automatic detection
Is upgrading to SDL 2.0 an option for you? The new version reportedly supports hot-plugging joysticks.
Apr
16
answered Negamax Checkers not working properly
Jan
27
comment How can AI compute movement in 2D games
Here's a book for answering this question and bunch of follow-on questions: amazon.com/Programming-Game-AI-By-Example/dp/1556220782
Sep
30
comment Pygame 2d map error
Byte56's comment is correct, you're asking a Python programming question, not a game question. That's better asked on SO. Be sure to take some time going over the Python docs on reading text from files before you ask. The SO folks will want to see that you've done some research.
Sep
30
answered Pygame 2d map error
Sep
9
comment Finding possible moves for an entity in a 2d tiled game
I think Dijkstra's is overkill in this case. The OP doesn't need a path to all possible movement destinations, just a yes/no answer on whether an agent can get there. He can compute a path later once the user has picked one.
Sep
9
comment Finding possible moves for an entity in a 2d tiled game
This algorithm has a name: Flood Fill.
Aug
20
answered How do I get pixel to hex coordinates on an array based hex map?
Jul
13
awarded  Taxonomist
Jun
28
awarded  Revival
Jun
27
awarded  Editor
Jun
27
revised What is the standard technique for shifting the frames of a sprite according to user input?
added 80 characters in body
Jun
27
answered What is the standard technique for shifting the frames of a sprite according to user input?
Jun
17
awarded  Caucus
Jun
17
awarded  Constituent
Jun
14
awarded  Critic
Jun
12
awarded  Yearling
Jun
11
comment Generate equal regions in a hex map
My example was inspired by a blog post about polygon map generation. The author added some noise to the edges of each region to make a more jagged look (scroll to the bottom to see it). You'd need to use a lot more hexes than I did to make that a viable option, but it's certainly doable.