Drawing multiple images on a canvas

Problems with Canvas, OpenGL, etc...

Drawing multiple images on a canvas

Postby acriib » Sat Oct 09, 2010 5:21 am

I am in the beginning stages of developing my first 2d puzzle game (7x7 grid kind of like bejeweled), and looking for the best method to implement the following:

draw 49 random pieces(from 7 original pngs) on the board that can be moved around without redrawing the whole board. I can get this drawn out nicely with a basic for loop using BitmapFactory.decodeResource(getResources(),... but Im not sure where to go from here plus when I change the screen orientation the pieces regenerate randomly. Any help pointing me in the right direction would be greatly appreciated.

Posts: 7
Joined: Sun Oct 03, 2010 7:05 pm


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

Who is online

Users browsing this forum: No registered users and 2 guests