Add animation usage examples in multiple languages #683
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Category: animations
What this PR adds: Updated existing Animations usage examples with real resources and screenshots, plus added missing example sets required by the generated API documentation. All examples now reference actual animation scripts from
BasicAnimationResources.zipin the repo.Type of change
How Has This Been Tested?
kermit.txt,explosion.txt) frompublic/resources/guides/animation/basics/BasicAnimationResources.zipnpm run buildwith all examples integratedTesting Checklist
Checklist
Files Modified/Added
Updated Examples (under
public/usage-examples/animations/):load_animation_script-1-example.*- Now loadskermit.txtwith proper resource notescreate_animation-1-example.*- Useskermit.txtandWalkFrontanimationupdate_animation-1-example.*- Updated with real resource and formatted outputanimation_entered_frame-1-example.*- Useskermit.txt, formatted bool outputanimation_frame_time-1-example.*- Updated resource reference and output formatanimation_ended-1-example.*- Usesexplosion.txt(non-looping animation scenario)New Examples Added (under
public/usage-examples/animations/):free_animation-1-example.*(6 files: C++, C# top-level, C# OOP, Python, .txt, .png)free_animation_script-1-example.*(6 files)restart_animation-1-example.*(6 files)Generated Output Images (PNG screenshots for all 9 examples):
Additional Notes
public/resources/guides/animation/basics/BasicAnimationResources.zipWalkingScriptwith animationWalkFront(fromkermit.txt) andExplosionScriptwithexplosion(fromexplosion.txt).txtfile includes download instructions pointing to/resources/guides/animation/basics/BasicAnimationResources.zip