igiInputInt

A box to type a whole number into, with - and + buttons. Takes label (The text beside the box), value (The current value). Returns: The new value.

IGI

Parameters & Returns

Parameters

label String
value Int

Returns

Int

Quick Summary

A box to type a whole number into, with - and + buttons. Takes label (The text beside the box), value (The current value). Returns: The new value.

Technical Exegesis...

A box to type a whole number into, with - and + buttons.

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

Returns: The new value.

Example

Example.bam
lives = igiInputInt("Lives", lives)