Search found 96 matches

by eddy
Sat Sep 30, 2017 8:03 am
Forum: Feature Requests and Wishlists
Topic: Bluetooth lib
Replies: 2
Views: 6071

Re: Bluetooth lib

NFC too
by eddy
Sun Aug 20, 2017 9:56 am
Forum: Coding Questions
Topic: ios and android rendering
Replies: 0
Views: 1628

ios and android rendering

Hi,

How does cordova render ios and android application ?

Is it a webview or something else ?

In case of webview, are there any performance issues for 2d game ?
by eddy
Fri Jun 05, 2015 8:00 pm
Forum: Showcase
Topic: PDF generator (jsPDF)
Replies: 22
Views: 28056

Re: PDF generator (jsPDF)

Where does it put the generated "Test.pdf" file? It doesn't seem to save anything on OS X. It's not an OSX bug. I coded this program with an old beta version of SpiderBasic. :mrgreen: It was broken because of recent naming rule change : :arrow: http://forums.spiderbasic.com/viewtopic.php?...
by eddy
Sat May 30, 2015 2:18 pm
Forum: Feature Requests and Wishlists
Topic: Option to preserve function names in Output Js file
Replies: 6
Views: 4374

Re: Option to preserve function names

For example : Procedure Calc () ;--------------> becomes Proc0 in js output file EndProcedure Procedure Move () ;--------------> becomes Proc1 in js output file EndProcedure Is it possible to add a prefix ? Procedure Move () ;--------------> will become proc_Move, pr_Move or sb_Move EndProcedure
by eddy
Sat May 30, 2015 1:58 pm
Forum: Coding Questions
Topic: Goto And Gosub Instructions Don't work With Me
Replies: 4
Views: 2919

Re: Goto And Gosub Instructions Don't work With Me

They need a way of faking labels as I don't think they are available in javascript. Faking GOTO command is possible with some limitations. (article : http://zo0ok.com/techfindings/archives/1904) You'll have to define code section that allows GOTO jumps. Macro SQ ' EndMacro ; ugly macro xD Macro Lab...
by eddy
Thu May 28, 2015 5:22 pm
Forum: Feature Requests and Wishlists
Topic: Option to preserve function names in Output Js file
Replies: 6
Views: 4374

Option to preserve function names in Output Js file

Hi,
I wonder why functions are renamed in debug mode ?

SB continues to rename functions even if I uncheck 'optimize javascript output' option.
by eddy
Thu May 28, 2015 12:46 pm
Forum: Coding Questions
Topic: DebugLevel
Replies: 2
Views: 2502

DebugLevel

What is the purpose of DebugLevel command ?

Code: Select all

DebugLevel 1
Debug 1
DebugLevel 2
Debug 2
DebugLevel 200
Debug 200
by eddy
Fri May 22, 2015 7:52 pm
Forum: Tricks 'n' Tips
Topic: MinArray, MaxArray
Replies: 0
Views: 3778

MinArray, MaxArray

Procedure.d MinArray(*Array) !return Math.min.apply(null, p_array.array); EndProcedure Procedure.d MaxArray(*Array) !return Math.max.apply(null, p_array.array); EndProcedure ; *************** ; EXAMPLE ; *************** Dim Arr.d(5) Arr(0)=1.1 Arr(1)=11000.5 Arr(2)=10.11 Arr(3)=777.5 Arr(4)=3.5 Arr...
by eddy
Thu May 21, 2015 8:49 pm
Forum: Feature Requests and Wishlists
Topic: JSON Shorthands
Replies: 0
Views: 3081

JSON Shorthands

it could be like a JSON data section with comma/newline separators: ; ********** initializing JSON variable ************************ Protected jsonValue, myValue=1 DeclareJSON jsonValue ;v_jsonvalue = JSONArray, 1,2,3, EndJSONArray ;[ 1,2,3, ]; EndDeclareJSON ; DeclareJSON jsonValue ;v_jsonvalue = J...
by eddy
Tue May 19, 2015 10:13 pm
Forum: Coding Questions
Topic: Is it possible to show an animated GIF?
Replies: 1
Views: 2139

Re: Is it possible to show an animated GIF?

SpiderBasic did a DataToURL conversion.
In your screenshot, the file extension seems to be wrong: "image/png" instead of "image/gif"