b2dAddPaletteCycle

Category: 2D Overlay

Syntax:

b2dAddPaletteCycle:Void(imageHandle:Int, startIndex:Int, endIndex:Int, speed:Double)


Parameters

Returns

Void



Summary

Adds a palette cycle over a range WITHOUT clearing existing cycles (stackable / overlapping).

View detailed documentation online



Example
b2dAddPaletteCycle(img, 16, 31, 9.0)
b2dAddPaletteCycle(img, 20, 27, -16.0)  ; overlaps - this one wins on 20..27

BambooBasic © 2026 Michael Denathorn