Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove background color options and drawing code #30

Open
zachberry opened this issue May 7, 2014 · 1 comment
Open

Remove background color options and drawing code #30

zachberry opened this issue May 7, 2014 · 1 comment

Comments

@zachberry
Copy link
Collaborator

The newest update uses background images which negates the need to draw a background single color sprite.

Need to remove any config code and drawing code relating to that background sprite.

@zachberry zachberry added this to the 0.1 Ash Ketchum milestone May 7, 2014
@mholgatem
Copy link
Contributor

Either solid background color or background image can be specified, But you are right about removing extraneous code; so, now a 'background sprite' is filled with the solid color, then overlayed with background image (if present) and that 'background sprite' is used rather than screen.fill -> screen.blit(background_image).

Much faster and more efficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants