Sorry for late video. And thanks for 70 subs.
Script :
package JAVARuntime;
// Useful imports
import java.util.*;
import java.text.*;
import java.net.*;
import java.math.*;
import java.io.*;
import java.nio.*;
/**
* @SGad
*/
public class menu extends Component {
public WorldFile playw;
public SoundPlayer effect;
/// Run only once
@Override
public void start() {
}
/// Repeat every frame
@Override
public void repeat() {
if(Input.getKey(“play”).isDown()){
WorldController.loadWorld (playw);
effect.play();
}
if(Input.getKey(“quit”).isDown()){
GameController.quit();
}
}
}
Full project in discord
source
19 comments
Plzz bhaiyaa bata dijiye main
Apke channel ko mere 3 accounts se subscribe karunga
Jaldi se plzz
Comments are closed.
Add Comment