Sign in to follow this  
Udovis Devoh

Android: 2D game: drawing on canvas, more than one View VS doing more blits

Recommended Posts

Udovis Devoh    129

I'm working on a sprite based 2D game. I have 2 views in my activity. One for sprite, one for the background image.

From your experiences, which of the two is fastest:

 

Drawing the background and the sprites on the same View

OR

Having two Views (one with the background, one with sprites) so there are 2 "layers".

 

Thank you!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this