Lowest price ever! Learn Generative AI for 48% less!
Get my discount0
What is the technology behind mobile gaming? What happens on hardware and software side while we play games on smartphone
While playing smartphone games like car racing games or cricket, what exactly goes on in the hardware registers and memory, and how is it coded. For example, whats actually happening inside the phone when we tilt our phone to make the car go left in a mobile car racing game?
3 Answers
+ 4
the official android developers site is fairly detailed, however not deeply, when it comes to this stuff.
Sensors, for example https://developer.android.com/guide/topics/sensors/sensors_overview
it's difficult to truly say since we'll need datasheets, hardware has become more powerful amd discreet, and since android was (still is?) open source, many companies jumped on and made their own rendition so not all methods are the same, though likely similar. Probably have separate chips for handling different hardware tasks rather than routing everything to the cpu like the old days.
The Java libraries specific to the Android OS make it easy for developers to track hardware triggers.
generally, cpu, gpu, and ram are involved and coding wise, game engines are popular for bigger projects to make things easier and development faster so not even most devs know how it works in the electric level
+ 1
Also a alernative to this is that most large Game are build with much faster language like C++ ,C#
Example of this is the Unity and Build Box game engine
0
Most of mobile game are created on the android platform , for what happen in the background it depend on the developer language of choice and how things should be store in the phone memory for Java we know that class are store
in the method Area
Object are store in the heap
and method local variable are store in the stack runtime