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.
294/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.
Membuat Bola memantul, seolah-olah dari dinding. Untuk pemantulan normal, argumen tepi harus yang dikembalikan oleh EdgeReached.
145
Indicates whether a collision has been registered between this Ball and the passed sprite (Ball or ImageSprite).
Menunjukkan apakah tabrakan telah dicatat antara Bola ini dan sprite yang lewat (Bola atau SpriteGambar).
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.
Penangan acara dipanggil saat Bola diseret. Pada semua panggilan, koordinat awal adalah tempat layar pertama kali disentuh, dan koordinat "saat ini" menggambarkan titik akhir segmen garis saat ini. Pada panggilan pertama dalam tarikan tertentu, koordinat "sebelumnya" sama dengan koordinat awal; selanjutnya, mereka adalah koordinat "saat ini" dari panggilan sebelumnya. Perhatikan bahwa Bola tidak akan benar-benar bergerak ke mana pun sebagai respons terhadap peristiwa Diseret kecuali MoveTo dipanggil secara eksplisit. Untuk pergerakan yang mulus, masing-masing koordinatnya harus disetel ke jumlah nilai awalnya dan perbedaan antara nilai saat ini dan sebelumnya.
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).
Event handler dipanggil saat Bola mencapai tepi layar. Jika Pantulan kemudian disebut dengan tepi itu, Bola akan tampak memantul dari tepi yang dicapainya. Tepi di sini direpresentasikan sebagai bilangan bulat yang menunjukkan salah satu dari delapan arah utara (1), timur laut (2), timur (3), tenggara (4), selatan (-1), barat daya (-2), barat (-3) , dan barat laut (-4).
148
Controls whether the Ball moves and can be interacted with through collisions, dragging, touching, and flinging.
Mengontrol apakah Bola bergerak dan dapat berinteraksi dengannya melalui tumbukan, tarikan, sentuhan, dan lemparan.
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.
Penangan acara dipanggil saat gerakan lempar (gesek cepat) dilakukan pada Bola yang diaktifkan. Ini memberikan koordinat x dan y dari awal lemparan (relatif terhadap kiri atas kanvas), kecepatan (piksel per milidetik), heading (0-360 derajat), dan komponen kecepatan x dan y dari vektor lempar.
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.
Mengembalikan heading Bola dalam derajat di atas sumbu x positif. Nol derajat mengarah ke kanan layar; 90 derajat mengarah ke atas layar.
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.
Interval dalam milidetik saat posisi Bola diperbarui. Misalnya, jika intervalnya adalah 50 dan kecepatannya adalah 10, maka setiap 50 milidetik sprite akan bergerak 10 piksel ke arah yang dituju.
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.
Memindahkan Bola kembali ke dalam batas jika bagiannya keluar dari lapangan, tidak memiliki efek sebaliknya. Jika Bola terlalu lebar untuk muat di kanvas, ini akan menyelaraskan sisi kiri Bola dengan sisi kiri kanvas. Jika Bola terlalu tinggi untuk muat di kanvas, ini akan menyelaraskan sisi atas Bola dengan sisi atas kanvas.
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.
Mengatur koordinat x dan y dari Bola. Jika CenterAtOrigin benar, bagian tengah Bola akan ditempatkan di sini. Jika tidak, tepi kiri atas Bola akan ditempatkan pada koordinat yang ditentukan.
154
Moves the origin of Ball to the position of the cooordinates given by the list formatted as [x-coordinate, y-coordinate].
Memindahkan asal Bola ke posisi koordinat yang diberikan oleh daftar yang diformat sebagai [koordinat x, koordinat y].

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_id.properties, string 149
Failing checks