Sprites are important in all games. Each game has a scene: a stage with a protagonist in some form, the protagonist is the elf. Sprites are easy to create, and they have properties that can be configured, such as position, rotation angle, scale, transparency, color, and more.
method one
The most common and simplest method
Method Two
Create a sprite with textures
Method three
Load the image into the cache
Method four
CCSpriteFrame method
You can also load sprites directly using spriteFrame.
operation result
LED Laser lamp,Full color led laser lamp
Kindwin Technology (H.K.) Limited , https://www.ktlleds.com