igiCombo

A drop-down list. Takes label (The text beside it), selected (The chosen item, counting from 0), items (The items in one string, separated by |). Returns: The chosen item, from 0.

IGI

Parameters & Returns

Parameters

label String
selected Int
items String

Returns

Int

Quick Summary

A drop-down list. Takes label (The text beside it), selected (The chosen item, counting from 0), items (The items in one string, separated by |). Returns: The chosen item, from 0.

Technical Exegesis...

A drop-down list.

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

Returns: The chosen item, from 0.

Example

Example.bam
difficulty = igiCombo("Difficulty", difficulty, "Easy|Normal|Hard")