07-06-2006, 07:10 PM
The Pendulum Online
|
07-06-2006, 07:21 PM
looks like it's going well so far. might want to look into semi-transparent forms... that's what i did, and i combined it with "always on top" forms, that way players could move the chat box around, and it looked like the more "professional" 3d mmorpgs out there. i still have the code if you'd like it.
07-06-2006, 07:26 PM
Sure, problem is, my computer just died again, it'll work in awhile prolly.
If you want to share the code, post it, otherwise, PM it to me.
07-06-2006, 07:29 PM
i'll post it when i get home, i'm at work right now and i don't have access to it. but, it uses an API for the semi-transparent forms so i'm not sure if it'll work on Win95 systems...
07-06-2006, 07:40 PM
Eh, alot of stuff going in the game works only with nt based systems, so, one of the requirements is going to prolly be windows xp.
07-06-2006, 10:59 PM
there are 2 tutorials to do that here already.
08-06-2006, 01:19 PM
What form on top?
Code: Private Declare Function SetWindowPos Lib "user32" (ByVal hWnd As Long, _
13-06-2006, 03:25 PM
I only have one question about that, if you place the form on top, how is a player possed to move and what not? Do you move all that code to the transparent form, or what?
13-06-2006, 07:11 PM
you can make the form dragable if they mouse down on either of the text boxes, or the form itself. i'll upload the code for you tonight... if i can remember to do it... :roll:
13-06-2006, 07:21 PM
No, I mean, when the player is walking and what not. Since the transparent form will be on top, the keypresses won't work in frmmirage.
Well, to my knowledge anyways.
13-06-2006, 08:39 PM
why would you want the keypresses to move the character in the textbox?. It prevents them from selecting text with their keyboard and such since the arrow keys would move the character, I think its good like that. But whatever, they can just click the screen if they want to interact again.
14-06-2006, 12:15 AM
Um, you always twist what I say.
I meant, if you jsut lay a form over the main form, then how is the game going to process the keys, such as moving the player and what not.
14-06-2006, 02:33 AM
I think i figgered what i didnt like about vbmodaless
It always activated the window, with the code i gave you it had the option to activate or not. I think its pretty similar to renegades code above Anyway, about the processing kes thing, you can have the option to not activate the window when its set on top, so the window underneath still has control. Either that or you convert over to directinput, which isnt that bad
14-06-2006, 01:58 PM
Oh, okay. I'll prolly be messaging you later for some help dealing with that. Thanks.
14-06-2006, 10:53 PM
Here's the example for semi-transparent forms. the amount is adjustable so it can be more or less transparent.
http://xthost.info/endieko/Semi-Transparent%20Forms.rar
13-10-2008, 02:55 PM
dose any one have this file?
The link above has gone dead.
13-10-2008, 03:07 PM
Blue Fly Wrote:dose any one have this file? The link above has gone dead. Quote:Wed Jun 14, 2006 11:53 pm You don't need a file. Use Search button & look for the Script to do it.
13-10-2008, 03:17 PM
Mattyw Wrote:Blue Fly Wrote:dose any one have this file? The link above has gone dead. I have tried searching and cant find any example or a good explination of the problem. I can get the box to be semi transparent over the map, but then if flashes every time the map is re-drawn (or built). I know it has something to do with the FPS or that the txt box is a windows fourm control object thingy and the map is not. Something to that nature is the problem.
13-10-2008, 03:23 PM
Convert to DX8.
That's my answer, all WILL be alot easier & look so much epicer on DX8. =-p Well, could BLT or whatever the text ONTO the Game Screen, then it moves depending on TextBox location.
13-10-2008, 06:16 PM
Lea Wrote:If the effect is the same, who cares how it was done? Aren't you the one who told me that there is always a better way to do something ![]()
14-10-2008, 12:00 AM
Lea Wrote:If the effect is the same, who cares how it was done? Robin ![]() |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)