feat: Best practices section
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- documentation
Hướng nghiên cứu
Start from the old best practices page linked in the issue (doc.stride3d.net/4.3/en/manual/scripts/best-practice.html) and the Godot best practices section it is modelled on. The payload does not name the source files for the docs, so locate the existing scripting and manual pages in the repository first. Done means the proposed pages (component workflow, ECS, scene structure, content management, project structure, custom assets) exist with content the maintainers have agreed on, and the scope is confirmed in the thread before writing.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
Transform the old best practices page into a separate section, similarly to how this is done in Godot's docs. This section would contain best practices for writing code as well as generally working with the engine (structuring scenes, managing assets, etc.)
Page ideas:
- Component-based workflow - describes how to work with components (not ECS) and scripts (don't write everything in one script, separate common tasks into independent components where applicable, prefer assigning in Property Grid as opposed to
Entity.Get) - ECS workflow - best practices for writing code using ECS
- Scene structure - best practices for strucuring scenes (persistent entities go into the main scene, new scenes are loaded as sub-scenes instead of replacing root, try to separate complex scenes into smaller sections).
- Content management - how to work with content in scripts (use generated asset class or
UrlReferenceover hardcoded string paths, assign asset references over marking assets as root and loading in-code, make sure to unload manually loaded assets) - Project structure - how to structure the code in the project (create a project package for every target platform, don't put gameplay code and assets in platform packages, keep references in a separate folder from assets, keep the same structure in resources folder as in assets, don't use resources outside of the project folder).
- Custom assets - when or when not to use custom assets
- Ngôn ngữ chính
- PowerShell
- Star
- 39
- Fork
- 79
- Merge trung bình
- 8 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stride3d/stride-docs
-
content manual
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
stride3d/stride-docs#617 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[4.5] Heightfield documentationĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
stride3d/stride-docs#615 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update Contribution WorkflowĐang mởcontent contributing
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
stride3d/stride-docs#595 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Render shaders in the UIĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
stride3d/stride-docs#588 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
stride3d/stride-docs#585 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của stride3d/stride-docs
Issue tương tự
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
erkamyaman/unslop-anything#421 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
review-panel severity:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
kristovatlas/coin-accounting#498 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
codepacct/codepact-conventions#53 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 91/100
IbrahimHafez1/loadwise#188 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
codepacct/codepact-action#68 ·
Maintainer thường phản hồi trong vòng 1 ngày