Question about Highres Graphics

Général

nh_cham

il y a 6 ans

Hey,

I got my Gamebuino META yesterday and from the code on GitHub it seems that the Gamebuino supports 160x128 pixels at 16 colors (which I hope will be free to choose?)... so I wanted to try this mode and put this right at the beginning of my code:

#define DISPLAY_MODE DISPLAY_MODE_INDEX

before including Gamebuino-Meta.h ...in the hopes of somehow triggering the line in config.h where it defines the constructor based on the DISPLAY_MODE macro. 

But this doesn't work and I'm wondering if maybe you thought about adding support for high res graphics but eventually didn't implement it? Any feedback is much appreciated!

Greetings from Berlin,
Micha.

nh_cham

NEW il y a 6 ans

Damn, found the answer right after posting this. Sorry! Everything I was looking fro can be found in examples/5.Tests/DisplayDynamic. Woo-hoo!

Sorunome

NEW il y a 6 ans

For global settings the correct way is to use config-gamebuino.h, you can find more on that here: https://gamebuino.com/creations/config-gamebuino-h

nh_cham

il y a 6 ans

Thanks! Also: Is there a way to define the 16 colors of the palette?

nh_cham

NEW il y a 6 ans

Sorunome Sorunome

Thanks! Also: Is there a way to define the 16 colors of the palette?

Sorunome

NEW il y a 6 ans

We just had a discussion on that here, i hope that'll help! ^.^

nh_cham

il y a 6 ans

Merci beaucoup!

nh_cham

NEW il y a 6 ans

Sorunome Sorunome

Merci beaucoup!