Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 70 - Playgujarati_V1.0
P. 70

    mnkgj.k 2% cftax cx (èofu tksM+uk) [Buzzing Bug (Adding Sound)]

                      LVsi 1  CykWd  when     clicked  dks bosaV CykWd esuw ls MSªx djsaA

                                      forever
                      LVsi 2  CykWd               dks oaQVªksy CykWd esuw ls MSªx djsaA

                      LVsi 3  vc] fn•k, x, vuqlkj CykWd dks ges'kk osQ fy, CykWd osQ vanj MSªx djrs
                              j•saA Øe'k% eku cnysaA

                                move   50 steps  ;g LçkbV dks vkxs vkSj ihNs ys tk,xkA

                                play sound pop  ;g ,d ikWi lkmaM ctk,xkA

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

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

                                  change color   effect by  50   ;g LçkbV dk jax cny nsxkA

                                if on edge, bounce   ;g LçkbV LVs”k osQ fdukjs rd igq¡pdj LizkbV esa mNky (bounce) yk,xkA

                         68  Play (Ver. 1.0)-IV

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