Timeline for More efficient way to implement Line of sight on a 2d grid with ray casting?
Current License: CC BY-SA 3.0
15 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 28, 2017 at 9:16 | answer | added | Stoiko | timeline score: 8 | |
| Jan 30, 2013 at 23:31 | vote | accept | CodeMoose | ||
| Jan 18, 2013 at 4:02 | history | tweeted | twitter.com/#!/StackGameDev/status/292119694540947458 | ||
| Jan 17, 2013 at 22:06 | comment | added | Djentleman | Are you sure that you need to optimise? Have you actually encountered a bottleneck that needs to be dealt with? Or are you simply guessing that it will be an issue in the future? If your code is relatively modular it should be the easiest thing in the world to develop a solution and then come back to it later IF optimisation is needed. | |
| Jan 17, 2013 at 21:53 | comment | added | CodeMoose | Can you clarify, @djent? | |
| Jan 17, 2013 at 21:38 | comment | added | Djentleman | Remember to avoid premature optimisation! | |
| Jan 17, 2013 at 20:57 | history | edited | CodeMoose | CC BY-SA 3.0 | added 82 characters in body |
| Jan 17, 2013 at 20:38 | comment | added | Will | You'll recall gamedev.stackexchange.com/a/47560/4129 You can do it in an O(n) sweep. | |
| Jan 17, 2013 at 20:30 | history | edited | CodeMoose | CC BY-SA 3.0 | Reworded question to avoid "best"s |
| Jan 17, 2013 at 20:27 | comment | added | CodeMoose | @Luis probably a radius of 7 or 8 cells. | |
| Jan 17, 2013 at 20:24 | history | edited | CodeMoose | CC BY-SA 3.0 | Reworded question to avoid "best"s |
| Jan 17, 2013 at 20:19 | answer | added | Jimmy | timeline score: 9 | |
| Jan 17, 2013 at 19:44 | comment | added | Luis Estrada | How many cells are you expecting to have around the player? | |
| Jan 17, 2013 at 19:38 | comment | added | House | "Best" questions don't usually do well. Since the best way is very specific to your goals and other features you need to support. I recommend you just profile the code and see if it's good enough for your needs now. Profiling will also show you the parts of your code you need to improve first for better performance. | |
| Jan 17, 2013 at 19:02 | history | asked | CodeMoose | CC BY-SA 3.0 |