Sub-app change for Oak room and Rainbow Room
You remember that room escape? Well i just remembered that i had to work on it.im working on it now but i just thought it might be easyier to make the inventory a sub-app so it doesn't have to have the same event each frame.How could you make an object apper
in the sub-app from another frame.for example:I click on a key and it appears on the inventory frame.The sub-app is for the inventory frame and is on every frame.Please help soon.I haven't given up on these escapes.In fact im making 2 games like this but i need your help with this! :D
And also are alterable values global?
Your statisfied user, Fish
Re: Sub-app change for Oak room and Rainbow Room
Still waiting for reply....... :tired: im about to pm people even though its against what jason said. :whistle:
Re: Sub-app change for Oak room and Rainbow Room
for some reason everyone reads my post then doesnt answer it
Re: Sub-app change for Oak room and Rainbow Room
It might be worth your while searching the MMF File Archive for Inventory examples. Some may load up in Games Factory.
Also do the same search here:
http://www.clickteam.com/CTforum/wwwthreads.php3?Cat=
Re: Sub-app change for Oak room and Rainbow Room
Hi Fish.
Ok, let me give it a try. For this to work, your Key needs to be in your game and in your SubApplication. When the player collects the key in the game, make it disappear in the game and then send a value to SubApp to tell it the key is now part of the inventory.
Now your inventory programming takes over. However you have your inventory data stored, indicate that the key is now in the inventory and have your SubApp show it.
When the player wants to use the key, you do the same as above but in reverse.
**********
As a side note, when you post a topic to the forums, of course many folks are going to read it but that doesn't mean they all know the answer to your query. Be patient and wait for someone to reply. Someone who knows will eventually offer some tips on how to achieve your goal.
Re: Sub-app change for Oak room and Rainbow Room
could you please make an example im having trouble understanding?
Re: Sub-app change for Oak room and Rainbow Room
never mind i figured out my own misunderstanding thanks! :cool:
Re: Sub-app change for Oak room and Rainbow Room
wait there's a problem!!!When i go to a different frame and the sub-app is there the object in the inventory dissapears!!!
if it helps i pick up the object on frame 2 then goto frame 1
please tell me why this might happen or if you have any tips.
Re: Sub-app change for Oak room and Rainbow Room
this is the longest waiting post ive ever had :cry: and i would like to work on this and even future escapes for My website.I really want to show my friends what i did (they dont know TGF exists)!
Re: Sub-app change for Oak room and Rainbow Room
Just calm down, you can't expect people to answer you in less than an hour. I'd like to help, but I really can't see what is the problem.
Edit: If I got you right, you need to make your objects global.
Re: Sub-app change for Oak room and Rainbow Room
Wouldnt it be easier to do it in reverse, where instead of having a subapp for the inventory that changes, have a subapp for the level itself, but a static inventory frame.
(Its what im doing in my escape game :grin:)
That way you dont have to mess with sending the alterable values and you dont need to include the inventory subapp every frame too. Its just a little bit more user-friendly. ;)
Re: Sub-app change for Oak room and Rainbow Room
thanks raven!!!!!!!!! :D :D :D. Its worth the wait!!!! :D
Re: Sub-app change for Oak room and Rainbow Room
I take it the issue is resolved for you now, Fish?
Re: Sub-app change for Oak room and Rainbow Room
Actually StAtrill is using his way i might try that too!