Wednesday, December 5, 2007

problems that have arised / solutions

The making of the assignment i found was quite easy. In other words it never took long to complete a particular section as it seemed to be very easy to construct.

the positives/easy things of my assignment were:
Movement was easy to make as well as the constant costume change for my bat sprite. Other things which were quite straight forward were the making of my backgrounds and other sprites (the flying rocks).
it took me about 15 minutes and some playing around to get the sprites to start up in a particular position and to only start up once the 'start' button was pressed.
For the sprites i used the broadcast command so that when the start 'button/sprite' was clicked they would start up i used the forever command to wrap this up and put in the command when 'recieved start broadcast' go to x=90, y=-231. To get them to start moving in random directions i used the forever loop again but also used move 0.5 steps so it wouldn't be to fast and turn anti-clockwise 0.5 and clockwise 0.6. but to make it different for each sprite i would slowly change the direction so instead of 0.5 i would put 0.4 and for 0.6 i would put 0.3 or something.

The only other major thing i had problems with was the background changing costume and setting my bat sprite to the left hand side again when it reaches the end of the page on the right. The solution to this problem was to make a slightly different brown line to the very right which blended in well to the background. once the sprite went over this colour it broadcasted 'next which then sended a message to the backgrounds to go next. During the progress i use the hide command to hide my sprite and then use the set command to set my sprite back to x=110, y=-199. or some other number. after its set the next command is show and the process starts again. All this is wrapped in a forever loop.

nothing else has been that hard to manage most of my time was trying to set the above right.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home