2 small questions, help needed.
Hi, I have 2 quick questions. You should probably know that I'm doing a flash game, just incase that affects anything.
1) How would I add in something where you have to press certain keys in a certain order to do something?
For example, pressing abc in that order would do something. I don't want any popup to come up for typing, just that if those keys are pressed in that order, then something could happen.
2) I want for something to happen where if a certain event happens, then a new tab is opened on their internet (not a new window), and they are linked to something. Not a page redirection, but a new tab with a specific url.
Thank you very, very much for your time and help. This means a lot to me.
Re: 2 small questions, help needed.
I must be blind...up until now this whole time I assumed you were talking about "Phizix - Chipmunk" but you were talking about "Phizix - Box2D" :crazy:
Anyway, so are you saying you don't have the testbed.mfa? I'm certain it comes with the download:
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=224714#Post2247 14
When I download this I get basic.mfa and testbed.mfa, with testbed.mfa showing all the cool stuff.
Re: 2 small questions, help needed.
Here is an example file for your first question (if I understand you correctly).
http://mfa.aquadasoft.com/upload/1311086858-commands.mfa
I have no idea on #2.
Re: 2 small questions, help needed.
I don't know what Phizix-Chipmunk or Phizix-Box 2d is. Or a testbed.mfa for that matter.
I just wanted to know what I should put in to the event editor to make this stuff happen, and plugins that I would need, etc. I don't know what the Phizix and testbed.mfa stuff has to do with that. Sorry if I misunderstood your post, I might just be missing something.
Edit: I checked box2d, and that's some sort of physics engine. I don't know what that has to do with this.
@mojofiltr
Thanks! It works great! Just the way I wanted it to work, it's perfect! Thanks again, it's really going to help me.
Re: 2 small questions, help needed.
I suspect LB might have posted in the wrong thread... :)
Re: 2 small questions, help needed.
Quote:
Originally Posted by Jamie
I suspect LB might have posted in the wrong thread... :)
I was just thinking that. But it was quite funny when I didn't realize it yet. It confused the heck out of me.
Edit: Mojofltr, is it possible to do what was done in the linked file, but using arrow keys too? Specifically, up(arrow) up(arrow) down(arrow) down(arrow) left(arrow) right(arrow) left(arrow) right(arrow) a b a b
Edit 2: I found the problem. If the code has any duplicate letters, it won't work. How could I fix this?
Basically, if I could have a file that does what you linked to, only it only has one command, which is either up(arrow) up(arrow) down(arrow) down(arrow) left(arrow) right(arrow) left(arrow) right(arrow) a b a b, or just upupdowndownleftrightleftrightabab (everything spelled out), that would be great, because I can't get the thing to work for me.
Ok, so I figured out how to edit it. I am still curious if arrows are a possibility.
Edit 2: I figured out my own system for it that works quite well.
I still need help with number 2 though.
Re: 2 small questions, help needed.
Ouch, how did I post in the wrong thread? I hit reply to another post, and it certainly wasn't this one.
Anyway, for your second one, you should just be able to use the Vitalize object to open a URL in a new window.
Re: 2 small questions, help needed.
Quote:
Originally Posted by LB
Ouch, how did I post in the wrong thread? I hit reply to another post, and it certainly wasn't this one.
Anyway, for your second one, you should just be able to use the Vitalize object to open a URL in a new window.
Would the Vitalize object be flash compatible by chance?
Re: 2 small questions, help needed.
Oh, if you're going to build for Flash then use the designated Flash Player object. ;)
Re: 2 small questions, help needed.
Ah, ok. I should really check out everything a little bit better before making threads, lol.
Thank you!