PDA

View Full Version : Very strange problem...



xGTx
16-07-2004, 01:38 AM
I dont really understand this, but in my RPG game, DelphiX doesnt want to render sometimes. It's very odd... If at the begining I load the Debug form and the Menu form... I connect to server and get in game... everything runs great. But when i commented out the winDebug.Show, i get to the game and just a black screen! HELP

Traveler
16-07-2004, 08:52 AM
I haven't got a clue to what you are talking about. Can you provide some code or link the program?

xGTx
18-07-2004, 10:05 PM
I can't just yet. But picture it in your head.

I open the client.
Click the intro screen and get to the main menu screen.
At the main menu screen i click "Connect"
I connect to game. Then I choose my character.
Then the game screen loads up with the DXDraw1 component.
Then rendering timer is going and it's rendering the game screen out.
However, it only renders if i load up another form before i get to the game screen. Like the debug form. If i do not load the debug form before getting there, it doesn't render anything to the DXDraw. And the debug form is in no way linked to the DXDraw form....

Paulius
18-07-2004, 11:50 PM
Not enough information for a guess, debug and check if you're timer is running, does Filling the surface work? And by loading do you mean Show or what?