Help with VB[solved]

This forum is meant for posting anything related to Adventure Maker that doesn't fit in the other forums.Please post technical questions in the Technical Support Forum!

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Help with VB[solved]

Postby KirkAHub » Sat Nov 26, 2005 12:33 am

Several months ago (before we lost all the the discussion threads) I found a way to use VB so that when I clicked anywhere on the screen during game play (on a frame that I included the VB script) I could cause a picture from resources to appear at the spot where I clicked the mouse.

I forgot how I did it. Can anyone think of a way to do this?

Thanks,

Kirk
Kirk
KirkAHub
Member
 
Posts: 38
Joined: Mon Jun 16, 2003 6:37 pm
Location: Austin, TX

Postby Candle » Sat Nov 26, 2005 12:46 am

Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3077
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby KirkAHub » Tue Nov 29, 2005 4:53 am

I remembered :-) I found an old game experiment that I put together many months ago. I created a hotspot with a picture but set a variable so that the picture could not be seen until another hotspot was clicked setting the variable to 1. Then in the second hotspot I put the following VB script in. The script moves the hotspot to where I clicked and adjusts its size. This way I can move a Gif pic with transparancy anywhere on the screen during game play. This is for a puzzle where a device is used to break a code.

Hotspot(9).Move Action.GetClickPositionX*15-43*15 ,Action.GetClickPositionY*15-295*15 ,200*22,205*22

Kirk
Kirk
KirkAHub
Member
 
Posts: 38
Joined: Mon Jun 16, 2003 6:37 pm
Location: Austin, TX


Return to Adventure Maker General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests