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

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

于 2022-02-12 发布 文件大小:57.12 kB
0 106
下载积分: 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 个回复

  • J2ME优化压缩PNG文件。这是个J2ME控制台程序,它能剔除PNG文件中的非关键数据段,减少文件大小从而达到压缩图片的目的。而图片的质量并不会受到损失。使用时...
    J2ME优化压缩PNG文件。这是个J2ME控制台程序,它能剔除PNG文件中的非关键数据段,减少文件大小从而达到压缩图片的目的。而图片的质量并不会受到损失。使用时候只需在控制台窗口执行jar就可以了。-J2ME optimization of compressed PNG file. This is a J2ME console program, it can exclude PNG files non-critical data segment to reduce the file size so as to achieve the purpose of compressed images. The picture quality and will not suffer loss. Just use the console window when the implementation of the jar on it.
    2022-10-29 18:35:04下载
    积分:1
  • 一个手机通讯录的实现,电话簿功能描述(1)查看电话记录(2)添加电话记录(3)查找电话(4)在电话簿中永久存储电话信息...
    一个手机通讯录的实现,电话簿功能描述(1)查看电话记录(2)添加电话记录(3)查找电话(4)在电话簿中永久存储电话信息-a realization of the phone directory, telephone directories functional description (1) View telephone records (2) Add phone records (3) Locating telephone (4) in permanent storage directory phone messages
    2022-11-15 17:40:03下载
    积分:1
  • MIDP does not support the minority. So parabola painting only in a simulated pai...
    MIDP不支持小数。 所以画抛物线时只在模拟画了。 本代码就是模拟一个子弹飞行轨迹。-MIDP does not support the minority. So parabola painting only in a simulated painting. The simulation code is a bullet trajectories.
    2023-02-06 03:40:04下载
    积分:1
  • J2ME版的俄罗斯斯方快在手机玩的哦
    J2ME版的俄罗斯斯方快在手机玩的哦-J2ME version of the Russian Slovenian side to play faster in the mobile oh
    2022-01-24 18:57:30下载
    积分:1
  • 毕业论文:J2ME在移动设备上的应用
    毕业论文:J2ME在移动设备上的应用-thesis : J2ME mobile equipment applications
    2022-02-28 23:41:20下载
    积分:1
  • 手机邮件 Manifest
    手机邮件 Manifest-Version: 1.0 MicroEdition-Configuration: CLDC-1.0 MIDlet-Data-Size: 15000 MIDlet-Description: Warriors of the Lion MIDlet-Version: 1.0.0 MIDlet-Icon: /icon.png Created-By: 1.3.1_01 (Sun Microsystems Inc.) MIDlet-Vendor: www.elkware.com MicroEdition-Profile: MIDP-1.0 MIDlet-1: Warriors of the Lion, ,z MIDlet-Name: Warriors of the Lion MIDlet-Info-URL: www.elkware.com- Handset mail Manifest-Version: 1.0 MicroEdition-Configuration: CLDC-1.0 MIDlet-Data-Size: 15,000 MIDlet-Description: Warriors of the Lion MIDlet-Version: 1.0.0 MIDlet-Icon: /icon.png Created-By: 1.3.1_01 (Sun Microsystems Inc.) MIDlet-Vendor: Www.elkware.com MicroEdition-Profile: MIDP-1.0 MIDlet-1: Warriors of the Lion, z MIDlet-Name: Warriors of the Lion MIDlet-Info-URL: Www.elkware.com
    2022-07-05 08:03:04下载
    积分:1
  • 经典的一个小游戏;用java编写;适合在手机上移植
    经典的一个小游戏;用java编写;适合在手机上移植-a small classic games; Java used to prepare; Suitable for the mobile phone transplant
    2022-05-22 11:30:17下载
    积分:1
  • java--博客简单评论demo
    简单博客评论功能,含登录,注册,增删改查等基础功能;样式有点low,就不截图发布了 MyEclipse项目,mysql数据库:root,密码123   登录注册,博客评论删除等功能项目:一个实现了增删改查技术的破烂微博技术:jsp servlet mysql项目实现:      1.注册,登录      2.主页面显示所有微博信息(查)      3.发微博(增)      4.点赞,取消点赞(改)      5.删除      6.建表,连接数据库      7.好友关系(附加,选择完成)前端页面提供好了,功能我大致已经完成,就是一些增删改查的功能。
    2019-04-29下载
    积分:1
  • cool_ftp
    ftp source code for you
    2011-06-28 10:41:29下载
    积分:1
  • j2me 脚本 j2me 脚本
    j2me 脚本 j2me 脚本-j2me script
    2022-07-04 22:13:36下载
    积分:1
  • 696518资源总数
  • 105219会员总数
  • 11今日下载