Astera-org / minetest

Minetest is an open source voxel game engine with easy modding and game creation
https://www.minetest.net/
Other
0 stars 0 forks source link

Correct key state update #74

Closed mickvangelderen closed 2 weeks ago

mickvangelderen commented 2 weeks ago

Merge https://github.com/Astera-org/minetest/pull/73 first.

Replaces the comment about key presses and releases not being important with code that computes key presses and releases.

I wrote this as part of debugging why player movement was not doing what I thought it should. Felt like a waste to throw it away. Also, if we merge upstream and key press/release data becomes more important, our stuff will work. Gives me peace of mind.

mickvangelderen commented 2 weeks ago

@garymm added:

I wrote this as part of debugging why player movement was not doing what I thought it should. Felt like a waste to throw it away. Also, if we merge upstream and key press/release data becomes more important, our stuff will work. Gives me peace of mind.