The Daily Click ::. Forums ::. Klik Coding Help ::. String Parser
 

Post Reply  Post Oekaki 
 

Posted By Message

--))AlexOfBurg((--



Registered
  06/02/2005
Points
  24
21st February, 2005 at 19:32:30 -

Well, i was wanting to make an rpg with the text-by-text scrolling of the dialog. I know that there are many different posts on this, and i have read most of them, at least all of the ones that i have seen. If someone does not mind, can you explain to me in a very simple way, because i do not know how to use string parser at all, of how to do this. It would be most appreciated
PS please let me know if the explanation given involes using string parser 1 or 2 (i think there is a 2) Also, i do not have MMF nor do i have the money to buy it, so please let me know how to use it with the games factory.
Thanks everyone

 
Life is like a rose garden, all you feel are the thorns.

--))AlexOfBurg((--



Registered
  06/02/2005
Points
  24
21st February, 2005 at 21:31:14 -

No one? T_T

 
Life is like a rose garden, all you feel are the thorns.

Crystal Clear (H.E.S)

Possibly Insane

Registered
  06/10/2002
Points
  2548
22nd February, 2005 at 00:39:37 -

You dont need to use String Parser, as it has something to do with the Len or Left$ expression, ill have a looky!
Edit: Heres alot simplier method:
----------------------------------------------------------------------------------
Every 00-12
+Change Alterable String (String) - Left$( "your text here", value( "Counter" ))
+Add 1 to counter
----------------------------------------------------------------------------------
You need a "String" object and a "Counter" and thats it.
The Left expression gets characters from the Left of the string, the value entered in after it is how many characters to get.
e.g Left$("Yo homie dogg", 2) would get "Yo"
For further info, this article should help ya out:
http://www.create-games.com/article.asp?id=269


Image Edited by the Author.

 
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
22nd February, 2005 at 02:47:03 -

That's useful for everyone!
You forgot:

When counter < string length
+ upon pressing action key
= set counter to string length.

This will break the string when it wasn't finished yet.

 
Old member (~2004-2007).
   

Post Reply



 



Advertisement

Worth A Click