Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 69 - Playgujarati_V1.0
P. 69

    fLØIV cukuk (Creating a Script)
                     fLØIV ,d çksxzke dk nwljk uke gSA vkb,] oqQN fLØIV cuk,¡A

                     mnkgj.k 1% VkWfdax ,aM tafiax LizkbV (Talking and Jumping Sprite)

                     LVsi 1  CykWd   when    clicked   dks bosaV CykWd  esuw ls MSªx djsaA xzhu ÝySx ij fDyd djus osQ ckn ;g
                             CykWd lfØ; gks tk,xkA

                     LVsi 2  LçkbV dh çkjafHkd fLFkfr fu/kZfjr djus osQ fy, CykWd  go  to  x: 0  y: 0  dks eks'ku CykWDl esuw ls
                             MSªx djsaA

                                    forever
                     LVsi 3  CykWd               dks oaQVªksy CykWd esuw ls MSªx djsaA iQkWj,oj CykWd osQ vanj osQ lHkh CykWd LVkWi

                             cVu ij fDyd gksus rd pyrs gSaA

                     LVsi 4  vc] fn•k, x, vuqlkj CykWd dks iQksj,oj CykWd (Forever block) osQ vanj MSªx djsa vkSj j•saA
                             Øe'k% oSY;wl (Values) cnysaA

                                 next costume  LizkbVl dkWLV~;we dks usDlV esa cny nsxkA

                                 Change y by 100  vkSj  Change y by -100  LçkbV dh fLFkfr dks cny nsxkA

                                 wait  0.2  secs  vxys CykWd esa tkus ls igys fLØIV dks fufnZ"V le; osQ fy, jksd nsxkA

                                  say Hello!  for 1  secs  fufnZ"V le; osQ fy, lans'k çnf'kZr djsxkA

                             oaQI;wVj

                                  Kku        LVs”k ij x vkSj y dh fLFkfr tkuus osQ fy,] ekml dks b/j&m/j ?kqek,¡ vkSj

                                             LVs”k osQ nk,¡ dksus ij x vkSj y osQ oSY;wl (Values) dks ns•saA

                                                                                                   LozSQp ij vf/d   67

| 64 65 66 67 68 69 70 71 72 73 74 |