108 reputation
5
bio website blog.tankorsmash.com
location Astoria
age 94
visits member for 2 years
seen 22 hours ago

I'm a programmer, starting with Python. I run a blog at blog.tankorsmash.com which chronicles my struggles with Python, C# and now Javascript/jQuery. It's always a good time.

I also tweet a lot at @tankorsmash. I'm always looking to meet new people, so make sure to say hi!


Apr
2
comment Why don't all games permit changing the field of view?
Not having a FOV slider in your game due to budget or technical reasons is a non argument, this is not true. A game may not have been designed for a different FOV from the start and has systems relying on it. Just because a barebones project skeleton can support the value changing, doesn't mean a million-lined project can.
Dec
18
awarded  Autobiographer
Aug
31
awarded  Supporter
May
9
awarded  Scholar
May
9
accepted How to detect whether or not a tile is occupied?
May
9
comment How to detect whether or not a tile is occupied?
Alright, so then the 2D array is definitely the consensus. Thank you for the the clarification as well as the detailed answer!
May
9
revised How to detect whether or not a tile is occupied?
added 205 characters in body
May
8
awarded  Student
May
8
revised How to detect whether or not a tile is occupied?
added 484 characters in body
May
8
comment How to detect whether or not a tile is occupied?
Is an array like that the best solution for doing all things tile related though? Thanks for the quick answer. I'm not that deep into gamedev yet, but I did use arrays for a roguelike I worked on a while back. It doesn't seem like it could be as dynamic as what I want to use it for. I'm probably wrong though.
May
8
comment How to detect whether or not a tile is occupied?
@jhocking 825 tiles total, on a 800x600 pixel screen, with each tile being 25x25. I'm using Python, which is said to be slow, but who knows. I've changed the lines of code to: for tile in TILES: pass and the game still takes a 10FPS or so hit. edit: Also note that the coords attribute has 625 coords in it.
May
8
awarded  Editor
May
8
revised How to detect whether or not a tile is occupied?
added 147 characters in body
May
8
asked How to detect whether or not a tile is occupied?