Colin McMillen
|
90ca6c4b58
|
LinesOfSight: draw outline separately, with a different color
|
4 years ago |
Colin McMillen
|
4346f20024
|
remove World.TileSize constant
|
4 years ago |
Colin McMillen
|
275e535eac
|
LinesOfSight: draw outlines around the vision cones.
|
4 years ago |
Colin McMillen
|
06eac128c2
|
LinesOfSight: make vision cones red
|
4 years ago |
Colin McMillen
|
9504c2236c
|
LinesOfSight: support multiple NPCs
|
4 years ago |
Colin McMillen
|
4870964cc5
|
attach LinesOfSight to the first NPC
|
4 years ago |
Colin McMillen
|
66ce866b12
|
move LinesOfSight into World
|
4 years ago |
Colin McMillen
|
5549f15029
|
rename numEdgeVertices -> NUM_EDGE_VERTICES
GitOrigin-RevId: c7a67e06ea
|
4 years ago |
Colin McMillen
|
2fe8e53e77
|
Call GC.SuppressFinalize() from Dispose().
GitOrigin-RevId: 57b1d3760a
|
4 years ago |
Colin McMillen
|
af9a48bc5d
|
small cleanups suggested by VS
GitOrigin-RevId: b1b3a687e3
|
4 years ago |
Colin McMillen
|
026623ac82
|
Fix memory leaks of graphics resources.
Make Scene & LinesOfSight dispose of the graphics resources they create.
Force GC when a new level is loaded.
GitOrigin-RevId: 0640cced78
|
4 years ago |
Colin McMillen
|
786b230a6c
|
LinesOfSight: don't draw yellow lines
GitOrigin-RevId: 1ebd5fe922
|
4 years ago |
Colin McMillen
|
5d21ff2a0f
|
Debug.DrawLines: use GPU to draw lines.
Fixes #19.
GitOrigin-RevId: d837e0ddaf
|
4 years ago |
Colin McMillen
|
24078d6c62
|
move FieldOfView into Player
GitOrigin-RevId: 6d6a409453
|
4 years ago |
Colin McMillen
|
66f895fab8
|
Player: remove GetPose, add VisionRange and VisionRay.
Fixes #21.
GitOrigin-RevId: 720972d1c8
|
4 years ago |
Colin McMillen
|
c94ae6eb25
|
Player: make Facing an int property.
Partial work toward #21.
GitOrigin-RevId: 902c46d19a
|
4 years ago |
Colin McMillen
|
257a74ca58
|
LinesOfSight: use less-deprecated DrawIndexedPrimitives() call.
GitOrigin-RevId: 87d9482de3
|
4 years ago |
Colin McMillen
|
23278334b0
|
use DrawIndexedPrimitives; fixes #41
GitOrigin-RevId: 6cc7429d0b
|
4 years ago |
Colin McMillen
|
f01efcde01
|
Split LinesOfSight into separate Draw() and Update() functions.
Don't make new arrays every frame.
Partial solution to bug #41, just need to DrawIndexedPrimitives() now.
GitOrigin-RevId: 0e769d3288
|
4 years ago |
Colin McMillen
|
5b7c0dd888
|
move LinesOfSight into its own file
GitOrigin-RevId: 21a722cc9d
|
4 years ago |