mardi 28 juin 2016

animazione domino

salve a tutti
avete presente il domino?
bene il 1 cade sul 2
quindi cadono 1 e 2 fino al 3
poi il 2 e 3 fino al 4
poi il 3 e 4 fino 5 e cosi via
lo avevo pensato cosi

Code:
  Sub ruota1_AnimationEnd
RuotaB
End Sub
Sub ruota2_AnimationEnd
End Sub
Sub RuotaA
If Not(MuoveA.IsPaused) Then MuoveA.Start(Pezzi(Xa,Ya))
End Sub
Sub RuotaB
Xb=Xa
Yb=Ya
Xa=Xa+
1
Log(Xa & " " & Xb)
If Xa=5 Then Return
If Not(MuoveA.IsPaused) Then MuoveA.Start(Pezzi(Xa,Ya))
If...
animazione domino

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/292rXBU
via IFTTT

Aucun commentaire:

Enregistrer un commentaire