Originally Posted by Pixelthief you can use the file object to transplant .TTF font files, can't you? I just use generic fonts and throw them in the gameplay folder, so that the 1% of people who don't have it installed, can do so manually, but 99% won't be diserviced.
Hey, that's a good way to do it
--
"Del Duio has received 0 trophies. Click here to see them all."
"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"
DXF Games, coming next: Hasslevania 2- This Space for Rent!
Okay, I figured out what was wrong and how to fix it, but I have no idea why this is an error. Listen to this:
When I make my games I usually have a lot of objects off of the main frame area, right? Well after nothing was working with H2 today I thought about it some more. Why would only the damage events be affected while everything else was okay? I went to the group that handled collision with spikes and tried taking out event conditions one at a time. I took out the event that had the "invincibility field" for when you get hit and are immune... And the hero not only took damage he completely died when he hit the spikes. Eureka! Now I knew who the culprit was, but what was happening?
I checked to see if this field was getting destroyed somewhere in the code by accident (which would nullify the event check with the field). Well, it wasn't being destoyed anywhere. Hmmmm.. Then I remembered a REAL OLD and annoying problem before I had when I first started MMF with a string text that wouldn't display when it should have. The problem was that because it was off of the main frame MMF didin't recognize it for some weird reason. So I looked at my invincibility field object's position. It was about -50 pixels north of the top of the frame, along with a lot of other objects and stuff. When I moved it down to dead center of the frame and ran the application again, it worked exactly right. Everything that could damage him now did, like it had in other frames. Holy shit, what a crazy bug that is!!
So here's the lesson I learned today: When everything looks like it should work, try moving any objects you might have stored on the outside of the frame INSIDE the frame itself (just keep it invisible if it's not supposed to be seen). It appears like MMF1.5 at least sometimes ignores objects outside of the frame at random. My God I hope this can help somebody in the future and save them days of headaches.
Thanks for your suggestions everybody, I have some level building to do!
Edited by the Author.
--
"Del Duio has received 0 trophies. Click here to see them all."
"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"
DXF Games, coming next: Hasslevania 2- This Space for Rent!
Ha! I had this problem several times when I made the E.P.I.C COMMANDOS demo the other week! My frame wasn't big though, but it happened many times with explosions and bullet's and stuff. It usually happened more often when the object was supposed to be destroyed after a set interval like explosions. Odd, very odd.