Android Game Dev: input processing

I am programming my first Android game and I am trying to find the best way to handle inputs.

Should I process the input directly or put them in some kind of queue and process them using the updateInputs () method?

Also, where should I put the code to process the input? Should it be inside my SurfaceView or inside a stream that processes drawing and physics?

Thank!

+3
source share
1 answer

, , , , , . , , . , .

, ,

+1

All Articles