Change the canvas background image everytime

Hi I am making a game.
I am using a canvas in it.
I want to change the background everytime, like set the canvas background image this this or this

Use a conditional statement as shown in Programming Your App to Make Decisions with a set Canvas.BackGroundImage to Block .

Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps

How to do a lot of basic things with App Inventor are described here: How do you...? .

Also look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here Tutorial Index | Imagnity for more tutorials

Learn about components Component Reference
and visit the Library The MIT App Inventor Library: Documentation & Support Help>Library on the MENU

2 Likes

Smthing this way,

  1. Randomly

  2. Sequentially

Or smthing your way...

Thank you very much rnareshu
It worked

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.