Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x := x Koordinate (Zeichenfläche)
- y := y Koordinate (Zeichenfläche)
- KL := Länge der Landschaft (y)
- KB := Breite der Landschaft (x)
- Kminx := Kleinster Punkt auf der Karte (x) (z.B. -3000.0)
- Kminy := Kleinster Punkt auf der Karte (y) (z.B. -3000.0)
- TKx := Texdraw Karte (x)
- TKy := Texdraw Karte (y)
- TKH := Texdraw Karte Höhe
- TKB := Texdraw Karte Breite
- Sx := Spielerposition (x)
- Sy := Spielerposition (y)
- {x, y} = {(((Sx - Kminx) * TKB) / KB) + TKx, (((Sy - Kminy) * TKH) / KL) + TKy}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement