Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - lanslot

Pages: [1]
1
Announcements / Some suggest about Editor
« on: 2016-Apr-07 »
first,why not support auto-intellisense instead of Ctrl + T?
second,why not support another Language like chinese in Editor and Game?
sometimes ,i have to use chinese write games for my friends,but their english is not good like me

2
GLBasic - en / GLBasic Book?
« on: 2016-Mar-25 »
i wanna buy tutorial book about GLBasic Programming
please tell me where to buy <3
or e-book?
i mainly wanna know how to develop android application and html5's

3
GLBasic - en / Try to build HTML-WebGL :(
« on: 2016-Mar-08 »
Code: (glbasic) [Select]
_______________________________________
*** Configuration: HTML5-WEBGL ***
precompiling:
GPC - GLBasic Precompiler V.10.037 SN:ebf17e50 - 3D, NET
Wordcount:330 commands
compile+link:
WARNING  root: (Emscripten: system change: 1.16.0|asmjs-unknown-emscripten|E:\GLBasic_v14\Compiler\platform\JavaScript\bin\clang|3.3 vs 1.35.0|asmjs-unknown-emscripten|E:\GLBasic_v14\Compiler\platform\JavaScript\bin\clang|3.7, clearing cache)
INFO     root: (Emscripten: Running sanity checks)
WARNING  root: java does not seem to exist, required for closure compiler. -O2 and above will fail. You need to define JAVA in ~/.emscripten
Nothing to do!
distribute HTML5 to: G:/GLBasic Projects/GLBasic/Samples/3D/ObjectCreation/distribute/HTML5
exit
success
_______________________________________
*** Finished ***
Elapsed: 71.0 sec. Time: 17:20
Build: 1 succeeded.
But i can run "java -version" on cmd

4
Code: (glbasic) [Select]
03-07 15:33:42.745: E/AndroidRuntime(19239): java.lang.UnsatisfiedLinkError: No implementation found for void com.glbasic.test.SDLActivity.setFilesPath(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) (tried Java_com_glbasic_test_SDLActivity_setFilesPath and Java_com_glbasic_test_SDLActivity_setFilesPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2)
03-07 15:33:42.745: E/AndroidRuntime(19239): at com.glbasic.test.SDLActivity.setFilesPath(Native Method)
03-07 15:33:42.745: E/AndroidRuntime(19239): at com.glbasic.test.SDLActivity.onCreate(SDLActivity.java:298)

method signature:
Code: (glbasic) [Select]
public static native void setFilesPath(String path, String devid, String cache, String lang, String extStoragePubDir);
Android Code Snippet:
Code: (glbasic) [Select]
setFilesPath(dataDir.toString(),
AndroidId.toString(),
chacheDir.toString(),
java.util.Locale.getDefault().getLanguage(), // getDisplayCountry()
ext_storage
);

5
GLBasic - en / how to change button position
« on: 2016-Mar-07 »
as the title
i try to use ddgui,like this:
Code: (glbasic) [Select]
LOCAL id_btn_ok$
id_btn_ok$ = "btn_ok"
SETSCREEN 320,240,FALSE
DDgui_pushdialog(0,0,320,240)
DDgui_button(id_btn_ok$,"Hello",32,24)
DDgui_set(id_btn_ok$,"XPOS","50")
WHILE TRUE
DDgui_show(FALSE)
SHOWSCREEN
WEND
i know that property - "xpos,ypos" is only use to dialog
so,how do you adjust another widget position

Pages: [1]