CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - Gravity
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - Gravity - List
[
J2ME
]
手机游戏物理模型之抛物线
DL : 0
物体做抛物线运动是游戏中基本运动物理模型之一! 在PC游戏中可以由重力公式 轻易模拟,但在手机游戏中 ,由于多数手机不支持浮点运算 因此不能用 sin ,cos, 来分解初速度。 所以只能用近似模拟的方法! 我所采用的是:先放大后缩小的模拟方式,并且为了更精确加入了一定的偏移量。-objects do parabolic movement is the basic game campaign physical model one! The PC game can be easily simulated gravity formula, but in mobile phone games, because most phones do not support floating-point operations can not be used sin, cos, to the early speed of decomposition. Therefore, it can only approximate simulation method! I have adopted is : Go after the first amplification of a simulated manner, and in order to more accurately by adding a certain amount of offset.
Date
: 2026-01-09
Size
: 57kb
User
:
徐斌
[
J2ME
]
WeightConventer
DL : 0
JAVA不同星球重力转换程序,典型的初学者教程-JAVA different planet gravity conversion, the typical beginners guide
Date
: 2026-01-09
Size
: 1kb
User
:
陈珲
[
J2ME
]
collision
DL : 0
根据向量运算,实现了球体与线段,球体间的碰撞检测,可根据需要加入引力参数。同时在j2me平台测试了球体碰撞,当然GUI可根据需要定制。-According to vector operations, to achieve a sphere with the line, the ball collision detection between, according to the need to add gravity parameters. Also tested in the j2me platform collision sphere, of course, can be customized GUI.
Date
: 2026-01-09
Size
: 23kb
User
:
金国哲
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.