Translate

Event handler called when a fling gesture (quick swipe) is made on an enabled Ball. This provides the x and y coordinates of the start of the fling (relative to the upper left of the canvas), the speed (pixels per millisecond), the heading (0-36-180 to 180 degrees), and the x and y velocity components of the fling''s vector.
# Description:
Ball__FlungEventDescriptions
Event handler called when a fling gesture (quick swipe) is made on an enabled Ball. This provides the x and y coordinates of the start of the fling (relative to the upper left of the canvas), the speed (pixels per millisecond), the heading (-180 to 180 degrees), and the x and y velocity components of the fling''s vector.
352/3220
SourceTranslationState
144
Makes the Ball bounce, as if off a wall. For normal bouncing, the edge argument should be the one returned by EdgeReached.
Ստիպում է գնդակին անդրադառնալ, այնպես, ինչպես պատից։ Նորմալ անդրադարձի համար եզրի արգումենտը պետք է վերադարձված լինի ՀասավԵզրին-ի կողմից։
145
Indicates whether a collision has been registered between this Ball and the passed sprite (Ball or ImageSprite).
Ցույց է տալիս, թե արդյոք գրանցվել է բախում Գնդակի և անցած սպրայտի միջև (Գնդակ կամ ՊատկերիՍպրայտ)։
146
Event handler called when a Ball is dragged. On all calls, the starting coordinates are where the screen was first touched, and the "current" coordinates describe the endpoint of the current line segment. On the first call within a given drag, the "previous" coordinates are the same as the starting coordinates; subsequently, they are the "current" coordinates from the prior call. Note that the Ball won''t actually move anywhere in response to the Dragged event unless MoveTo is explicitly called. For smooth movement, each of its coordinates should be set to the sum of its initial value and the difference between its current and previous values.
Ազդակի կարգավորողը կանչվում է, երբ Գնդակը քաշված է (Ball is dragged)։ Բոլոր կանչերի ժամանակ սկզբնական կոորդինատները այնտեղ են, որտեղ էկրանը առաջին անգամ հպվում է, և "ընթացիկ" կոորդինատները բնութագրում են ընթացիկ գծի սեգմենտի վերջնակետը։ Սկզբնական կանչի ժամանակ տրված տեղափոխման միջակայքում "նախկին" կոորդինատները նույն սկզբնական կոորդինատներն են․ հետևաբար դրանք նախորդող կանչի "ընթացիկ" կոորդինատներն են։ Նկատենք, որ իրականում Գնդակը ոչ մի տեղ չի շարժվում՝ ի պատասխան Քաշված ազդակի, մինչև ՇարժելԴեպի-ն հստակորեն չի կանչվում։ Սահուն շարժան համար այս կոորդինատներից յուրաքանչյուրը պետք է սահմանվի որպես իր սկզբնական արժեքների գումար և որպես իր ընթացիկ ու նախկին կոորդինատների տարբերություն։
147
Event handler called when the Ball reaches an edge of the screen. If Bounce is then called with that edge, the Ball will appear to bounce off of the edge it reached. Edge here is represented as an integer that indicates one of eight directions north (1), northeast (2), east (3), southeast (4), south (-1), southwest (-2), west (-3), and northwest (-4).
Ազդակի կարգավորող, որը կանչվում է, երբ Գնդակը հասնում է էկրանի եզրին։ Եթե այնուհետև այդ եզրից կանչվում է Անդրադարձը, Գնդակը կանդրադառնա այն եզրից, որին հասել է։ Այստեղ եզրը ներկայացվում է որպես ամբողջ թիվ, որը ներկայացնում է 8 ուղղությոններից մեկը` հյուսիս (1), հյուսիս-արևելք (2), արևելք (3), հարավ-արևելք (4), հարավ (-1), հարավ-արևմոտք (-2), արևմուտք (-3) և հյուսիս-արևմուտք (-4)։
148
Controls whether the Ball moves and can be interacted with through collisions, dragging, touching, and flinging.
Կառավարում է, թե արդյոք Գնդակը շարժվում է և կարող է շփվել բախումների, քաշելու (dragging), հպվելու և արագ սահեցնելու (flinging) միջոցով:
149
Event handler called when a fling gesture (quick swipe) is made on an enabled Ball. This provides the x and y coordinates of the start of the fling (relative to the upper left of the canvas), the speed (pixels per millisecond), the heading (-180 to 180 degrees), and the x and y velocity components of the fling''s vector.
Ազդակի կարգավորող, որը կանչվում է, երբ արագ սահեցնելու (fling gesture (quick swipe)) շարժում է կատարվում ակտիվացված Գնդակի վրա։ Այն տրամադրում է արագ սահքի սկզբնական x և y կոորդինատները (կտավի վերին ձախ մասի նկատմամբ), արագությունը (պիքսելներ միլիվարկյանում), ուղղությունը (0-360 աստիճան), և արագ սահքի (fling) վեկտորի x և y հաճախության բաղադրիչները։
150
Returns the Ball''s heading in degrees above the positive x-axis. Zero degrees is toward the right of the screen; 90 degrees is toward the top of the screen.
Վերադարձնում է Գնդակի վերնագիրը աստիճաններով՝ դրական x-առանցքի վերևում։
0 աստիճանը էկրանի աջ կողմում է․
90 աստիճանը էկրանի վերին մասում է։
151
The interval in milliseconds at which the Ball''s position is updated. For example, if the interval is 50 and the speed is 10, then every 50 milliseconds the sprite will move 10 pixels in the heading direction.
Միջակայքը միլիվարկյաններով, որի ընթացքում Գնդակի դիրքը թարմացվում է։
Օրինակ, երբ միջակայքը 50 է և արագությունը 10, ուրեմն ամեն 50 միլիվարկյանում սպրայտը կշարժվի 10 պիկսել վերնագրի ուղղությամբ։
152
Moves the Ball back in bounds if part of it extends out of bounds, having no effect otherwise. If the Ball is too wide to fit on the canvas, this aligns the left side of the Ball with the left side of the canvas. If the Ball is too tall to fit on the canvas, this aligns the top side of the Ball with the top side of the canvas.
Գնդակը շարժում է հետ՝ դեպի սահմաններ, եթե դրա մի մասը սահմաններից դուրս է գալիս՝ հակառակ դեպքում ոչ մի ազդեցություն չթողնելով։ Եթե գնդակը շատ լայն է կտավի ներսում տեղավորվելու համար, այն հավասարեցնում է Գնդակի ձախ կողմը կտավի ձախ կողմի հետ։ Եթե Գնդակը շատ բարձր է կտավի ներսում տեղավորվելու համար, այն հավասարեցնում է Գնդակի վերին կողմը կտավի վերին կողմի հետ։
153
Sets the x and y coordinates of the Ball. If CenterAtOrigin is true, the center of the Ball will be placed here. Otherwise, the top left edge of the Ball will be placed at the specified coordinates.
Սահմանում է Գնդակի x և y կոորդինատնարը: Եթե ՍկզբնականԿենտրոն-ը ճշմարիտ է, Գնդակի կենտրոնը կտեղադրվի այստեղ։ Հակառակ դեպքում՝ Գնդակի վերին ձախ եզրը տեղադրված կլինի սահմանված կորդինատներում։
154
Moves the origin of Ball to the position of the cooordinates given by the list formatted as [x-coordinate, y-coordinate].

Loading…

Loading…

Things to check

Glossary

Source Translation
No related strings found in the glossary.

Source information

Context
Ball__FlungEventDescriptions
Comments
# Description:
Source string age
3 years ago
Translation file
appinventor/appengine/src/com/google/appinventor/client/OdeMessages_hy.properties, string 149
Failing checks