Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / Conversion Problem

Author
Message
XFS Illusion
17
Years of Service
User Offline
Joined: 20th Apr 2006
Location:
Posted: 19th May 2010 01:12 Edited at: 19th May 2010 01:22
Trying to convert a game written in DBP to VB, having problems on the shooting portion. It just doesn't do anything when I press the spacebar, I know that its receiving the input though because I tested it. I'm open to other methods, i'm not too fond of this one since it will be multiplayer and i'll have to track bullets on all clients...so i'm open to suggestions on this. This just happens to be the only way I know how.

DB Code:


VB Code:



APEXnow
Retired Moderator
20
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 19th May 2010 03:48 Edited at: 19th May 2010 03:49
XFS Illusion,

Does the same code run when using the properties of the CtlDarkGDKViewport Control properties as:

Embedded=False
FullScreen=True

It's difficult to determine if the Input condition is not fireing due to message inhibitant of the WinForm class, or whether it's something else in the code altogether?

Paul.

XFS Illusion
17
Years of Service
User Offline
Joined: 20th Apr 2006
Location:
Posted: 23rd May 2010 20:44 Edited at: 23rd May 2010 20:45
The Viewport settings are as they should be. I ran a test, the keypress is being detected. In addition, I believe the only change I made was changing inc Variable to Variable=Variable+1

Login to post a reply

Server time is: 2024-03-28 23:41:23
Your offset time is: 2024-03-28 23:41:23