Always wanted to have better text inside your game? Want to use different colours and fonts mid-text but don't like to have different calls of draw_set_color, draw set_font and draw_text? You have to admit, this is ugly and makes your text less readable. Well look no further! bbtextbox is all you need. And the best part is: it's really use to adapt it to your own needs! (requires some GML knowledge)
There is no tag for [i] and [b], this is because that requires the script to have knowledge about the fonts you have in your game. That's why we use the font tag (instead of 4 fonts per family/size). If you want to display something in bold, duplicate the default font, and make it bold. Now use this font name in [font=...] to go to bold text. If you want to simplify things, you could add them by yourself.
About the asset files
When importing all files you have the full demo. You can test with it, take a look at the source code. If you want to use it in a game, you can leave out the backgrounds, room and fonts. Don't forget to change the default font!
This is my first asset here, so if I overlooked something. Let me know!
Initial version! Hurray!
Version 1.0.0. Published May 25, 2015
Created with GameMaker: Studio v1.4.1567
You can only review assets you've bought.
Works perfectly for me
Easy to extend as well - made a few modifications
Alpha doesn't work
I downloaded this primarily to alter the alpha of the text mid-string but it doesn't seem to work as per instructions. Everything else does.
Except for alignment, it's a great tool!
Good point. I never thought about that. I think it shouldn't be too hard to implement. If I rewrite this asset, I'm sure I'll keep this into account! Thanks for your review!
Works very well, a definite keeper :)
I have been expanding it a bit, and I was able to add multiple parameter support and inserted sprites with a whole lot more ease than I thought I was going to have (although I think it could be a little easier to customize if you split it up into scripts), I also love how you can add multiple effects together, I was using another system like this that allowed for customized text, but you couldn't mix effects because of the way it was built.
It's a long time ago since I wrote this asset, and at the time I didn't want to use too many scripts. Maybe I can write a new version (in GM:S 2) that is a little bit easier to extend. Thanks for your review! I appreciate your feedback!
Very easy to use and expand! I have expanded this to work like textboxes a la classic rpgs (framed textboxes).
Thanks for your review! I deliberately didn't add any frames myself, so it was easier to customize.
Easy to use asset with a bunch of awesome features, like playing sounds during different points in the text. Definitely worth a try!
Thanks for your review! Glad to hear that it is easy to use!
Really Really Great
Very rarely do I find anything in the store that offers simple well put together code that allows the coder to easily extend it. (it literally took me 1 minutes to figure out how to extend the tags for my own purpose) great work! Make more things!
Great to hear how easy it is to extend, in my opinion it feels kinda hacky, but I'm glad that people find it easy to extend! I slightly expected people to complain about this, but it appears to be the other way around. Thanks for your review!
This is EXACTLY what I needed for my game!
There's only one problem, though.
How do I change the x and y of the text being displayed?
I don't want it in the upper left corner like it typically stays, and the readme doesn't seem to detail how to do that.
If your game only requires one type of textbox you can change the draw event of obj_textbox. I didn't make it configurable with settings as I think that each game wants to do this in another way (like background, transparancy, position dependent on the character who says it...). So tp change the coordinates (offsetx and offsety) where you want to text to be on the screen.
Any idea why 0 stars for a perfect asset? But thanks for your reply! Appreciate it!
Just tried this asset, and it works so well. Easy to integrate, and easy to use. The possibility to add custom actions and tags is a great idea.
Thanks for your rating/review! Appreciate it!