I want to make a game where you fight enemies and survive for as long as you can, but once you die, you are sent to a Frame that tells you how many kills you have gotten and how many seconds you survived. How can I do that?
Printable View
I want to make a game where you fight enemies and survive for as long as you can, but once you die, you are sent to a Frame that tells you how many kills you have gotten and how many seconds you survived. How can I do that?
I quickly made you a barebones "zombie game".
The time and score are taken to another frame. Hope it helps.
View MFA
To do this you use global values to crossover the score and time.
Redsquirrel, I can't remember if I ask before. Are you running the Demo of MMF2?
Thanks,
Marv
You did ask already, I am indeed.
http://imageshack.us/f/52/captureurw.png/
Why?
You could use "global variables" to store the time and kills scores and then call them into counters in both frames.
Because Redsquirrel, the demo is 4 builds (almost 5 now) behind. There are some things that do not work properly with the older builds.
Corlen, why would you need counters? Would not the Global Values work by themselves?
Marv
Ahh. Yes I have the money to buy MMF2 and flash exporter, but have decided to maybe save up a bit more to buy the dev version. Demo is going to have to do me for a bit first. Will be nice to be on the latest revision though.Quote:
Originally Posted by nivram
The counters are to display the score in the frames since global variables don't display graphically by themselves.
Ah yes Corlen, you are so right. I puke upon the ground for spacing that.
Marv