Skip to content

Commit db328ad

Browse files
committed
Added thumbnails
1 parent ae87837 commit db328ad

File tree

13 files changed

+6
-0
lines changed

13 files changed

+6
-0
lines changed
47.3 KB
Loading

sprite/bunnymark/bunnymark_thumb.png

432 KB
Loading

sprite/bunnymark/example.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: Bunnymark
44
brief: This is a performance test for sprites
55
author: Defold Foundation
66
scripts: bunnymark.script
7+
thumbnail: bunnymark_thumb.png
78
---
89

910
The example spawns game objects and animates them using go.animate(). An alternative bunnymark test with more options can be found [here](https://github.com/britzl/defold-bunnymark).
8.52 KB
Loading

sprite/changeimage/example.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: Change sprite image
44
brief: This example shows how to change the image of a sprite
55
author: Defold Foundation
66
scripts: changeimage.script
7+
thumbnail: changeimage_thumb.png
78
---
89

910
The example shows a game object with a sprite and a script with three script properties to reference different tilesource images. The script lets the user change which image to use on the sprite.

sprite/flip/example.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: Flip
44
brief: This example demonstrates flipping a sprite animation vertically and horizontally.
55
author: FlexYourBrain
66
scripts: flip.script
7+
thumbnail: flip_thumb.png
78
---
89

910
Overview : [sprite.set_hflip](https://defold.com/ref/beta/sprite/#sprite.set_hflip:url-flip) & [sprite.set_vflip](https://defold.com/ref/beta/sprite/#sprite.set_vflip:url-flip) uses a boolean to set if a sprite animation should be flipped.

sprite/flip/flip_thumb.png

24.3 KB
Loading

sprite/samplers/example.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: Multiple Sprite Samplers
44
brief: This example shows how to sample from more than one image when drawing a sprite
55
author: Defold Foundation
66
scripts: multi_sample.script, multi_sample_sprite.fp
7+
thumbnail: samplers_thumb.png
78
---
89

910
The example uses a sprite with a material with two samplers:

sprite/samplers/samplers_thumb.png

15.9 KB
Loading

sprite/size/example.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: Sprite size
44
brief: This example shows how to get the size of a sprite at run-time
55
author: Defold Foundation
66
scripts: size.script
7+
thumbnail: size_thumb.png
78
---
89

910
The example uses two game objects, each with a sprite component and a label (to show the size). One of game objects contains the script that reads the size and shows it on the labels:

0 commit comments

Comments
 (0)