开发者

How to jump in j2me game? [closed]

开发者 https://www.devze.com 2023-02-08 06:37 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably an开发者_JAVA技巧swered in its current form.
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

精彩评论

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