-
Notifications
You must be signed in to change notification settings - Fork 36
docs(scripting): add render image demos #495
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -17,6 +17,9 @@ import { Demos } from '/snippets/demos.jsx' | |||
| "scriptingDrawingShapes", | ||||
| "scriptingTippingConverter", | ||||
| "scriptingMasonry", | ||||
| "scriptingDrawImage", | ||||
| "scriptingDrawImageTransforms", | ||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| "scriptingDrawImageMesh", | ||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| "scriptingUnitTesting", | ||||
| "scriptingMultiTouch", | ||||
| "scriptingNestedPointers", | ||||
|
|
||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -232,6 +232,30 @@ export const Demos = ({ | |||||||||||||||||||||||||||||||||
| editor: "https://rive.app/community/files/25823-text-path-effects/" | ||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||
| scriptingDrawImage: { | ||||||||||||||||||||||||||||||||||
| title: "Render an Image with Scripting", | ||||||||||||||||||||||||||||||||||
| image: "https://static.rive.app/docs/render-image-with-scripting.jpg", | ||||||||||||||||||||||||||||||||||
| description: "Draw an image from your Assets Panel to your scene.", | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||||||||||||||||||||||||||||||
| links: { | ||||||||||||||||||||||||||||||||||
| editor: "https://rive.app/community/files/26406-49444-draw-an-image-with-scripting/" | ||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||
| scriptingDrawImageTransforms: { | ||||||||||||||||||||||||||||||||||
| title: "Transform Images with Scripting", | ||||||||||||||||||||||||||||||||||
| image: "https://static.rive.app/docs/render-image-transforms-with-scripting.jpg", | ||||||||||||||||||||||||||||||||||
| description: "Add transforms to your images rendered with Scripting.", | ||||||||||||||||||||||||||||||||||
| links: { | ||||||||||||||||||||||||||||||||||
| editor: "https://rive.app/community/files/26452-49556-transform-an-image" | ||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||
| scriptingDrawImageMesh: { | ||||||||||||||||||||||||||||||||||
| title: "Draw ImageMeshes with Scripting", | ||||||||||||||||||||||||||||||||||
| image: "https://static.rive.app/docs/render-image-mesh-with-scripting.jpg", | ||||||||||||||||||||||||||||||||||
| description: "Draw image meshes with Scripting.", | ||||||||||||||||||||||||||||||||||
| links: { | ||||||||||||||||||||||||||||||||||
| editor: "https://rive.app/community/files/26451-draw-an-imagemesh-with-scripting" | ||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||
|
Comment on lines
+243
to
+258
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
| scriptingSlotMachine: { | ||||||||||||||||||||||||||||||||||
| title: "Slot Machine - Complete Game", | ||||||||||||||||||||||||||||||||||
| image: "https://static.rive.app/docs/slot-machine.png", | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think combining these into one would be great.