A TextBox Again (sorry for any problems)
Displaying 1-13 of 13 total.
1
hiryuu
|
well AEN's tut helped alot but it still left me with questions still.
Like i need to put the text at the top?
and i need to outline the box (give it the FF style look to go with out game)
________________________________________
if anyone wishes to check our games progress
go to http://www.gamingplanet.com/gamesites/daggart
"Let go of my hands and I WILL varnish
the floor with your brains!!!"
Posted on 2001-01-09 00:01:35
|
TheGerf
|
Not sure what you mean by "text at the top" but if you use the GoToXY() function, and then a printstring(), you can throw text wherever you want.
To get the outline and the final fantasyish look, you can draw multiple rectangles of whatever colour you want. www.vergesource.com has a few examples.
An alternative method would be to draw the window in Paint Shop Pro or a similar program (making sure the pallettes and filetypes are correct), and Copysrprite() ing the window picture instead of the rectfill().
TheGerf, not just any gerf.
Posted on 2001-01-09 00:21:02
|
jesusfreak
|
ok here try this, my gues is is this..
you have the y-(screeny/4 blah blah!
get rid of that, download some games ang see how they do it!...
go to TvS and get some!
...Mountain...Dew......Do...The...Dew...
Posted on 2001-01-09 00:26:31
|
hiryuu
|
Sorry for being unclear but i want the whole textbox at the top, thanx for the help
"Let go of my hands and I WILL varnish
the floor with your brains!!!"
Posted on 2001-01-09 00:28:18
|
hiryuu
|
thanx but i want to use that as a last resort i really dont want to be tempted to Rip the code off.
"Let go of my hands and I WILL varnish
the floor with your brains!!!"
Posted on 2001-01-09 00:34:33
|
TheGerf
|
Oh, that's easy now. In the tutorial, the box uses the rectfill() function.
RectFill(0, ScreenY-(ScreenY/4), ScreenX, ScreenY, 32/2+0); A line like this.
If you change the first y variable to 0 (zero) it will start being drawn at the top. Change the second to ScreenY/4 to have the box go a quarter way down.
RectFill(0, 0, ScreenX, ScreenY/4, 32/2+0);
That should be how it turns out, you then change the GoToXY() y coord's accordingly to center the text near the top.
TheGerf, not just any gerf.
Posted on 2001-01-09 01:18:31
|
jesusfreak
|
A HEM!!
Tech demos my good man, download my game, or look at the Readme fileof the game! There are too many textbox code out there for anyone to care about anyways! who cares? is someone going to look at their code and yours and say " I'll see him in court This is my code!" no, noone cares about something so small!
...Mountain...Dew......Do...The...Dew...
Posted on 2001-01-09 01:46:21
|
hiryuu
|
well i have to do it this way. id much rather make my own code with tutorials for 2 reasons first ill learn quicker second i have the satisfaction of saying yes i made that.
"Let go of my hands and I WILL varnish
the floor with your brains!!!"
Posted on 2001-01-09 19:10:41
|
hiryuu
|
thanx for the idea but i just cant seem to get it to fly.... (wont compile)
"Let go of my hands and I WILL varnish
the floor with your brains!!!"
Posted on 2001-01-09 19:20:06
|
TheGerf
|
nt
TheGerf, not just any gerf.
Posted on 2001-01-10 01:08:04
|
jesusfreak
|
0 0
UU
...Mountain...Dew......Do...The...Dew...
Posted on 2001-01-10 01:39:46
|
hiryuu
|
says line 18 ) expected, , got i even copy and paseted to line 18 and i got the same thing
"Let go of my hands and I WILL varnish
the floor with your brains!!!" -ƒqƒŠƒ…ƒE(hiryuu)
Posted on 2001-01-10 23:45:59
|
TheGerf
|
On line 18, there should be a closing bracket, ), but it finds a comma. You might be trying to put to many variables into a function.
TheGerf, not just any gerf.
Posted on 2001-01-11 01:03:24
|