Languages & Environments


Code example: BYOB (Build Your Own Blocks)



Download 2.16 Mb.
Page8/10
Date28.05.2018
Size2.16 Mb.
#51457
1   2   3   4   5   6   7   8   9   10

Code example: BYOB (Build Your Own Blocks)


BYOB is an example of an object-oriented language used to teach programming. In this example, the boy sprite has inherited the attributes of the general sprite class, but has the additional specific attributes of several costumes to give a walking animation effect. It communicates with the stage when it is touching the edge by sending a message. When the stage receives the message it changes its background attribute to display the next image.






Download 2.16 Mb.

Share with your friends:
1   2   3   4   5   6   7   8   9   10




The database is protected by copyright ©ininet.org 2024
send message

    Main page