The Daily Click ::. Forums ::. Klik Coding Help ::. Another Charcter Image Problem
 

Post Reply  Post Oekaki 
 

Posted By Message

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
1st May, 2011 at 12:19:16 -

Hi,

I have created a typewriter effect using the Left$(string$( "real_text" ), Len(string$( "type_text" ))+1) method.

The text is displaying using the Character Image object.

I have used 2 different Aliases so certain words can appear in different colours.

Image

The problem is: when the Character Image object switches from one Alias to another, there is a noticeable delay in the typing.

Caused by either the Character Image object loading the new tileset, or the [alias=1] tag being 9 characters in length which aren't displayed but MMF having to count them.

Can anybody think of a way around this delay. I'm using MMF2 Dev HWA.

http://www.whenthereisnoroominhellthedeadwalktheearth.com/MMF/text2.mfa


Thank you in adavance! Peace x

Edited by Chris Burrows

 
n/a

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
1st May, 2011 at 15:48:03 -

I found a way to do it. I've uploaded the mfa file if anybody is interested.

http://www.whenthereisnoroominhellthedeadwalktheearth.com/MMF/text3.mfa


The text is set to: "Will you take the (Handgun Bullets)?*"

When the typing reaches the "(" character, it inserts "[alias=1]"
When the typing reaches the ")" character, it inserts "[/alias]"
When the typing reaches the "*" typing is stopped.

So by the end of it, the text will read: "Will you take the ([alias=1]Handgun Bullets)[/alias]?*"

But only: "Will you take the Handgun Bullets?" is displayed.

"Handgun Bullets" being written in green.


Hopefully this will help somebody somewhere someday. Ok bye.

Image

Image

 
n/a

Duncan

Thelonious Dunc

Registered
  18/05/2002
Points
  552

VIP Member
1st May, 2011 at 15:54:56 -

Are you making a Resident Evil game? Those messages made me salivate.

Although I find the typewriter effect pretty insufferable, actually...

 
n/a

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
1st May, 2011 at 16:08:50 -

Haha no not a Resident Evil game. But it is a survival horror game.

And I don't know what you are talking about! The typewriter effect is ultimate badass!

 
n/a

MasterM



Registered
  02/01/2002
Points
  701

I am an April Fool
2nd May, 2011 at 03:56:32 -


Originally Posted by Chris Burrows


And I don't know what you are talking about!



thats pretty much how i feel

 
Image

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
2nd May, 2011 at 05:42:35 -

You don't know what who's talking about???

Edited by Chris Burrows

 
n/a
   

Post Reply



 



Advertisement

Worth A Click