How to Create Custom Image
The Python Microbit reference shows how to make a custom boat image, which you can see pictured at the bottom. Here is the code: from microbit import * boat = Image( "05050:" "05050:" "999999:" "09990" ) display.show(boat)
The Python Microbit reference shows how to make a custom boat image, which you can see pictured at the bottom. Here is the code: from microbit import * boat = Image( "05050:" "05050:" "999999:" "09990" ) display.show(boat)
So, you know how to make a simply pygame window, and now you want to do something a bit more interesting, aye? How do you add an image to your pygame surface ? In this quick tutorial, we’ll show you exactly that. So that your finished product will look like is the following picture : … Continue reading Pygame Add Image to Surface →