![]() It was easy to make the butterfly move up and then down again every time the up key was pressed, but it didn't feel right as it was lacking any form of gravity coding. This was actually the hardest part of the whole game and the part that needed me to turn to the excellent Scratch Forums. Stage 2 - Programming the movement of the butterfly I have no doubt the appearance of my floor and pillar can be improved, but it's an important programming concept to understand that this should be added later and is a separate skill to that of programming. This works far better with solid colours rather than gradients. When drawing the sprites for the pillar and the floor I decided to use simple colours as I knew I would be using Scratch's 'if touching colour' block to sense for any collisions. I also decided to add a simple background image to improve the look of the game, although this could have easily been added at the end.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |