[Feedback] Dialogue Box For Lazy People

Show us your works in progress and request feedback

Post » Tue Jun 21, 2016 6:10 am

Hi everyone :) I did a dialogue box that uses XML and made a little game to show what it can do. I'd like to have some ideas for improvements.

Image

You can check it there

https://www.scirra.com/arcade/other-games/dialogue-box-for-lazy-people-8915

and here is the project file


https://games.scirra.net/games/8915/files/game.capx

I've written a quick tutorial about how to write the XML files.

https://www.scirra.com/tutorials/5373/how-to-use-the-dialogue-box-for-lazy-people
Last edited by bbenny93 on Wed Jun 22, 2016 7:50 pm, edited 2 times in total.
B
18
S
9
G
17
Posts: 84
Reputation: 10,519

Post » Tue Jun 21, 2016 7:31 am

Very nice.
Its very sheer, but you can add: skip all button, speed up animation button (or press X to speed up animation), and sklii check for decision ramification
B
22
S
3
Posts: 74
Reputation: 1,515

Post » Tue Jun 21, 2016 9:46 am

I enjoyed the funny demo! :D

Your text typing effect has the same problem mine had, where if a word starts typing at the end of the textbox it doesn't get word-wrapped until it's gotten long enough and so you can see words 'jump' from one line to the other mid-typing. This is the function I wrote to fix it though, which basically processes the text to automatically have line breaks before it gets sent to the typer (source text goes into a variable named textToProcess, and my spritefont object has an internal variable charsPerLine containing the maximum number of characters per line - I decided to store this in a variable since it can change in my game depending on the content of the text box, because the text is longer and fills the whole box if there is not a character portrait):

Image

I'm using Rex's Typing plugin for my typing effect, and you don't need to use the AreYouTyping boolean, I just added that to my code so I can test if my text object is currently in the middle of typing something already. Hope this helps :)
Image



Coming soon on Steam!
B
16
S
9
G
3
Posts: 209
Reputation: 3,476

Post » Tue Jun 21, 2016 4:19 pm

@hobibit
Very nice.
Its very sheer, but you can add: skip all button, speed up animation button (or press X to speed up animation), and sklii check for decision ramification


I just added the skip button and a sound effect, thanks for your comment :D .

@mikehive
Your text typing effect has the same problem mine had, where if a word starts typing at the end of the textbox it doesn't get word-wrapped until it's gotten long enough


Is it really a problem? I kind of don't mind this. Keeping the number of character per line is a good idea, but do you think it would still be possible if I allow to change the text font?
B
18
S
9
G
17
Posts: 84
Reputation: 10,519

Post » Tue Jun 21, 2016 5:03 pm

bbenny93 wrote:Is it really a problem? I kind of don't mind this.


Well, it's up to you! I hated it in my project; it looked turbo unprofessional to me. Like, you'd never see that happen in Zelda or whatever, you know? I like to make things look as slick as they can. But if you don't care you don't care :mrgreen:

bbenny93 wrote:Keeping the number of character per line is a good idea, but do you think it would still be possible if I allow to change the text font?


You're right in that you do need to have your characters per line locked down to a constant number for this to work, which is a reason (one of many) I use spritefont objects for text, and not the actual text object, because yes, changes to font (and also differences in how fonts display on different systems) will mess up your count of how many characters to allow per line. I would really recommend using spritefonts for dialogue boxes instead of normal text anyway, aside from the issue of the typing effect - if you're making a serious game that will need to work on a variety of different machines, the normal text object is just not a robust enough approach to handle it.
Image



Coming soon on Steam!
B
16
S
9
G
3
Posts: 209
Reputation: 3,476

Post » Tue Jun 21, 2016 5:13 pm

@mikehive
Well, it's up to you! I hated it in my project; it looked turbo unprofessional to me. Like, you'd never see that happen in Zelda or whatever, you know? I like to make things look as slick as they can. But if you don't care you don't care :mrgreen:


Well I guess that's what most people want, so I might as well do it if I want it to be useful for other people.
I never really used spritefont objects, I will look into that :)

By the way I checked out your dev blog, your game has a nice look. :)
B
18
S
9
G
17
Posts: 84
Reputation: 10,519

Post » Tue Jun 21, 2016 5:23 pm

Good luck! Let me know if I can help with anything ;)

And thank you!! :D
Image



Coming soon on Steam!
B
16
S
9
G
3
Posts: 209
Reputation: 3,476

Post » Tue Jun 21, 2016 8:48 pm

@mikehive

I fixed it :) You were right Spritefont objects are better to do this. I updated the game on the arcade and the project file. Now I will try to make the multiple choice lines better. Thanks again :D
B
18
S
9
G
17
Posts: 84
Reputation: 10,519

Post » Tue Jun 21, 2016 9:56 pm

Ahhhh right on! Looks great man :D
Image



Coming soon on Steam!
B
16
S
9
G
3
Posts: 209
Reputation: 3,476

Post » Tue Jun 21, 2016 11:06 pm

Thanks :)
B
18
S
9
G
17
Posts: 84
Reputation: 10,519

Next

Return to Works in Progress/Feedback Requests

Who is online

Users browsing this forum: No registered users and 3 guests