CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - velocity
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - velocity - List
[
Hook api
]
bscl
DL : 0
变速齿轮原理是,游戏在刷新画面时会用到时钟来控制刷新速度,有过游戏开发的人都知道,一般游戏锁定1秒30帧,这样会很流畅,人眼有视觉停顿,当速度达到1秒16帧的时候,就是在跑动画了,游戏用到的计时器有大部分是两个windows提供的api函数,一个是::GetTickCount,一个是::timeGetTime,这两个api的原型请查msdn,我们利用hook api 去修改它的值,从而改变游戏速度,工程是一个d-Change gear principle is that the game will refresh the screen refresh rate is used to control the clock, had a game developer knows that, generally 1 second 30 game lock, it will be very smooth, human eyes have visual pause, When the velocity reaches 1 second 16 time is running animation, and game timer are used to provide most of the api function of two windows, one is:: GetTickCount, one is:: timeGetTime, these two api prototype please check msdn, we use the hook api to modify its value, thus changing the game speed, works as a dll!
Date
: 2025-12-23
Size
: 2kb
User
:
吴磊
[
Hook api
]
final
DL : 0
迭代结束修改速度场,将速度场减去一个常量hook之后迭代一步保存结果-modify velocity field after caculation
Date
: 2025-12-23
Size
: 1kb
User
:
李达
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.