Flag Rush tutorial 2 timer issues


When I try to compile the code from this tutorial I get this error.

getTimer(java.lang.String) in com.jme.util.Timer cannot be applied to ()

timer = Timer.getTimer();

I don't understand why this is happening.

What version of jME are you using?


[EDIT:] I just started using jME today.

FlagRush is updated to work with the latest development version jME uses. You can use CVS for this, or the download the nightly builds (there's a link on the mainpage).

For a quick fix, change the line in Flagrush to getTimer("LWJGL");

And welcome to the forum :slight_smile:

Thank you. :smiley:

I appreciate your help.