|
Re: is it possible??????
[Re: tD_Datura_v]
#331563
07/05/10 05:06
07/05/10 05:06
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink
OP
Expert
|
OP
Expert
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
|
thanks, i will give it a try.
My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
|
|
|
Re: is it possible??????
[Re: Blink]
#331749
07/06/10 00:54
07/06/10 00:54
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink
OP
Expert
|
OP
Expert
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
|
well, the good news is, i created an action and the quiz showed up, but it started when the level ran, and when i pressed the number 1 it said answer correct, and stayed onscreen. i have to adjust the action to do what i want it to do. i want to impact with an object, and then have the question asked, and then after i answer, the object disappears (ent_remove)and i can move past the object to complete the level. now here is the difficult part. if the question was incorrect, and you passed the object, the "path" that you are on will be perilous, but if you answer correctly, the path will be safe, does this sound possible? it seems like a lot.
My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
|
|
|
Re: is it possible??????
[Re: Blink]
#332508
07/10/10 08:43
07/10/10 08:43
|
Joined: May 2005
Posts: 819 U.S.
Why_Do_I_Die
Warned
|
Warned
Joined: May 2005
Posts: 819
U.S.
|
Blink , you can just have a function that creates all the perilous traps or whatever that is called upon answering the question right. I.e. if(answer != correct) { level_1_path_1_perils(); } function level_1_path_1_perils() { create traps, monsters ect... }
Another way to do it would be to have a main path , with side paths that contain the traps and monsters , and have the question areas , where there are is the main path as well as a side path, both obstructed by a rock or a gate or something , and if you answer wrong , then the rock breaks or gate opens to the side path which will be the perilous one , once you get through the side path , it will join the main patch again in a question area , where you repeat the process. The advantage to this way is you can build the whole level in WED , and set up the paths , traps and enemies exactly as you want and just save the level, where in the first option I put you'd have to set up the whole level , then write all the trap and monster positions for each perilous path to a unique function for each question. Hope it helps.
|
|
|
Re: is it possible??????
[Re: Why_Do_I_Die]
#332527
07/10/10 13:34
07/10/10 13:34
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink
OP
Expert
|
OP
Expert
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
|
ok, i like that idea. i will give it a shot. try to create the function. i havent really thought through the puzzles yet. but that seems like a great idea how to use the traps. thanks!
My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
|
|
|
Re: is it possible??????
[Re: CoburnDomain]
#332809
07/12/10 11:08
07/12/10 11:08
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink
OP
Expert
|
OP
Expert
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
|
i have been thinking about that. originally, that was the idea instead of coding. i would have the answer to the riddle be one door with alternate doors as choices. i just thought that would make my levels too big. i will actually give it a try. thanks.
My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
|
|
|
|