2d 游戏物理资源 [英] Resources for 2d game physics

查看:39
本文介绍了2d 游戏物理资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一些很好的参考资料,以学习如何在游戏中对 2d 物理进行建模.我寻找图书馆来为我做这件事 - 我想思考和学习,而不是盲目地使用别人的作品.

I'm looking for some good references for learning how to model 2d physics in games. I am not looking for a library to do it for me - I want to think and learn, not blindly use someone else's work.

我在谷歌上搜索了很多,虽然我在 GameDev 等上找到了一些教程,但我发现他们的教程很难理解,因为它们要么写得不好,要么假设对数学有一定程度的理解我还没有.

I've done a good bit of Googling, and while I've found a few tutorials on GameDev, etc., I find their tutorials hard to understand because they are either written poorly, or assume a level of mathematical understanding that I don't yet possess.

具体而言 - 我正在寻找如何为自上而下的 2d 游戏建模,有点像坦克格斗游戏 - 我想准确地建模(除其他外)加速度和速度,组件"的热量积聚,'模型和关卡边界之间的碰撞,以及导弹类武器.

For specifics - I'm looking for how to model a top-down 2d game, sort of like a tank combat game - and I want to accurately model (among other things) acceleration and speed, heat buildup of 'components,' collisions between models and level boundaries, and missile-type weapons.

网站、推荐的书籍、博客、代码示例 - 如果它们有助于理解,我们都欢迎.我正在考虑使用 C# 和 F# 来构建我的游戏,所以这两种语言中的任何一种的代码示例都会很棒 - 但不要让语言阻止您发布一个好的链接.=)

Websites, recommended books, blogs, code examples - all are welcome if they will aid understanding. I'm considering using C# and F# to build my game, so code examples in either of those languages would be great - but don't let language stop you from posting a good link. =)

编辑:我并不是说我不懂数学——更多的是我不知道为了理解所涉及的系统我需要知道什么,并且不要我真的不知道如何找到能够以一种可以理解的方式教会我的资源.

Edit: I don't mean that I don't understand math - it's more the case that I don't know what I need to know in order to understand the systems involved, and don't really know how to find the resources that will teach me in an understandable way.

推荐答案

以下是我几年前收集的一些资源.值得注意的是 Verlet 集成.我还包括了我当时发现的一些开源和商业物理引擎的链接.这里有一篇关于这个主题的 stackoverflow 文章:2d 游戏物理?

Here are some resources I assembled a few years ago. Of note is the Verlet Integration. I am also including links to some open source and commercial physics engines I found at that time. There is a stackoverflow article on this subject here: 2d game physics?

物理方法

  • Verlet Integration (Wikipedia Article)
  • Advanced Character Physics (Great article! Includes movement, collisions, joints, and other constraints.)

书籍

  • "游戏物理引擎开发",伊恩米林顿——我拥有这本书并强烈推荐它.这本书从头开始用 C++ 构建了一个物理引擎.作者从基本粒子物理学开始,然后添加运动定律"、约束、刚体物理学等等.他包括完整记录的源代码.
  • "Game Physics Engine Development", Ian Millington -- I own this book and highly recommend it. The book builds a physics engine in C++ from scratch. The Author starts with basic particle physics and then adds "laws of motion", constraints, rigid-body physics and on and on. He includes well documented source code all the way through.

物理引擎

  • Tokamak (Open source physics API)
  • APE (Actionscript Physics Engine)
  • FLADE (Flash Dynamics Engine)
  • Fisix Engine (another Flash Actionscript engine)
  • Simple Physics Engine (commercial)

这篇关于2d 游戏物理资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆