AdventureMaker.com Forum Index  
 FAQ  •  Search  •  Memberlist  •  Usergroups   •  Register  •  Profile  •  Log in to check your private messages  •  Log in
 go to several frames back View next topic
View previous topic
Post new topicReply to topic
Author Message
Joannes
New Member


Joined: 26 Jan 2010
Posts: 1
Location: Utrecht, Netherlands

PostPosted: Tue Jan 26, 2010 9:49 pm Reply with quoteBack to top

Hi there,
Any good solutions on how to be able to return to a frame after visiting several other frames?
This for example if you can go to a "settings frame" from any where in the project and if you can then select several options (that will lead to other frames) from the "settings menu". How then to get back to the game?

thanks for any advise,

Joannes
View user's profileSend private message
Mystery
Forum Admin and Games Page admin


Joined: 04 Feb 2006
Posts: 2873
Location: Switzerland

PostPosted: Tue Jan 26, 2010 10:16 pm Reply with quoteBack to top

Welcome to the forums Joannes Smile

Do you mean like this?
http://www.adventuremaker.com/phpBB2/viewtopic.php?p=13332

Here is also a tutorial thread:
http://www.adventuremaker.com/phpBB2/viewtopic.php?t=4676

_________________
Official Forum of Mystery's Games
View user's profileSend private messageSend e-mailVisit poster's website
reneuend
Elite


Joined: 22 Nov 2008
Posts: 1092
Location: Midwest Cornfield, USA

PostPosted: Thu Jan 28, 2010 3:05 am Reply with quoteBack to top

If I understand correctly, its not that you want to go several frames back, but that you want a settings page(s) that you can go to and when finished have it automatically take you back to the game.

all you need to do is create a hotspot that will take you to the "Main Settings" frame. In this hotspot you will add a little bit of code to save the current frame name.

First, create a variant variable called, "CurrentGamePage"

Next,
put the following code under every hotspot that takes you to the "Main Settings" frame. (it goes in the advanced tab)
Code:

CurrentGamePage = Action.GetCurrentFrameName
Action.GoToFrame "Main Settings", 1,1


From the "Main Settings" frame, you would add the following code under the hotspot that returns you to the game. (in the advanced tab)
Code:

Action.GoToFrame CurrentGamePage, 1, 1

_________________
Image
-----
See my work at http://www.hickchickgames.com
View user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme :: All times are GMT + 1 Hour