-
Notifications
You must be signed in to change notification settings - Fork 13
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
(Visualisation) Example thoughts #95
Comments
Thanks for your thoughts :3 good call about
(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/ what do you think about theses examples? |
Hmm, there is no 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?) |
The project examples are much much better! :-) Really helpful! Suggestions / thoughts: General thoughts
Specific thoughtsproject_exampleI 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. |
This looks super promising! A few initial thoughts regarding the example. Just suggestions, all meant constructively:
You may want to make the example project an "obvious" example and make it into a project.godot file so it can be imported as a stand alone project.
The example contains the default comments; these should be removed as they're not pertinent:
Add more comments to the GDScript code (especially gridmap.gd). I know that most devs hate writing docs/comments, but they're super useful for learning stuff for many people. It's always best to assume the user knows far less about the subject matter than you do, and they also may not be as au-fait as you are with GDScript. See also: Me. ;-)
Probably don't want Godot warning blockers in the example:
# warning-ignore:unused_class_variable
But yes, great job, looking forward to seeing where this goes
The text was updated successfully, but these errors were encountered: