igiSliderFloat

A slider for a decimal number (shown to 3 places). Takes label (The text beside the slider), value (The current value), minValue (The lowest value), maxValue (The highest value). Returns: The new value.

IGI

Parameters & Returns

Parameters

label String
value Double
minValue Double
maxValue Double

Returns

Double

Quick Summary

A slider for a decimal number (shown to 3 places). Takes label (The text beside the slider), value (The current value), minValue (The lowest value), maxValue (The highest value). Returns: The new value.

Technical Exegesis...

A slider for a decimal number (shown to 3 places). Ctrl+click it to type a value.

Call it every frame, between drawing your game and b2dFlip. See the IGI guide.

Returns: The new value.

Example

Example.bam
speed = igiSliderFloat("Speed", speed, 0.5, 4.0)