![]() |
The Pendulum Online - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Show Off (https://mirage-engine.uk/forums/forumdisplay.php?fid=10) +---- Thread: The Pendulum Online (/showthread.php?tid=104) |
The Pendulum Online - Matt - 07-06-2006 A joint effort of me and Sonire. Here is an early stage of development, with a not quite finished "GUI" Yes, the game is full screen, the maps DO fit to an 800x600 screen res. ![]() - Obsidian - 07-06-2006 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. - Matt - 07-06-2006 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. - Obsidian - 07-06-2006 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... - Matt - 07-06-2006 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. - Misunderstood - 07-06-2006 there are 2 tutorials to do that here already. - Reece - 08-06-2006 What form on top? Code: Private Declare Function SetWindowPos Lib "user32" (ByVal hWnd As Long, _ - Matt - 13-06-2006 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? - Obsidian - 13-06-2006 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: - Matt - 13-06-2006 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. - Misunderstood - 13-06-2006 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. - Matt - 14-06-2006 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. - funkynut - 14-06-2006 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 - Matt - 14-06-2006 Oh, okay. I'll prolly be messaging you later for some help dealing with that. Thanks. - Obsidian - 14-06-2006 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 Re: The Pendulum Online - Blue Fly - 13-10-2008 dose any one have this file? The link above has gone dead. Re: The Pendulum Online - Mattyw - 13-10-2008 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. Re: The Pendulum Online - Blue Fly - 13-10-2008 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. Re: The Pendulum Online - Mattyw - 13-10-2008 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. Re: The Pendulum Online - Anthony - 13-10-2008 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 ![]() Re: The Pendulum Online - Rory - 14-10-2008 Lea Wrote:If the effect is the same, who cares how it was done? Robin ![]() |