A CopperCube extension that allows you to use 2D Spritesheets in your app or game. This is best suited for 2D games and works with all sprite sheets that can be cut on the basis of rows and columns.
This shader action will allow you to use a single image for your character or object and will allow you to animate the character using the sprites from that single image, just like any other sprite sheet animation system.
For detailed info visit the itch.io page of the extension or watch the video tutorial. You can purchase the extension from itch.io by clicking the Buy Now button in the widget below.
Attach this action to any behavior and fill the parameters, Select the Affecting_node (the node on which
the sprite sheet texture is applied), Set the base_material_type, and a number of rows and columns
according to the sprite sheet. For example, if your sprite sheet has 12 columns and 8 rows, fill them in
the rows and columns field, specify the AnimationTime( it is the time one frame takes to switch to another
frame ) then specify the StartFrame and EndFrame for your animation, it is the number of tiles (sprite)
through which you want the animation to get started and the number(index) of the sprite at which you
want the animation to end.
You can also use some Coppercube variables to control the extension settings during the gameplay. You
can use Coppercube variables to set startframe and endframe and animationtime (speed). To use the CC
variables, simply use the inbuilt set or change a variable action and then use the variable name that will
be in this format.
Here nodename is the name of the node to which the sprite sheet texture is applied (affecting node
supplied in the action parameter).
That's all hope you guys find this extension helpful.
This extension will work with those sprites that can be cropped on the basis of rows and columns.
If your sprite is stucked on the first-frame and you are using CC and your game on integrated graphics
then you need to use a dedicated graphic card for the extension to work properly.
Spritesheet animation shader usage video
Click the block controls to customize the button.
The back to top button scroll delay before the button shows is set to 200px as the default. As you scroll down the page, it displays after 200px of movement. However you have 4 height options to set via codeditor. 200px, 350px, 500px and 650px for the button to appear.
Change plugins="Dentaurabacktotopa" to plugins="Dentaurabacktotopb" for 350 px in the first line of this block HTML
Change plugins="Dentaurabacktotopa" to plugins="Dentaurabacktotopc" for 500 px in the first line of this block HTML
Change plugins="Dentaurabacktotopa" to plugins="Dentaurabacktotopd" for 650 px in the first line of this block HTML
IF BUTTON NOT VISIBLE, PLS MOVE SIDEBAR TO THE RESPECTIVE HEIGHT YOU HAVE SET FOR BUTTON TO APPEAR FOR CUSTOMIZATION.
This is a global block and it only needs to be added and configured on one page and the settings will apply to all pages.
This block will be invisible on preview or publish retaining only the button.
BACK TO TOP FUNCTION WILL WORK ONLY AFTER PREVIEW OR PUBLISH.