Hi
can have the hotspot transition?
example: There is a locked drawer with hotspot, I click the drawer locked and activates the hotspot with open drawer bye the variable.
I can to have a transition when hotspot with the drawer open appear?
Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
LeftPos = Hotspot(Action.GetHotspotNumber).Left
TopPos = Hotspot(Action.GetHotspotNumber).Top
Shake = 45 'this is the amount of shake
for x=0 to 5000
Hotspot(Action.GetHotspotNumber).Move LeftPos - Shake, TopPos
Hotspot(Action.GetHotspotNumber).Move LeftPos + Shake, TopPos
if x = 4000 then
Action.LoadAPicture Hotspot(Action.GetHotspotNumber), "two.jpg" ' <--- change two.jpg to your resulting image file that you want to ultimately display
end if
next
Hotspot(Action.GetHotspotNumber).Move LeftPos, TopPos
Hotspot(Action.GetHotspotNumber).Enabled = False
LeftPos = Hotspot(Action.GetHotspotNumber).Left
TopPos = Hotspot(Action.GetHotspotNumber).Top
Shake = 45 'this is the amount of shake
if DoTransition = 0 then
for x=0 to 5000
Hotspot(Action.GetHotspotNumber).Move LeftPos - Shake, TopPos
Hotspot(Action.GetHotspotNumber).Move LeftPos + Shake, TopPos
if x = 4000 then
Action.LoadAPicture Hotspot(Action.GetHotspotNumber), "two.jpg" ' <--- change two.jpg to your resulting image file that you want to ultimately display
end if
next
Hotspot(Action.GetHotspotNumber).Move LeftPos, TopPos
DoTransition = 1
End If
Return to Adventure Maker Technical Support and Bug Reports
Users browsing this forum: No registered users and 0 guests