MatejSloboda / Dijkstra_map_for_Godot

MIT License
78 stars 13 forks source link

(Visualisation) Example thoughts #95

Open CitrusWire opened 3 years ago

CitrusWire commented 3 years ago

This looks super promising! A few initial thoughts regarding the example. Just suggestions, all meant constructively:

But yes, great job, looking forward to seeing where this goes

astrale-sharp commented 3 years ago

Thanks for your thoughts :3

good call about


# Declare member variables here. Examples:
# var a = 2
# var b = "text"

(I'll deal with that ;) )

the demo you are referring too isn't exactly an example, its goal is only to demonstrate what the API can do, we have two heavily commented example in res://Project_Example/ maybe the README.md wasn't clear ^^'

what do you think about theses examples?

CitrusWire commented 3 years ago

res://Project_Example/

Hmm, there is no res://Project_Example/ or anything similar to it in my download. No mention of them in DOCUMENTATION.md either (the only markdown file in the thing I downloaded....)

Ah... I downloaded from git directly: https://github.com/MatejSloboda/Dijkstra_map_for_Godot/archive/master.zip - that only includes the addons directory. I see the Godot asset library as the rest of the repo (including the .github dir; probably don't want that in there?)

CitrusWire commented 3 years ago

The project examples are much much better! :-) Really helpful!

Suggestions / thoughts:

General thoughts

Specific thoughts

project_example

I love this level of commenting! :-)

As are a few other lines, but it's not clear why.

turn_based.gd

A line or two explaining why you're doing it this way rather than setting a lower max_cost to calculate (as was done with the archers) and then highlighting all resultant squares.

=====

Again, great work, I'm really looking forward to playing with this.