The Daily Click ::. Forums ::. Klik Coding Help ::. Text box problem
 

Post Reply  Post Oekaki 
 

Posted By Message

herooftime1000



Registered
  09/01/2009
Points
  209
15th April, 2009 at 09:39:22 -

Julian and I were working on the text boxes in her game and we came across a complication. Maybe you can help.

This is what she said.

"I have the file called "Tut_Dialogue.ini" which has the first conversation in it. So far the application loads the file, but this is where something goes wrong. When the application is running I check the properties and it says "File loaded successfully" and even has the name of the file there, but then I click on "Click here to view or edit the file as text" and a window pops up but there is no text in it. But I can open the file myself while the application is running, and see that there IS text in the file, so I'm stumped as to why MMF2 can load the file but leave all the text behind... And the odd thing is that it was working perfectly fine earlier today and I haven't changed a thing.."

Can you help?

 
n/a

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
15th April, 2009 at 10:07:40 -

MMF seems to do that sometimes. Or it could be a coding bug.

I wouldn't use INIs to store conversations, though. I think INI can only handle a few bits of text or at least the INI object before it becomes unstable. So yes, you could load a file, but MMF won't be able to take the text from it if it's too long. But that's what I remember from MMF1. Might be fixed in MMF2.

But if you want a dialogue engine, here's a good conversation engine, which sparked my interest in Lua. Give some credit to the creator though
http://www.create-games.com/download.asp?id=7471


Edited by Muz

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image
   

Post Reply



 



Advertisement

Worth A Click