开发者

How to jump in j2me game? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably an开发者_JAVA技巧swered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 12 years ago.

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);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜