Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a grid debug overlay. #135

Closed
phrohdoh opened this issue Nov 6, 2014 · 11 comments
Closed

Implement a grid debug overlay. #135

phrohdoh opened this issue Nov 6, 2014 · 11 comments

Comments

@phrohdoh
Copy link
Contributor

phrohdoh commented Nov 6, 2014

Example:
image

@goto-bus-stop
Copy link
Contributor

Could also be implemented as a utility that adds the grid lines to the terrain graphics, but a debug option would be nice to have so it works for any terrain.

@mic-e
Copy link
Member

mic-e commented Nov 6, 2014

Adding grid lines to the terrain tile PNGs won't work due to blending.

(thinks for a second)

OK it might actually work.

Still implementing it as a toggle-able shader is by far superiour IMO (think three-state spacebar: blending, no blending, blending with grid lines).

@goto-bus-stop
Copy link
Contributor

OK it might actually work.

http://www.voobly.com/gamemods/mod/308/Grid-Terrains
😄

Still implementing it as a toggle-able shader is by far superiour IMO

agree 👍

@franciscod
Copy link
Contributor

it looks like roller coaster tycoon :D

@hackathi
Copy link
Contributor

hackathi commented Nov 7, 2014

+1 for the shader. I have also listed a grid as a requirement for the final editor (see /doc/editor/terrain.md)

@franciscod
Copy link
Contributor

it looks cool and everything, but where's the debug part?

@mic-e
Copy link
Member

mic-e commented Nov 7, 2014

Uhm... I guess it's sort of easier to see whether buildings are correctly aligned, pathfinding works correctly, and stuff.

@franciscod
Copy link
Contributor

poor man's overlay terrain: overlay

(?)

@franciscod
Copy link
Contributor

yeah, it's useful for fixing #57

@franciscod
Copy link
Contributor

close dis pls kthxbai

@mic-e
Copy link
Member

mic-e commented Nov 10, 2014

Hm... I thought I had put a "fixes #135" in the commit...

@mic-e mic-e closed this as completed Nov 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants