Problems Saving a Project as an .exe
I have a problem every time I try to save any of my projects as an .exe, or even installer. It saves my project, but when I play it and press space to go to the second screen of the game, MMF2 crashes and says: "Multimedia Standalone Application has stopped working". the game runs fine when I test play it in MMF2. I uploaded it for my friends to play and they also have the same problem, except for one of my friends who some how got it to work randomly. Heres the link see if it works for you (Sonic game).
Is there something else I should be doing? I go to: File>Build>Application>Save. Everything loads at the bottom, but when I try to play it, it crashes.
Thanks
Re: Problems Saving a Project as an .exe
I think most people would need to see the app to help out. I know I would.
K
Re: Problems Saving a Project as an .exe
Ok, I linked the game in my post if you saw the link. <_< Heres the .mfa if you meant that: http://www.mediafire.com/?j0nhhgkhibg
Re: Problems Saving a Project as an .exe
OK I don't get the issue your talking about. I am using MMF 2 Dev version 248 on a Vista computer. It ran as an exe and runs from within MMF.
What I did see I found interesting. In your first frame you have some folder that are empty. When you right click on them you don't get the option to remove the folder. If you put the window control in the folder then you can delete it. Do this for every folder and remove all the empty ones. This just does not seem right. If this fixes the problem we need to point this out to CT so they can take a look.
Since I can not get it to crash I can not test to see if this fixes the issue or not but even if it does not I would think you might want to get those out as they don't seem to be working as I thought folders did. I did not know you could not delete a folder that is empty but the option is just gone. HMMM
My next task would be to turn off each of your sub groups one at a time and run the test. See if you can pin the issue down to one sub group starting with the start up events sub groups.
When it crashes does it get to the second frame then crash or crash getting to the second frame, or can you even tell.
I would guess that it gets to the second frame but when it hits all the On Start events it craps itself like I did when I looked at it. lol I have never seen so many On start of frame events used in my life and I don't know if that would cause the issue.
Any events you have that evaluate a value and does nothing to change the value after the evaluation will just continue to run over and over. On top of that the Alway statement I try to stay away from due to the amout of CPU time it takes and I saw atlest 5 in your app right off the bat.
All this from a guy who doesnt make games but just as a look these are the things I would start with to touble shoot your issues if they where mine.
Man do I hope this helps you out, I hate it when things like this happen to me and I can't figure out why. It would be great if we could get someon in here to tell us if almost every condition you have in the app is a start of frame condition what the effects could be? I would guess it would have no bad effects though just as long as you realize those will only run at the start of the frame and not any other time.
EDIT: By the way, cool game, I can tell you have put time in already. Keep up the good work.
K
Re: Problems Saving a Project as an .exe
Quote:
Originally Posted by Kimera
In your first frame you have some folder that are empty. When you right click on them you don't get the option to remove the folder. If you put the window control in the folder then you can delete it. Do this for every folder and remove all the empty ones. This just does not seem right. If this fixes the problem we need to point this out to CT so they can take a look.
apparently you can only delete folders when they are open
Re: Problems Saving a Project as an .exe
LOL. that is funny. I have never had that happen in the past so I was not aware of it but your are 100% correct, that is the folder issue. I had opened it then put the object in it once I saw I could not remove it. Thanks for clearing that part up.
K
Re: Problems Saving a Project as an .exe
What you guys suggested didn't work, but I decided to get smart and re-install MMF2 >_> and it works fine now. One last question, how would you make your games run full screen in it? I know you can push alt+enter to get the game to go full screen, but how could you do it from the start?
Re: Problems Saving a Project as an .exe
Quote:
Originally Posted by Louie82Y
One last question, how would you make your games run full screen in it? I know you can push alt+enter to get the game to go full screen, but how could you do it from the start?
Go to display properties on application properties and check "Change resolutions at start".
Maybe you should check "Maximized on boot-up" too.