Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 YAPP - Yet another problem people - Fullscreen

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
EACam Posted - May 05 2004 : 3:55:30 PM
Guess who!

ME!

OK ok, i'm having another problem...and this one just suddenly started occurring when it had been working fine in the past.

Basically...Fullscreen mode (obviously in dx8 for my 2D game) works fine. The only thing is...it seems dx is just drawing on top of everything, even tho I don't exactly have focus. I can resize the form (the resize cursors show when I move my mouse to the edge of the screen) which doesn't actually effect any of the drawing (but when I try to draw object BOB at the location of the mouse, it get's really messed up since the form isn't picking up mouse movements if I've resized it!).

Sometimes quicklaunch icons show up when i move my mouse over them. Menu items show up when i move my mouse over them...it's weird....and tremendously annoying!

Any ideas?
13   L A T E S T    R E P L I E S    (Newest First)
Sr. Guapo Posted - May 07 2004 : 10:48:29 PM
It sounds great... Keep us posted.
VBBR Posted - May 07 2004 : 10:15:36 AM
...I'm waiting for it!
EACam Posted - May 07 2004 : 09:18:23 AM
You know...i've always thot that was necessary...but a while ago my app (with border, menu items, resizable...allowing for both windowed and fullscreen mode) worked fine.

Suddenly! It stopped. I guess I'll just do that (it seems to be the easiest solution...instead of plowing through ALL my initialization code).

Oh, my game? Ho ho ho...be prepared for an RPG that will knock your socks off! Say goodbye to 3D...people will rather play this 2D game!
cjb0087 Posted - May 07 2004 : 02:31:46 AM
yeah i ran into this problerm a while ago with openGL, you NEED to set the form to maximised and borderless, DX and OGL dont change this by themselves, and also try making you window 'always on top', as for most games, this gets in the way
Sr. Guapo Posted - May 06 2004 : 8:01:18 PM
I don't think I've ever done that Eric, and i've never had a problem because of it.
Eric Coleman Posted - May 06 2004 : 4:44:20 PM
Actually, that's not what happens. If you don't manually maximize your form, remove the border, and also make sure it is activated, then you can run into the problems that EACam is esperiencing. Your mouse can still interact with the desktop because it has nothing to do with the state of the video card. By maximizing your form, you can insure that the only thing someone can click on is the form, and not a secondary window that might be beside the form. You don't want to accidentally click on the Delete button in an Explorer window and delete something by mistake
VBBR Posted - May 06 2004 : 3:22:57 PM
But if he's telling DX to set it fullscreen then it really doesn't matter the state or border of the form, it gets maximized, with no border and always on top (at least it should)

p.s. read my edit above...
Eric Coleman Posted - May 06 2004 : 1:34:28 PM
Make sure your form's border property is set to none and that its startup state is set to maximized.
VBBR Posted - May 06 2004 : 1:00:34 PM
Hey I'm kinda curious... with you having all those problems and stuff... you must be creating a great game!
Could I ask what is it about?

Also... about your "awkward" logging system (hey that would be a good name to give it ) well, if this confusion isn't needed in the development phase, why don't you write the code normally and then create a small program that adds the awkward lines where they're needed? (if this can be done in your case) And then you save it in another folder like "final compile" or whatever and then compile the game from there.

P.S. I think I will change my sig... hehe it looks like HEX is looking too boring to play and also to develop...

[EDIT]: Now see! After a while thinking, I came up with "wormhole" as a codename for my newly-born project. (In fact, it was born 30 minutes ago.) But believe me, THIS one will be completed! (I hope)
EACam Posted - May 06 2004 : 12:37:24 PM
Thanks. I'll look through my code...which unfortunately isn't easy because my logging system requires an awkward line after almost every single line of code -- nice for debugging AFTER i release the game...not so good for debugging NOW
Sr. Guapo Posted - May 05 2004 : 7:33:43 PM
What was the code you used to inintialise DX8 in fullscreen? I had a similar problem a while ago, and it was because I was missing one of the lines of code.
  
DispMode.Format = D3DFMT_X8R8G8B8  
DispMode.Width = 1024  
DispMode.Height = 768  
  
D3DWindow.SwapEffect = D3DSWAPEFFECT_FLIP  
D3DWindow.BackBufferCount = 1  
D3DWindow.BackBufferFormat = DispMode.Format  
D3DWindow.BackBufferHeight = 768  
D3DWindow.BackBufferWidth = 1024  
D3DWindow.hDeviceWindow = frmMain.hWnd  
  


That is right out of Jack Hoxley's great old DX tutorials.
EACam Posted - May 05 2004 : 7:12:24 PM
I definately set DX8 to fullscreen. I know it because it changes the resolution.
Spodi Posted - May 05 2004 : 5:32:21 PM
Did you set DX8 to Fullscreen? Or did you just set the form to fullscreen and have DX8 draw like in windowed-mode?

VBGamer © Go To Top Of Page
This page was generated in 0.17 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.