6) ANY ADVICES

  • "When green flag is clicked". Usually this is the beginning of codes. When there are movements or other changes it's necessary to make a first resetting!
    for example:
    go to X and Y (if the sprite will be moved)
    point to 90° (if the sprite will be rotate)
    show (if the sprite will be hidden)
    clear graphic effects (if the sprite will receive effects)


    Pay attention to the difference between SET and CHANGE.
    SET put the parameter to a value, fixed!
    CHANGE add something to the parameter


    USE NEGATIVE VALUES
    Remember the temperature, in the winter, 4 3 2 1 0.... then -1   -2   -3 brrrrrr


    SOUNDS
    use always sounds... you have just to add only one instruction

     

     

    MAKE A QUIZ
    In "SENSING" menu use ASK ... AND WAIT

     

    "Quand le drapeau vert est cliqué". C'est avec cela que commencent habituellement les codes.
    Quand il y a des mouvements ou d'autres changements, il est nécessaire de remettre les positions ou autres au point de départ.
    Par exemple :
    va à X et Y (si le lutin doit bouger)
    tourne à 90° (si le lutin doit tourner)
    montrer (si le lutin a été caché)
    ôter les effets graphiques (si des effets graphiques ont été rajoutés)


    Attention à ne pas confondre METTRE et AJOUTER.
    METTRE donne une valeur à un paramètre
    AJOUTER ajoute quelque chose au paramètre

     

    UTILISER DES VALEURS NEGATIVES
    Rappelle-toi de la température en hiver,  4 3 2 1 0.... puis  -1   -2   -3 brrrrrr


    SONS
    N'hésite pas à rajouter du son... tu n'as qu'une ligne d'instruction à écrire.

     

     

    FAIRE UN QUESTIONNAIRE
    Dans le menu "CAPTEURD" utilise DEMANDE ... ET ATTENDS