hello,long time no see
is there CoolBasic v3?
it's Long awaited.
Search found 11 matches
- Thu Nov 17, 2016 2:57 am
- Forum: CoolBasic
- Topic: Hey,I am a newbie
- Replies: 3
- Views: 46706
- Sat Feb 28, 2015 4:18 am
- Forum: Projects
- Topic: My first game:Big Shape
- Replies: 4
- Views: 40562
Re: My first game:Big Shape
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
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
- Sun Sep 14, 2014 10:14 am
- Forum: Problems
- Topic: hello everybody,i got trouble again
- Replies: 6
- Views: 19419
Re: hello everybody,i got trouble again
I tried this example Include "sdk/include/cbAPI.cb" Const MID_NEWTEXT = 1 Const MID_NEWIMAGE = 2 Const MID_OPENFILE = 3 Const MID_SAVEFILE = 4 Const MID_EXIT = 5 subID = CreatePopupMenu() AddPopupMenuItem(subID, MID_NEWTEXT, "Uusi tekstitiedosto") AddPopupMenuItem(subID, MID_NEWI...
- Sun Sep 14, 2014 8:36 am
- Forum: Problems
- Topic: hello everybody,i got trouble again
- Replies: 6
- Views: 19419
Re: hello everybody,i got trouble again
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...
- Sat Sep 13, 2014 6:29 pm
- Forum: Problems
- Topic: hello everybody,i got trouble again
- Replies: 6
- Views: 19419
Re: hello everybody,i got trouble again
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...
- Sat Sep 13, 2014 5:04 pm
- Forum: Problems
- Topic: hello everybody,i got trouble again
- Replies: 6
- Views: 19419
hello everybody,i got trouble again
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.
- Mon Apr 28, 2014 5:45 pm
- Forum: Problems
- Topic: About ASCII to ScanCode
- Replies: 2
- Views: 10746
Re: About ASCII to ScanCode
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...
- Mon Apr 28, 2014 10:21 am
- Forum: Problems
- Topic: About ASCII to ScanCode
- Replies: 2
- Views: 10746
About ASCII to ScanCode
as title,how to convert ascii code to scan code?
- Mon Apr 28, 2014 7:36 am
- Forum: Problems
- Topic: could you help me?
- Replies: 2
- Views: 9260
Re: could you help me?
and,the custom type can be nested?
such as:
such as:
Code: Select all
type position
field x
field y
end type
type rect
field position
field width
field height
end type
- Mon Apr 28, 2014 7:31 am
- Forum: Problems
- Topic: could you help me?
- Replies: 2
- Views: 9260
could you help me?
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...
- Sun Apr 27, 2014 4:45 pm
- Forum: CoolBasic
- Topic: Hey,I am a newbie
- Replies: 3
- Views: 46706
Hey,I am a newbie
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...