Search found 34 matches

by HPW
Thu May 30, 2019 5:32 am
Forum: Javascript
Topic: Babylon.js
Replies: 67
Views: 310374

Re: Babylon.js

Hello falsam,

Any plan to move to Babylon 4.0 ?

Regards

Hans-Peter
by HPW
Sun Oct 21, 2018 5:26 am
Forum: Coding Questions
Topic: how to run example independent from SpiderBasic environment
Replies: 7
Views: 2796

Re: how to run example independent from SpiderBasic environm

Hello, You choose "Compiler/Create App" and in the web-tab you set your main html-file in field "Html filename". That file and folder gets created with a sub-Folder "Spiderbasic". Your main-file can then be started with Firefox locally for example. Or copy all to your w...
by HPW
Sat Sep 15, 2018 4:07 pm
Forum: Javascript
Topic: spiderbasic with newLisp-js Sample?
Replies: 4
Views: 5063

Re: spiderbasic with newLisp-js Sample?

Hello, Here my current version: newlisp.sbi ;newlisp-js for SpiderBasic ;Version : 1.0.0 DeclareModule NEWLISP ;-Engine.sbi Declare.s newlispCall(sourcestring.s) EndDeclareModule Module NEWLISP IncludeFile "nlengine.sbi" EndModule nlengine.sbi ;newlisp-js for SpiderBasic : Nlengine Procedu...
by HPW
Mon Aug 27, 2018 10:04 am
Forum: Javascript
Topic: Babylon.js
Replies: 67
Views: 310374

Re: Babylon.js

Hello falsam, Downloaded the last Version and get an error in "15-Canvas.sb" This: ImportScene("car", "data/Ferrari/", "ferrari.obj", @OnLoad()) should be: ImportScene("car", "data/Ferrari/ferrari.obj", @OnLoad()) and: ImportScene("for...
by HPW
Sun Aug 26, 2018 2:26 pm
Forum: Javascript
Topic: spiderbasic with newLisp-js Sample?
Replies: 4
Views: 5063

Re: spiderbasic with newLisp-js Sample?

Hello,

I managed to build a module for newlisp
I also added a info and doku button to the sampe app
Test-app: http://www.hpwsoft.de/nls/

Regards
by HPW
Sun Aug 26, 2018 1:14 pm
Forum: Javascript
Topic: Calling sb-functions from javascript
Replies: 4
Views: 3437

Re: Calling sb-functions from javascript

Hello Peter,

Thanks for the hint. I will remove them.

Regards
by HPW
Sun Aug 26, 2018 12:14 pm
Forum: Javascript
Topic: Calling sb-functions from javascript
Replies: 4
Views: 3437

Re: Calling sb-functions from javascript

Hello Peter, Thanks again for the hint. I had tested the code before but dammned case sensitivity was the problem. Works now. Now the Picture gets clearer how things work together in sb. [quote](and note that the code block is commented out (<!-- .... -->) and therefore cannot be called.)[\quote] I ...
by HPW
Sun Aug 26, 2018 11:53 am
Forum: Javascript
Topic: Calling sb-functions from javascript
Replies: 4
Views: 3437

Calling sb-functions from javascript

Hello, A question: I injected some JavaScript calls ito the Body of the spiderapp. I want to Access the spider-objects from there like: <script type='text/javascript'> <!-- var Module = { preRun: [], postRun: [(function() { newlispEvalStr = Module.cwrap('newlispEvalStr', 'string', ['string']); })], ...
by HPW
Sun Aug 26, 2018 8:47 am
Forum: Tricks 'n' Tips
Topic: Tool: HtmlPreprocessor for SpiderBasic
Replies: 11
Views: 6375

Re: Tool: HtmlPreprocessor for SpiderBasic

Hello,
Also this did not work:

Code: Select all

            var statusElement = document.getElementById('widget_dijit_form_Textbox_1');
            statusElement.innerHTML = text;
Regards
by HPW
Sun Aug 26, 2018 7:52 am
Forum: Tricks 'n' Tips
Topic: Tool: HtmlPreprocessor for SpiderBasic
Replies: 11
Views: 6375

Re: Tool: HtmlPreprocessor for SpiderBasic

Hello Peter, A related question: I injected some JavaScript calls ito the Body of the spiderapp. I want to Access the spide-objects from there like: f_disablegadget(3,0); f_setgadgettext(5,text); But Console repors that they are undefined. And when examie the html I can not see any DOM structure. So...