Hey guys, i’m new to corona and was wondering how to make my desired physics body appear at the location i’ve specified by pressing a button.
Cheers
Hey guys, i’m new to corona and was wondering how to make my desired physics body appear at the location i’ve specified by pressing a button.
Cheers
Your button will have a function that triggers when it’s pressed. The mechanics are a bit different between a touch, tap or widget.newButton onEvent handler. In that function you would create your new object wherever you need it to be.
Rob
Your button will have a function that triggers when it’s pressed. The mechanics are a bit different between a touch, tap or widget.newButton onEvent handler. In that function you would create your new object wherever you need it to be.
Rob