How to jump in j2me game? [closed]
i am new to j2me and i creating snowboarding game for my device. so, how can i implement jump functionality on Fire key press?
Any help??
thanks..
Use the SnowboardGame API
SnowBoarder bob = new SnowBoarder("Bob");
SnowboardGame snowboardGame = new SnowboardGame();
snowboardGame.setCharacter(bob);
snowboardGame.startRace();
bob.jump(FIRE_KEY);
精彩评论