panorama picture and 3 ...

This forum is meant for requesting technical support or reporting bugs.

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

panorama picture and 3 ...

Postby Ron_Emad2 » Wed Nov 19, 2008 5:41 am

Hello Dear Friend
i come back with 3 question :lol:
please help me :oops:
question 1 :
i want build panorama picture with this technic:
i want scrool in one picture
i have a panorama picture
i want see a static view and when i click in top or left or down or right it scrol on the picture
it is sample panorama in multimedia builder
in this program
you see static picture and when you click beside (top.down and ...) it scrol in the picture
whith thanks
2.i want build inventory menu like all adventure game (when click right you see menu and inventory.like the return to mysterious islan or echo or syberia or ....)
( i think it can with keygurd but i cant work with this,if it true please build a sample about inventory with this plugin :oops: )
3.in ad when you see a box (for save or load or error or ...)it use windows box graphic , can i change it?
with thanks
emad rahmani
Hello
I from iran
i cant speak english correctly
please forgive me
User avatar
Ron_Emad2
Active Member
 
Posts: 85
Joined: Fri Oct 13, 2006 12:08 pm
Location: Iran-Kashan

Postby Ron_Emad2 » Wed Nov 19, 2008 8:36 pm

hello
there is no one to answer me ?
please help
help please
with thanks
emad
Hello
I from iran
i cant speak english correctly
please forgive me
User avatar
Ron_Emad2
Active Member
 
Posts: 85
Joined: Fri Oct 13, 2006 12:08 pm
Location: Iran-Kashan

Postby mercedes » Wed Nov 19, 2008 9:25 pm

Well not sure if i can answer all of your questions..but i think Keygaurd is the right plugin for what u want..If u download the suite, Keyguard Suite, it has demos.

With KeyGaurd it's just a matter of enabling it in the Projects Properties menu, and then using the [keys-ID'S]


Make the inventory, or a picture with the word "Inventory" Also the Word "Menu" and also have a Knife and Gun ..lets say for inventory pictures.


Example

'Depending in the received KeyID (see list below) perform an action
'--------------------------------------------------------------

'100 = Right mouse button down
'101 = Right mouse button up

'102 = Left mouse button down
'103 = Left mouse button up
'105=left double click

Code: Select all
Sub KeyGuard_MouseButtonPressed(KeyID)
 

 Dim XPos, YPos               
 XPos = Cint(Component("KeyGuard").Object.MouseXPos)
 YPos = Cint(Component("KeyGuard").Object.MouseYPos)



Select Case KeyID(0)
                           
Case  100---Right Mouse button Down
Action.LoadAPicture Hotspot(1),"Menu.jpg"

Case  101--Right Mouse button UP
Gun =1
If Gun=1 Then
Action.LoadAPicture Hotspot(3), "Gun.jpg"   
End if
If Knife = 1 Then
Action.LoadAPicture Hotspot(4),"Knife.jpg"
End If

Case 105--------Pick whichever one u want..
Action.LoadAPictureHotspot(2), "Inventory.jpg"
         

   End Select

   

End Sub


You can also work with the variable tabs to hide and unhide inventory pictures.
Or work it into the Procedure..You can also do a Select case with inventory pictures as well..This is just done quickly to show u..

In the Frame Properties, make sure you have the KeyID Hotspot vbs script in there..If needed...in this case it's not needed..:)

.As for the windows scheme box that comes up on "Load Game or Exit" --CHange your scheme..Is all i have, i don't think there is anything else you can do..:(

Peace
Last edited by mercedes on Thu Nov 20, 2008 9:23 am, edited 3 times in total.
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Ron_Emad2 » Thu Nov 20, 2008 5:50 am

oh thanks mercedes :oops:
i try to do it
about question 1 any one can help me ?
Hello
I from iran
i cant speak english correctly
please forgive me
User avatar
Ron_Emad2
Active Member
 
Posts: 85
Joined: Fri Oct 13, 2006 12:08 pm
Location: Iran-Kashan

Postby mercedes » Thu Nov 20, 2008 9:40 am

No problem..I had to edit my post..i had done it with timed events and then forgot to take out all the quotes..also had "Else" in there..instead of end if..:P


As for Question number 1... I would use KeyGaurd for it too..

Example : Use the Mouse over Trigger Sub to go to the next frame..Using the Pseudo Panoramic Engine..


Create a Variant variable called "FrameName"

Code: Select all
Sub KeyGuard_MouseEntersHotSpot(HotspotTAG)


   Select Case HotspotTAG(0)
   
Case 1      
If FrameName = "The name of frame.jpg"
Then Action.GoToFrame "Another frame.jpg", 3,3
      
Case 2   
If FrameName = "NameofFrame"
Then Action.GoToFrame"Anotherframe", 3,3   
   
End Select
   

           End Sub



EDIT

Also set this in the Frame Properties to Define the hotspot..that takes u to the next frame

Code: Select all
Component("KeyGuard").Object.DefineHotSpot 0,0,20,479,4,0

FrameName = Action.GetCurrentFrameName


Also, in the Hotspot to take u to the next frame...put in there to go to the frame as well with the same transitions..slide left or right..

I think it matches what u have in the Procedure..


Let me know if any of these work for you...:)
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests