登录
首页 » J2ME » 物体做抛物线运动是游戏中基本运动物理模型之一! 在PC游戏中可以由重力公式 轻易模拟,但在手机游戏中 ,由于多数手机不支持浮点运算 因此不能用 sin ,cos...

物体做抛物线运动是游戏中基本运动物理模型之一! 在PC游戏中可以由重力公式 轻易模拟,但在手机游戏中 ,由于多数手机不支持浮点运算 因此不能用 sin ,cos...

于 2022-02-12 发布 文件大小:57.12 kB
0 152
下载积分: 2 下载次数: 1

代码说明:

物体做抛物线运动是游戏中基本运动物理模型之一! 在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.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Java手机程序开发
    Java手机程序开发-DownloadMIDlet-Java developers phone-DownloadMIDlet
    2022-05-21 12:17:26下载
    积分:1
  • Based_on_J2ME_wireless_enterprise_application
    企业无线应用系统的实现模式,毕业设计正在研究中~客户端和数据库服务器之间用severlet进行数据操作控制的结构,此结构用于网站开发实现比较容易,但是用在移动设备上就要另当别论啦~(enterprise Wireless Application System for the model, Graduation is working on the client-server and the database used for data manipulation severlet control structure, the structure for the web site development and relatively easy to achieve, but used in mobile equipment have different matter Matata ~)
    2007-05-01 09:22:45下载
    积分:1
  • 很好的j2me3D初学者例子 希望对大家有用
    很好的j2me3D初学者例子 希望对大家有用-good example j2me3D beginners hope useful for all
    2023-01-20 05:20:03下载
    积分:1
  • JAVA手机编程电子书
    JAVA手机编程电子书-java mobile programme ebook
    2023-08-12 09:20:06下载
    积分:1
  • MathFP j2me的库类 学j2me的都知到的
    MathFP j2me的库类 学j2me的都知到的-MathFP j2me libraries of all types of learning j2me to know the
    2023-05-14 16:35:03下载
    积分:1
  • 这是个JAVAME实现的RPG
    这是个JAVAME实现的RPG--MM冒险的小游戏
    2023-01-28 11:50:03下载
    积分:1
  • 目前,大多数手机不支持wtk2.0,只支持wtk1.0,所以G。
    现在大部分手机都不支持WTK2.0,只支持WTK1.0,这样给游戏的开发带来了不便,要是能在WTK1.0上面实现WTK2.0的game功能,就可以省不少劲,这个框架可以帮助你。-At present, most mobile phones do not support WTK2.0, only supports WTK1.0, so game developers to bring the inconvenience, if WTK1.0 above in the game to achieve WTK2.0 function, you can save a lot of effort, and this framework can help you.
    2022-01-25 23:12:44下载
    积分:1
  • Using Java' s JMF realization of a media player can play audio and video
    用Java的JMF实现一个媒体播放器,可以播放音频和视频 -Using Java" s JMF realization of a media player can play audio and video
    2022-07-05 00:35:48下载
    积分:1
  • Sudoku
    说明:  数独游戏源码,J2ME开发,支持固定IP获取数独地图(Sudoku J2ME)
    2009-08-08 20:14:17下载
    积分:1
  • 此文件是关于手机游戏开发的理论,结合具体的实例展开讲解,易懂,给初学者很大的帮助...
    此文件是关于手机游戏开发的理论,结合具体的实例展开讲解,易懂,给初学者很大的帮助-This file is about the basic cell phone game development theory, carried out specific examples to explain, easy to understand
    2022-02-02 02:11:28下载
    积分:1
  • 696516资源总数
  • 106457会员总数
  • 15今日下载