Académique Documents
Professionnel Documents
Culture Documents
La lgica:
Cada Monito tiene un nombre: cb_1 , cb_2, cb_3 , cb_4 , cb_5
PASO2:
CREAR UNA IMAGEN QUE SE LLAME p_ganar
CREAR UNA IMAGEN QUE SE LLAME p_PERDER
il_uno= 1
timer(0.10)
PASO4:
Cdigo: poner evento TIMER
il_uno = il_uno + 40
cb_1.y = 0 + il_uno
cb_2.y = 0 + il_uno
cb_3.y = 20 + il_uno
cb_4.y = 50 + il_uno
cb_5.y = 20 + il_uno
if cb_1.y > 812 or cb_2.y > 812 or cb_3.y > 812 or cb_4.y > 812 or cb_5.y > 812 Then
p_perder.visible=true
End if
if cb_1.visible= false and cb_2.visible= false and cb_3.visible= false and cb_4.visible= false and
cb_5.visible= false then
p_ganar.visible=true
end if
visible=false