hey friend,
why don't you create a method to display menu?
when player hit any key to enter game,then jump onto Game Loop,
when player hit the wall / feed themselves,jump onto Menu Method
my english is not good,i hope you can understand
I just wanna know how to use CallDll command....... You usually have to make your own dll for that because CB expects all dll functions to be declared as: (C++ code) extern "C" __declspec( dllexport ) void myfunction(const int *memIn, int memInSize, int *memOut, int memOutSize) { // memIn contains ...
The CoolBasic DLL support is really limited and you cannot call WinAPI DLLs as is. There is a wrapper library called cbFUN that has some this functionality. To use it you need to download the SDK and then extract the files to the CoolBasic directory. List of supported functions: ShowWindow() FlashW...
i don't know how to use CallDll command
i wanna use winapi,just like messagebox
i don't know how to write argument
can someone tell me,and write a example?
please.
Unfortunately there is no built-in method to do this (which is actually pretty weird), if you need customizable keys just store the scan codes directly. If you want to query the keys from the player, you can do something like this: Repeat a = GetKey() For i = 0 To 255 If KeyDown(i) Then scan = i En...
why i can't assign a custom type to global variable? and,why i can't use custom type variable in function block? such as: type RECT field x field y field width field height end type theRect.RECT = new(RECT) function DoSomething() theRect\x = 10 end function as the code above,cannot complie,what shou...
i like basic,and i like coolbasic,as it's name,coolbasic is so cool i'm using coolbasic beta10,but it seems like too old i don't found the latest version seems like you are developing a new engine that named coolBasic v3(or cool ves? How are things going over there? can you give me a copy of coolbas...