Here is the scenario of my first game attempt: a Princess is travel on a grass path to collect precious gems. She start travel only after the press of Play button if she collide with a direction "Arrow".
For travel direction I have 4 Arrow buttons (Right, Left, Up, Down). All the graphic in my game are "button's" for some reason I am not using "image".
This is the problem I am facing right now: the Play button runs the flowing script after is pressed
Code: Select all
on mouseUp
if intersect(button "Princess" , button "Right", "pixels" ) then
move button "Princess" to the loc of button "Block2" in 3 seconds
put true into got1
hide button "Gem1"
disable button "Gem1"
else
if intersect(button "Princess" , button "Up", "pixels" ) then
move button "Princess" to the loc of button "Block3" in 2 seconds
hide button "Gem2"
disable button "Gem2"
end if
end if
end mouseUp
Currently my Princess starts travel to "Block2" and it stops there, she is "intersect" with the button "Up" but does not move upward. If "Play" is pressed again
she starts moving "Up"-ward. How can I make it to travel with no stop if she is intersecting the direction arrows ?
Appreciate all the help and guidance I can get !
Catalin