Making Game Images
@BootstrapWorld
The Game Starter File
By now you’ve learned about defining values, composing functions, and reading contracts.
Taken together, that’s a lot of code you’re now able to understand!
It’s time to flex your reading skills, and look at the file you’ll be working with to build your video game.
The Game Starter File
Read through the Blank Game Starter File.
This file contains a lot of code! Some of it you haven’t seen before.
Going line-by-line, talk with your group about what you think each line does.
The Game Starter File
Finding Your Game Images
image-url :: String -> Image
Finding Your Game Images
Finding Your Game Images
Find an image you like, making sure it’s transparent. Then save it using a good name.
Finding Your Game Images
Upload to GDrive, and make sure sharing settings allow anyone with the link to view.
Finding Your Game Images
Open your game file, click “Images”, and select an image
It will insert the code to display the image using image-url.
Finding Your Game Images