Problems with drawables in 2D game

Problems with Canvas, OpenGL, etc...

Problems with drawables in 2D game

Postby Kiy0shix24 » Fri Apr 08, 2011 6:17 am

Hey guys,
I'm working on a 2D game for android, but I keep running into problems when attempting to use drawables with a surfaceview. When assigning a image to a drawable I am only allowed up to around 2 mb of total space from the drawables. Then I start getting null pointer exceptions when trying to draw the image or set the bounds. So in the end I have two questions:

1. Is there a limit to the amount of space to be used for drawables?

2. Is there a more effective way to draw images with a surfaceview?
Once Poster
Once Poster
Posts: 1
Joined: Fri Apr 08, 2011 6:02 am


Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 4 guests