I know this is more like a newb question, but still, how you you create transparent places on a GUI? This can be useful for creating thought bubbles. But here is the challenge, I want the transparency to be surrounding the circular bubble, and I want the test to be in the upper bubble. Let me know if you need a diagram.
I don't know what you mean by "upper" bubble, but maybe this template (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=14739.msg180283#msg180283) will help you.
I mean this kind of thought bubble:(http://www.2dadventure.com/ags/bubble.JPG)
You need to set the background color of the GUI to 'Transparent' (Palette Index 0) and your picture should have the Magic Color as the background.
Yeah, but that won't display the text in the upper bubble and the bubble won't resize for different amounts of text.
If not quite sure how to accomplish this. You could try to write a custom thought function that displays a second GUI or overlay underneath containing the lower bubbles.
Or (as some crazy genius suggested in the thread strazer linked before) you could add the lower bubbles to the sprites in the character's 'Thinking View'.
Heh, well, here's my modification of the demo (http://www.strazer.net/ags/demo_bubble.zip) anyway :) (requires AGS v2.62 or higher).
Quote from: Ashen on Sat 27/11/2004 01:08:14
Or (as some crazy genius suggested in the thread strazer linked before) you could add the lower bubbles to the sprites in the character's 'Thinking View'.
Heh, that is what I thought I'm going to do. Wierd that you call yourself a crazy genuis, Ashen.
Anyway, I want the bubble to be oval-like, and not a rectangular circle, and I believe that I am now having trouble with the art.
A rectangular circle? I'd like to see that...
A rounded rectangle. Whatever. (http://www.2dadventure.com/ags/rectangularcircle.JPG)
QuoteWierd that you call yourself a crazy genuis, Ashen.
What? I fail to see how it doesn't apply, and I have psychologists notes to back me up on both points.....
Anyway, I think what you have to do is alter the graphics used for the 'sides' of the bubble. The demo version stazer gave just used a striaght line graphic (sprites 7 & 9 to be exact), but you could use whatever you want (which I think was also mentioned in the other thread). It's a little difficult to make it look right, since AGS just crops/repeats the graphic to stretch it to the right length, but it's do-able with a little effort.
I know, but, how?