Hi,
Can you tell me how to add the code for the counter or create an actor that adds 1 every time one actor touches the other actor.
The scoreboard needs to display the value reached.
Thank you,
USER_NAME


1 2 3 4 5 | if (isTouching(Cheese. class )) { removeTouching(Cheese. class ); ((MyWorld)getWorld()).getCounter().add( 1 ); } |