how do i load bmp from the sd ?

Help & questions

Come

6 years ago

hello,

I'm doing my first game and i don't know how to load a 80x64px .bmp file from my SD card to the gamebuino screen 


also is it possible to do like something like this (i've done something quickly to show you what i mean)


so it's like an interactive story where you have always like 2 choices 

in this case you are robbing a store but cops are here and you have 2 choices 


by pressing the A button you give your weapon to the cops and give up


by pressing B buttons you try to shoot cops 


it'll be always bmp with 80x64res 


then my question is what am i supposed to write on the arduino IDE to load the A choice or the B choice

like i push a button an image will pop and if i press b button another one will pop

again it's done quickly so it's not very pretty

thx a lot if you answer me <3

Sorunome

NEW 6 years ago

What ways have you tried already? Where are you stuck?

Come

6 years ago

I tried to do as written here 


https://gamebuino.com/creations/images

i have the bmp in the SD card and i wrote the path to the image in the IDE 

Come

NEW 6 years ago

Sorunome Sorunome

I tried to do as written here 


https://gamebuino.com/creations/images

i have the bmp in the SD card and i wrote the path to the image in the IDE