- 博客(1)
- 资源 (9)
- 收藏
- 关注
原创 对stlport容器进行排序的一个bug
这两天客户端遇到一个bug比较坑爹,记录一下。 有一段代码是将一些坐标的z值放到一个stlport的vector中用sort函数排序。 结果sort函数中迭代器越界了,导致栈上的数据被篡改。 迭代器越界的原因是用于排序的浮点数中有QNAN,造成functor不满足严格弱序,在某些数据下就会产生迭代器越界。 这时开启stl debug宏会有断言。 试了一下vc2010自带的stl使用同样的
2013-04-15 11:16:01 1180
the Art of game design 2nd.Edition
作者: Jesse Schell
出版社: A K Peters / CRC Press
出版年: 2014-11
页数: 600
定价: USD 64.95
装帧: Paperback
ISBN: 9781466598645
Good game design happens when you view your game from as many perspectives as possible. Written by one of the world's top game designers, The Art of Game Design presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, visual design, film, software engineering, theme park design, mathematics, puzzle design, and anthropology. This Second Edition of a Game Developer Front Line Award winner:
- Describes the deepest and most fundamental principles of game design
- Demonstrates how tactics used in board, card, and athletic games also work in top-quality video games
- Contains valuable insight from Jesse Schell, the former chair of the International Game Developers Association and award-winning designer of Disney online games
The Art of Game Design, Second Edition gives readers useful perspectives on how to make better game designs faster. It provides practical instruction on creating world-class games that will be played again and again.
2016-12-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人