YesNoOk
avatar

A SvC-styled dialogue system? (Read 466 times)

Started by Trinitronity, September 19, 2012, 08:59:00 pm
Share this topic:
A SvC-styled dialogue system?
#1  September 19, 2012, 08:59:00 pm
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
Hello again.
Remember, how I asked in the "Does this thing exist?" thread about a tool, that makes dialogues ala SvC. Chaos? Well, there are some news:
Quote
The dialogues will need a special system that isn't done yet. At first, they were suposed to be just explods, but Vans did a special dialogue system that I'll try to incorporate into the game. In the end, this system will bring some aesthetic and size benefits for us.
The problem: it's actually a code. So could someone tell me, where I can find it please? Thanks in advance!
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns
Re: A SvC-styled dialogue system?
#2  September 19, 2012, 10:22:45 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
I don't know if he released it. His code was a method of bitwise shifting and stuff to pull the required letter and place it. So you wrote a sentence by typing out

28476372474628 and it would convert that to lettering. You don't need to do it that way so use the explod method, Nothing wrong with it at all and it's not going to cause you problems.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: A SvC-styled dialogue system?
#3  September 20, 2012, 03:39:55 pm
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
I don't know if he released it. His code was a method of bitwise shifting and stuff to pull the required letter and place it. So you wrote a sentence by typing out

28476372474628 and it would convert that to lettering. You don't need to do it that way so use the explod method, Nothing wrong with it at all and it's not going to cause you problems.
Thanks for the advice, but how do I do that?

I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns
Re: A SvC-styled dialogue system?
#4  September 20, 2012, 07:47:38 pm
  • *****
  • Mega Klinklang confirmed
    • USA
    • ricepigeon.webs.com
I don't know if he released it. His code was a method of bitwise shifting and stuff to pull the required letter and place it. So you wrote a sentence by typing out

28476372474628 and it would convert that to lettering. You don't need to do it that way so use the explod method, Nothing wrong with it at all and it's not going to cause you problems.
Thanks for the advice, but how do I do that?

Let me try to explain without sounding like a computer science geek...

Each number in a computer is stored in binary form, as 0s and 1s. Much like how we use the decimal system which uses powers of 10 (ones place, tens place, hundreds place, etc), binary uses the same thing, but with powers of 2 instead (ones place, twos place, fours place, eights place, etc). So our number 12 in decimal would be written as 1100 (read as 1*8 + 1*4 + 0*2 + 0* 1 = 8+4 = 12).

Bitwise shifting is the process of moving each of the bits to the left or right. For example, number 5, which is 0101 in binary, bitwise shift to the left would produce 0101X (which is truncated to 1010) and bitwise shift to right would produce X010 (the last 1 is truncated). Notice that in this example the two numbers produced, 1010 and 0010 are 10 and 2 in binary, respectively. Thus, bitwise shifting is the equivalent to multiplying or dividing by 2.

Because bitwise shifting truncates values in the event of an overflow, a string of text can be stored as a number. For example, the letters in CAT, is we look at the alphabetical order, would be 01 05 20, which equate to 00001 00101 10100 in binary. If we write that as a single decimal number, that would be 1204. If we look at the last 5 bits (the 0s and 1s) and record that then bitwise shifting to the right 5 places and repeat until we have nothing left, we can return the values for T, A, and C in that order (yes, I know it is in reverse, you have to take that into account).

Quote
Let me try to explain without sounding like a computer science geek...

I think I just failed at that.

<<-- Updated 09/14/14

You limit yourself so badly when you try to avoid variables. When you get over your fear of the "complexity" of variables, you will find yourself in a better place: A beautiful world where coding is actually fun.
Re: A SvC-styled dialogue system?
#5  September 20, 2012, 08:36:56 pm
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
I don't know if he released it. His code was a method of bitwise shifting and stuff to pull the required letter and place it. So you wrote a sentence by typing out

28476372474628 and it would convert that to lettering. You don't need to do it that way so use the explod method, Nothing wrong with it at all and it's not going to cause you problems.
Thanks for the advice, but how do I do that?

Let me try to explain without sounding like a computer science geek...

Each number in a computer is stored in binary form, as 0s and 1s. Much like how we use the decimal system which uses powers of 10 (ones place, tens place, hundreds place, etc), binary uses the same thing, but with powers of 2 instead (ones place, twos place, fours place, eights place, etc). So our number 12 in decimal would be written as 1100 (read as 1*8 + 1*4 + 0*2 + 0* 1 = 8+4 = 12).

Bitwise shifting is the process of moving each of the bits to the left or right. For example, number 5, which is 0101 in binary, bitwise shift to the left would produce 0101X (which is truncated to 1010) and bitwise shift to right would produce X010 (the last 1 is truncated). Notice that in this example the two numbers produced, 1010 and 0010 are 10 and 2 in binary, respectively. Thus, bitwise shifting is the equivalent to multiplying or dividing by 2.

Because bitwise shifting truncates values in the event of an overflow, a string of text can be stored as a number. For example, the letters in CAT, is we look at the alphabetical order, would be 01 05 20, which equate to 00001 00101 10100 in binary. If we write that as a single decimal number, that would be 1204. If we look at the last 5 bits (the 0s and 1s) and record that then bitwise shifting to the right 5 places and repeat until we have nothing left, we can return the values for T, A, and C in that order (yes, I know it is in reverse, you have to take that into account).

Quote
Let me try to explain without sounding like a computer science geek...

I think I just failed at that.

I was actually reffering to the explod method, that Cyanide mentioned, but your information could be useful, if Vans will finally release his Dialogue System. Thanks anyway.
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns
Re: A SvC-styled dialogue system?
#6  September 20, 2012, 10:26:16 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
The explod method.

Take some text. Arrange it into a sentence. Palette it. Use EXPLOD to display it. That's it. You should have really worked that out yourself.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: A SvC-styled dialogue system?
#7  September 21, 2012, 04:51:25 pm
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
The explod method.

Take some text. Arrange it into a sentence. Palette it. Use EXPLOD to display it. That's it. You should have really worked that out yourself.
Well, yeah, but how do I do it like that, so it really is in the style po SvC: Chaos? Does there exist a template or something?
I especially wanted to add for every encounter it's own dialogues. And I want them to trigger, when for both chars the menu disapears. And, of course, I also want, that the dialogues only progress, when you press start.
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns
Re: A SvC-styled dialogue system?
#8  September 22, 2012, 12:12:19 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You cannot do the press start method. Pressing anything other than a direction key will cancel the intros.

It's still just explod with triggers on enemyname. There is no template, you're just showing an explod. You can make it type out sentences or simply display the text, there is NOTHING stopping you doing an explod.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: A SvC-styled dialogue system?
#9  September 22, 2012, 09:24:44 am
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
With the Press start method, I meant a way to make the dialogues NOT progress automatically, so you can have your time reading the lines of the dialogues.
Just imagine it like that:
Line 1
*press start*
Line 2
*press start*
Line 3
etc.
Then, I also don't know, how I can make the char check, whenever not only both intros are finished, but also both displays disappear. Only after THAT, the dialogues should start.
EDIT: Sorry for my english, but I actually meant, that when you press start, the dialogue progresses to the next line. Fixed my post, though.
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns
Re: A SvC-styled dialogue system?
#10  September 22, 2012, 10:13:31 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
And i said if you press start the intro will be skipped. I assume you don't want it to randomly pause the fight after it's started so you can progress your dialogue.

Either use direction keys, which is just a check on what is currently on screen and a command trigger or just let it run.

You can't use start.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: A SvC-styled dialogue system?
#11  September 22, 2012, 04:15:53 pm
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
And i said if you press start the intro will be skipped. I assume you don't want it to randomly pause the fight after it's started so you can progress your dialogue.

Either use direction keys, which is just a check on what is currently on screen and a command trigger or just let it run.

You can't use start.
Okay, pressin down could work, too.
Now I just need to know, how the char can check, whenever the intros of both chars are finished the displays of both chars disappear.
I also want, that it only gets triggered by the p1 char, so it doesn't get interferred by anything.
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns