This site requires JavaScript, please enable it in your browser!
Greenfoot back
1920
1920 wrote ...

2015/3/17

How do add GIFs on Greenfoot ?

1920 1920

2015/3/17

#
I want to add GIFs on my game in the case I win or loose
danpost danpost

2015/3/17

#
Import the image files into your project. You can right-click on any class icon and select 'setImage.'; then, import the file from your file directory into the project. Afterwards. you can reset the image of the class as needed. Once the image files are in the images folder of your project, which is where importing the file will copy them to, you can then use them in your project. I am aware I explained it in a bit of an awkward way; but, I cannot know whether you have separate classes for WinScreen and LoseScreen, which you can 'setImage' to immediately upon the import or not.
You need to login to post a reply.