Use a web app with a simple browser ?

Just starting out? Need help? Post your questions and find answers here.
Jack55
Posts: 1
Joined: Tue Jan 24, 2023 4:54 pm

Use a web app with a simple browser ?

Post by Jack55 »

Hello

When we create a web application, can we launch it by opening the html file from a browser?
-I use the demo version-
Because when I create an application from the examples sprite.sb, screen.sb, 2DDrawing.sb etc there is no sprite displayed.
While it works fine when compiling with F5.
To use the web applications made with spiderbasic do you need a web server or a simple browser is enough?

Thanks !
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: Use a web app with a simple browser ?

Post by Peter »

Yes, you need a web server to run SpiderBasic apps.
AZJIO
Posts: 73
Joined: Wed Dec 14, 2022 1:13 pm

Re: Use a web app with a simple browser ?

Post by AZJIO »

Open the SpiderBasic\Libraries\javascript folder. Copy the "javascript" folder and put it next to the html file. Rename the "javascript" folder to spiderbasic. Now you can run the html file.
Surprisingly, I tried to run an html file an hour ago, not knowing about your question and looked at the html file that it refers to "spiderbasic/dojo/dojo.js" and then I realized what it was missing.
User avatar
useful
Posts: 116
Joined: Tue Feb 25, 2014 1:15 pm

Re: Use a web app with a simple browser ?

Post by useful »

2B or not 2B = FF
Post Reply