Skip to content

Commit bec2386

Browse files
committed
First draft
1 parent 87de391 commit bec2386

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

content/news/023/index.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,24 @@ making of [video](https://youtube.com/watch?v=3TOEZ7krhvI) on YouTube.
8989

9090
## Learning Material Updates
9191

92+
### [A Trig-less Line of Sight Algorithm for 2D Games][lineofsight]
93+
94+
![2D Sight Example](lineofsight.png)
95+
96+
[@basstabs] published a [tutorial](https://basstabs.github.io/2d-line-of-sight/)
97+
which explains how to write a line of sight algorithm for 2D games in Rust
98+
without using trigonometry or square roots. It includes vector diagrams and
99+
typset math to explain the ideas behind each stage of the algorithm, source
100+
code for each step, tests to verify accuracy of the methods, and suggestions for
101+
further improvements. Additionally, the
102+
[repository](https://github.com/basstabs/2d-line-of-sight) contains benchmarks
103+
and a sample application written in [ggez](https://crates.io/crates/ggez).
104+
105+
_Discussions: [/r/rust_gamedev](https://www.reddit.com/r/rust\_gamedev/comments/
106+
nx79kq/a\_trigless\_line\_of\_sight\_algorithm\_for\_2d\_games/)_
107+
108+
[A Trig-less Line of Sight Algorithm for 2D Games]: https://basstabs.github.io/2d-line-of-sight/
109+
92110
## Library & Tooling Updates
93111

94112
### [erupt]

content/news/023/lineofsight.png

87.6 KB
Loading

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy