How to create a Hidden Objects type of game?

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

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

How to create a Hidden Objects type of game?

Postby grapix » Sat Aug 29, 2009 2:19 pm

I am pretty new to AM Full version. I recently downloaded Hidden Objects game and it have a sidebar showing the names of the objects to be found and it disappeared after you found the hidden object. This sidebar is really IMPORTANT for my game but i don't know how to create this, will u guys plz help me? if there any script can you post it and plz explain where to put it bcz i am new.

OffTopic: Just registered today bcz i didn't find any threads regarding what i want. ........I had the demo of AM a year ago, and now i buyed it!


Thanks in Advance!


(....english is not my primary lang so plz forgive me for any mistakes in grammer...)
GraPix Entertainment - Visual FX | Animation | Game Development | Motion Pictures | Photo Restoration | Celebrity Products

GraPix - GraPix Entertainment.com
GraPix Celebrity - GraPixEntertainment.com/celebrity/
GraPix FotoFix - GraPixFotoFix.co.cc
User avatar
grapix
Member of the month
 
Posts: 22
Joined: Sat Aug 29, 2009 12:15 pm
Location: In Your Heart

Postby mercedes » Sat Aug 29, 2009 4:10 pm

Hi there..Welcome to the Forums~ :D


For a hidden object game..for a side bar..
The easiest way would be the actually draw the words..So make a picture of a SideBar..
Then copy and paste out portions of the side bar..and write on them..[So it looks identical to background of sidebar] Write--each word/item..then save it as a picture--the words.
Therefore u can use them again..in other frames..

However, that being said, it can also be done with script...and text..
Using pictures, might make it less typing and a bit more easier..You could use variables..

Let us know if u need anymore help..:) Or if this is what u meant by help..lol..



...[ I sent u a Private message, please check messages..:)]

Peace
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby juhuwoorps » Sat Aug 29, 2009 4:45 pm

If you want to have a sidebar, check out the merging frame opinion wich is given to AM!
juhuwoorps
Code Master
 
Posts: 622
Joined: Tue Jul 08, 2008 3:13 pm

now what?

Postby grapix » Tue Sep 01, 2009 9:05 am

thnx mercedes, i have done whatever you said.

Now what should i do?
can u plz explain in steps? please?? in deep detail plz...

how to use merging frame?
Last edited by grapix on Tue Sep 01, 2009 4:48 pm, edited 1 time in total.
GraPix Entertainment - Visual FX | Animation | Game Development | Motion Pictures | Photo Restoration | Celebrity Products

GraPix - GraPix Entertainment.com
GraPix Celebrity - GraPixEntertainment.com/celebrity/
GraPix FotoFix - GraPixFotoFix.co.cc
User avatar
grapix
Member of the month
 
Posts: 22
Joined: Sat Aug 29, 2009 12:15 pm
Location: In Your Heart

Postby mercedes » Tue Sep 01, 2009 4:29 pm

Ok well, If you are using the same ''Side Bar'' for each frame--Then you may want to use HSM--Hotspot Magic~

You can get it HERE~
Simply P.M. ShadowHunter here in the forums---and he will send you the registration code to fully register the software so it has all/full features.

Ok so, import all pictures/icons/words into their HS's, in the frame-

--In the hotspots/ICONS-- that don't have words in the sidebar--Do Nothing--
Import a sound; Here is one on your PC~
Go to your Sounds and Devices--found in the Control Panel and Choose the sound that says Default Beep--Play it --Import this sound if you want--by browsing to it, within your game~


--In the hotspots/ICONS that do have words that appear in the SideBar..
Under the Action TAB--Check off where it says--
Permanently disable this hotspot when clicked--
In theAdvanced TAB--;
Code: Select all
Action.LoadAPictureHotspot,(Word_hotspot_Number]""


Create a Variable Called AllItems
In thesamehotspots--
In each one that disappears in the Advanced TAB;
Code: Select all
AllItems = AllItems +1
If AllItems = 9 Then
Action.gotoframe ''Next_frame_with_hidden_objects"
End If

Replace 9 with the amount of items to be found~

Ok so, start with that and let me know if that works for you,...I have no way of testing anything..~

Peace
Last edited by mercedes on Fri Sep 18, 2009 2:56 am, edited 1 time in total.
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby grapix » Tue Sep 01, 2009 4:51 pm

mercedes wrote:Ok well, If you are using the same ''Side Bar'' for each frame--Then you may want to use HSM--Hotspot Magic~

You can get it HERE~
Simply P.M. ShadowHunter here in the forums---and he will send you the registration code to fully register the software so it has all/full features.

Ok so, import all pictures/icons/words into their HS's, in the frame-

--In the hotspots/ICONS-- that don't have words in the sidebar--Do Nothing--
Import a sound; Here is one on your PC~
Go to your Sounds and Devices--found in the Control Panel and Choose the sound that says Default Beep--Play it --Import this sound if you want--by browsing to it, within your game~


--In the hotspots/ICONS that do have words that appear in the SideBar..
Under the Action TAB--Check off where it says--
Permanently disable this hotspot when clicked--
In theAdvanced TAB--;
Code: Select all
Action.LoadAPictureHotspot,(Word_hotspot_Number]""


Create a Variable Called AllItems
In thesamehotspots--
In each one that disappears in the Advanced TAB;
Code: Select all
AllItems = AllItems +1
If AllItems = 9 Then
Action.gotoframe ''Next_frame_with_hidden_objects"

Replace 9 with the amount of items to be found~

Ok so, start with that and let me know if that works for you,...I have no way of testing anything..~

Peace


Thanks for your help. Thanks for the time it took to write that nice tutorial. I am very grateful to you.

EDIT: will edit after trying... its getting late. I am going to sleep, its 9:30 PM and i feel really tired. Anyway, again thanks.
GraPix Entertainment - Visual FX | Animation | Game Development | Motion Pictures | Photo Restoration | Celebrity Products

GraPix - GraPix Entertainment.com
GraPix Celebrity - GraPixEntertainment.com/celebrity/
GraPix FotoFix - GraPixFotoFix.co.cc
User avatar
grapix
Member of the month
 
Posts: 22
Joined: Sat Aug 29, 2009 12:15 pm
Location: In Your Heart

Postby grapix » Wed Sep 02, 2009 5:22 pm

those all things are going off my mind. :( :( :( :( :( :(

Sorry but i am VERY new and i am not able to understand all those things. I think i am a jerk.

Maybe taking screenshots will work or video tutorial but i am sure no one has that amount of time. I wish someone will come with a screenshot tutorial or a video tutorial. Maybe it will also help the upcoming user or newbies to start out creating advance games with AM.

Thanks for your support.
Last edited by grapix on Wed Sep 02, 2009 5:26 pm, edited 1 time in total.
GraPix Entertainment - Visual FX | Animation | Game Development | Motion Pictures | Photo Restoration | Celebrity Products

GraPix - GraPix Entertainment.com
GraPix Celebrity - GraPixEntertainment.com/celebrity/
GraPix FotoFix - GraPixFotoFix.co.cc
User avatar
grapix
Member of the month
 
Posts: 22
Joined: Sat Aug 29, 2009 12:15 pm
Location: In Your Heart

Postby mercedes » Wed Sep 02, 2009 5:26 pm

Ok well...why don't you tell me what you have done so far..:)

Have you placed all of your pictures inside the frame--Icon pictures ?

Have you placed all of your words inside the frame---Word Pictures?

Did you draw or make the Side Bar? Is it part of the background of the frame or is it a hotspot?

P.S...I thought you said you had AM Before..the demo version..Did you play with it.. Make any frames..?

Do you know how to make variables..?

What is your primary language..? :) Perhaps someone can help with that if its one that is familiar with any forum member here..~

I can also make some screen shots...But I need to know what you have done so far..:)
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby grapix » Thu Sep 03, 2009 3:53 am

mercedes wrote:Ok well...why don't you tell me what you have done so far..:)

Have you placed all of your pictures inside the frame--Icon pictures ?

Have you placed all of your words inside the frame---Word Pictures?

Did you draw or make the Side Bar? Is it part of the background of the frame or is it a hotspot?

P.S...I thought you said you had AM Before..the demo version..Did you play with it.. Make any frames..?

Do you know how to make variables..?

What is your primary language..? :) Perhaps someone can help with that if its one that is familiar with any forum member here..~

I can also make some screen shots...But I need to know what you have done so far..:)


I made ONE JPG with Photoshop that contains all the objects and EVERYTHING and even the hint bar with no text.

Then, i made every hint text a separate JPG file, there background contains the color of hint bar's background so there background looks identical. For Example:-

| Rope | - a JPG file

After that i can't understand any thing. I had the demo before but i didn't play with it. Like when you said "Make a Variable" I thought how to make a variable.

Everything solved.
But how to make the player win when he clicked all the hidden objects?

Solved Everything. A great explaination from ShadowHunter solved this out. Thanks ShadowHunter. (and ofcourse mercedes)


I have one more question:

1. How to show a timer? (I know how to use frame timer without scripting but how to show it to use in game)
GraPix Entertainment - Visual FX | Animation | Game Development | Motion Pictures | Photo Restoration | Celebrity Products

GraPix - GraPix Entertainment.com
GraPix Celebrity - GraPixEntertainment.com/celebrity/
GraPix FotoFix - GraPixFotoFix.co.cc
User avatar
grapix
Member of the month
 
Posts: 22
Joined: Sat Aug 29, 2009 12:15 pm
Location: In Your Heart

Postby mercedes » Thu Sep 03, 2009 4:15 pm

Here are some great example scripts..for future reference..:)

http://www.adventuremaker.com/help/contents.htm

Here there is an example on how to use a Global Countdown,..

http://www.adventuremaker.com/help/vbscript_techniques.htm

Glad you figured it out..!~ :D:D

Peace
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Ikonz101 » Fri Sep 18, 2009 2:44 am

I followed this tutorial and got the variable set and everything that was mention in the tutorial. I get a error: Expected If statement. I only have 2 items that need to be found (for test purposes). I put the code into all the hotspot advanced locations for the items that need to be found. I changed the 9 to a 2 also.

Thank You
Ikonz101
User avatar
Ikonz101
Frequent Poster
 
Posts: 128
Joined: Wed Nov 28, 2007 11:23 pm

Postby mercedes » Fri Sep 18, 2009 2:51 am

Can u post the script u have...by copying it and pasting it...I'ts easier to find error if one is there..:)

It may just be u have to END it...which i didn't up there...Try End If at the end of the statement..sorry about that..
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Ikonz101 » Fri Sep 18, 2009 4:05 am

Ok the End If statement worked. But when it goes to the frame called Score the timer still shows up. How do I end the global countdown when it goes to that frame?

Ikonz101
User avatar
Ikonz101
Frequent Poster
 
Posts: 128
Joined: Wed Nov 28, 2007 11:23 pm

Postby mercedes » Fri Sep 18, 2009 4:09 am

If u don't want the time to show up at all...don't merge that frame with the counter frame...Is this what's going on..?
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Ikonz101 » Fri Sep 18, 2009 4:12 am

Nah its not merged at all with that frame. Its just a global script which means it will show up on all the frames. I am trying to find a way to stop the global script when that frame opens up.

Thank You
Ikonz101
User avatar
Ikonz101
Frequent Poster
 
Posts: 128
Joined: Wed Nov 28, 2007 11:23 pm

Postby mercedes » Fri Sep 18, 2009 5:10 am

Actually just take out the script u put in the Project properties..for when a frame loads...and put that in the frame's properties only...I haven't tested this...but I gather it should work...
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Ikonz101 » Fri Sep 18, 2009 5:50 am

It didn't work.. It gave me a lot of errors. There has to be a way to stop a global procedure.
Thank You
Ikonz101
User avatar
Ikonz101
Frequent Poster
 
Posts: 128
Joined: Wed Nov 28, 2007 11:23 pm

Postby mercedes » Fri Sep 18, 2009 6:44 am

If u take it out of the Project's Properties..and put it in the Frame's Properties...U can try to take out the end of it ShowCounter Or u can keep it in there...Not sure why u are getting errors..it works both ways..

You can either make the text the timer text--whatever u have in the Project's properties...or u can make it blahblah...doesn't matter...it works both ways...

Hmm...what errors are u getting...Are u getting them if u try to go early..or when timer is done...Where do u have it set to go to the other frame..?
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Ikonz101 » Fri Sep 18, 2009 7:06 am

What I am trying to do is have the countdown timer on all frames of level 1. So I created a frame just for score, countdown time, and items needed to find to complete level (This is all merged into level 1). After the items are found I want it to go to a score screen to show you your score and have the countdown time disappear until you go to level 2 (click on a hotspot - takes you to level 2 frame - new time starts). Thats my problem I have different levels that need to be completed by a certain amount of time. I can't get the timer to go away because it is a global procedure. If I could just stop the global procedure that would be great. I am trying to do what you are explaining but it just isn't working because it doesn't go to each frame. Also each level has a different time limit.

Help That Helps

Ikonz101
User avatar
Ikonz101
Frequent Poster
 
Posts: 128
Joined: Wed Nov 28, 2007 11:23 pm

Postby Ikonz101 » Fri Sep 18, 2009 7:27 am

Maybe there is a way I could put in a IF statement (in the global procedure) that if I complete the level before the time runs out it will display a new time on the next level. Then so on and so forth for each level.

Ikonz101
User avatar
Ikonz101
Frequent Poster
 
Posts: 128
Joined: Wed Nov 28, 2007 11:23 pm

Postby mercedes » Fri Sep 18, 2009 7:45 am

Ok well...This is all I would do...I wouldn't merge all of my frames..I would only merge the one..First one.

I would have that script in only the Frame's properties where I want the TEXT of the score to be..

If u don't want too see the timer at all...on the next frame..don't put any text on it..and don't merge it..

If u want the timer to be there..when they go to the next frame..but have it only stop...Put False at the end of the script u take out of the Project's Properties..and put in the Frame's properties..--This will stop the timer in its' tracks..-on the next frame..The Frame's properties is where I put this..~

This is what I would do to simplify things..Or u can have the timer there...but invisible, by changing the color of the TEXT~--Is also another way..

Sorry if this isn't what u are looking for..I tried it this way and this works ok......I just thought this way was easiest..This way you can decide where u want the Procedure ShowCounter to stop and start again..~

To have the timer restart and it be a different time...you can use this..;

If Counter <>0 Then Counter = 40--Change this to what u want it to appear at...and TEXT has to be on the frame..I just put this in a hotspot..when they click it..no matter where its' at..It will restart back to 40..--Not sure if this will work or not..This I haven't tested..yet..~

Someone else might have a better solution..but this is what I would do..
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Ikonz101 » Fri Sep 18, 2009 8:41 am

When I try to put the global procedure code into the other frame under frame properties and put a false statement at the end I get this error: Object Doesn't Support This Property Or Method. I also get a Expected Statement at the beginning and then the other error pops up. Do I just put False at the end of all of that code? It does seem to be working but the errors keep popping up. Thanks for all your help mercedes on this. It is frustrating but I do believe I will get it done.

Ikonz101
User avatar
Ikonz101
Frequent Poster
 
Posts: 128
Joined: Wed Nov 28, 2007 11:23 pm

Postby mercedes » Fri Sep 18, 2009 9:02 am

You don't put the Procedure in the Frame's Properties...U put what u should have in the Project's properties.. :)

Code: Select all
If Counter > 0 Then
   Action.CreateTimedEvent 1,"DecreaseCounter",True
End If
ShowCounter


Put this in the frame's Properties...as opposed to where it is in the Project's properties..--If u followed the tutorial down to the letter...U would have had this in there..Under Execute some VBS script code every time that a frame is loaded

Let me know if this helps...~
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Ikonz101 » Fri Sep 18, 2009 1:40 pm

Now I get Control Array "1" does not exist. Thank You almost there.

Ikonz101 :D

I followed the directions exactly on the countdown timer tutorial. Just not understanding why nothing seems to be working right. On the tutorial it is suppose to be in the project properties not the frame properties window.

EDIT: I made some progress. I merged the frame because it was looking for the event 1 so I had to merge them so it could find it. K everything worked fine but it still shows the countdown timer at top and the items I collected to get to that frame (level 1 end). Is there a way to unmerge the frames when you get to this frame?

Thanks
Ikonz101
User avatar
Ikonz101
Frequent Poster
 
Posts: 128
Joined: Wed Nov 28, 2007 11:23 pm

Postby Ikonz101 » Sat Sep 19, 2009 4:57 am

OK I got it. I was misreading your solution because I was way to tired trying to figure this out. So it stops the time and displays the text character I use to represent the time. Now trying to figure out how to get rid of the text field....

Thank You For All The Help

Ikonz101
User avatar
Ikonz101
Frequent Poster
 
Posts: 128
Joined: Wed Nov 28, 2007 11:23 pm

Postby mercedes » Sat Sep 19, 2009 9:22 am

Ok well..At this point I have to ask...do u want that text field there..so u SEE the time stop..Or do u want the text to diss-appear altogether when u go to the next frame..
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