DISPLAYING INT VARIABLE

2 replies [Last post]
Offline
Joined: 04/02/2013

What is the way to implement this method env3d

///code///

int score;

system.out.printf("%d",score);

Offline
Joined: 12/13/2010
Look at the

Look at the env.setDisplayStr() method.  It'll display some text in the middle of the screen.  Your above code becomes:

env.setDisplayStr("Your score is "+score);

 

 

Offline
Joined: 04/02/2013
 THANK YOU SO MUCH    

 THANK YOU SO MUCH