Is not the #VK_5 , #VK_5 is the number 5.
In darkbasic there was one function SCANCODE() which used the scancode number of the key and not the name of the key.
For example the middle key from keypad on keyboard
789
456
123
is 76
So if you have numlock on or off the scancode is the same.
I suggest in the next version RC4 to put this function in your keyboard commands of DarkGDK.
I have to say I am very apprecialted for your effort and your hard work you have put in these libraries.
I would like to ask is it possible to add one small dll in your supported libraries?
There is a small dll , which allows you to add one splash image , before the game loads and the game window appears or the game change in fullscreen.
Is it possible to port or add this dll in your supported libraries of your DarkGDK?
The original post was from here:
http://forum.thegamecreators.com/?m=forum_view&t=30420&b=1
The link to download the dll from there was broken so I uploaded here again.
1. init graphics
2. load bitmap "file_name.png", 0
3. sync, if needed
4. load resources, display loading bar, etc.
The few commands of the dll , which needs to be ported in DarkGDK version.
This allows you to load some image before the game window appears
As I remember if you change 0 with 5000 , you will see the splash image for 5 seconds before the game starts.
If you have access to the dll and you can add loading bars on the splash screen it will be great.
Thank you very much and have a nice day.