|
Textbox in V2 quick question Displaying 1-10 of 10 total.
1
BladeDragon
|
This one is probably a question that's too simple for most to ask, but I'll swallow my pride and ask it. ;p
In my textbox command in System.vc, I need to have 2 sprites blitted, not just 1. 1 being the border for the speech box (last), and 1 being the speech portrait of the char. Everything works fine doing 1 by itself, but not when the other's introduced. Thanks for all the help.
Posted on 2002-04-18 13:49:10
|
Omni
|
as far as I know, it should work like this, assuming its in a loop
loop begin---------------
processentities()
render()
copysprite 2
copysprite 1
showpage()
updatecontrols()
loop finish--------------
As long as you don't call render last to update the screen, objects keep getting drawn on top of whatever is called by VC and shown by showpage. Call render first, to update the screen, and then draw stuff on top of it.
It is not wrong to not understand, for we are all ignorant, but neither is understanding pointless.
Posted on 2002-04-18 15:25:28
|
TheGerf
|
What doesn't work when you try both? Make sure you're copyspriting them in the right order, and only showpaging once, at the end of the loop.
TheGerf, not just any gerf.
Posted on 2002-04-18 15:36:29
|
Hatch
|
is you're using image_width and image_height for both the copysprites. That doesn't work, because those variables only store the value for the LAST loaded image. You'll need to enter the numbers yourself, or store them in another variable before loading another image.
-Hatchet
Posted on 2002-04-18 19:37:24
|
choris
|
Hatchet actually makes a board post. ^_^
choris@verge-rpg.com
Posted on 2002-04-19 13:04:22
|
BladeDragon
|
Thanks for the help, I actually forgot that I posted the problem on V2, so I ended up solving it on my own, and Hatchet's suggestion was what cured the problem. Image_Height is what I had used in both, but ironically, some problem seemed to exist with using BMP files instead of PCX. Little flickering pixels were all over my screen when I had the text box you'll see below (the border, not the lucent rectfill) when it was saved as a BMP, but did NOT do it when it was loaded as a PCX. Obviously I don't mind converting in the slightest, but just wondered if anyone happened to know the cause of this, or if it deals with a certain size file causing it? Rubin's Speech portrait was a BMP previously, but caused no flickering also if that helps any.
But again, thanks all for the help, and enjoy the snapshot. In lieu of saving secrets, I only tested the 3 textboxes used in the game on my Glade fighting background.
http://blade_dragon.tripod.com/Snapshot.gif
Enjoy!
Posted on 2002-04-19 15:22:45
|
Hatch
|
I lost my password, and was tempted to just make a new login on several occasions but never bothered.. finally I just said screw it, since I wanted to help. ^^;
-Hatchet
Posted on 2002-04-19 16:02:41
|
TheGerf
|
Spiffy.
TheGerf, not just any gerf.
Posted on 2002-04-19 16:38:23
|
Omni
|
It is not wrong to not understand, for we are all ignorant, but neither is understanding pointless.
Posted on 2002-04-20 09:09:34
|
rpgking
|
Nice dialog box. And nice altered Fei image :P
Out of clutter, find simplicity.
-Einstein
Posted on 2002-04-20 18:50:13
|
Displaying 1-10 of 10 total.
1
|
|