How to reduce Android screen resolution to support low memory

Hi, I am encountering a problem with low memory in my game due to the large number of bitmaps.i and their disposal, but is there any way to reduce the screen resolution of the screen (game) to support low memory?

+3
source share
3 answers

there are BitmapOptions, if I'm not mistaken, one of them does what Diadistis offers. Take a look at this class that it can help you. Do you work in java or NDK?

0
source

You can do pixel doubling. This will effectively reduce the screen resolution to half.

+1
source

, . / ?

0
source

Source: https://habr.com/ru/post/1781786/


All Articles