Week 13

It was much harder than I expected to get the sprites into my game. I made them quite easily but I needed to email them to myself to access them on the raspberry pi. I added them into my code and tried to draw them on the surface but it wasn’t working. I thought it might be just one of the sprites but I tried them all and none of them worked. Then, after more time than I would have liked, I realized I was missing a piece of code to actually draw them. When I figured that out it worked but they had a white background which blocked the actual background. In order to fix it I put them in photoshop and deleted all the white around them so they would have a transparent background. Then I had to email the new versions to my raspberry pi and put them into my game.

After that I started on the movement. In order to make movement work you have to make an invisible rectangle to represent the character then move that and make it so the character moves with it. I haven’t had time to figure out why but the rectangle isn’t working. Tonight I am going to work on and hopefully figure out why the rectangle isn’t working and then I’ll finish the movement and make the level throughout the week. I also worked on the script for my final presentation.

Leave a Reply

Your email address will not be published. Required fields are marked *