Both are html5 canvas, the difference is WebGL : the screen is GPU accelerated (but it need to be refreshed every frame) while the canvas isn't.
You should select which one to use based on movement : do you need a lot of update to your canvas? Go screen. Will your canvas be mostly static? Go Canvas.
Search found 70 matches
- Tue Mar 03, 2020 9:40 am
- Forum: Coding Questions
- Topic: Canvas vs Screen
- Replies: 1
- Views: 1450
- Tue Feb 25, 2020 9:47 am
- Forum: Coding Questions
- Topic: Read XML from URL
- Replies: 6
- Views: 3186
- Thu Feb 20, 2020 3:30 am
- Forum: Feature Requests and Wishlists
- Topic: Compression & Network libraries
- Replies: 1
- Views: 1998
Re: Compression & Network libraries
There won't be a PB compatible network library : HTML5 can't use traditional socket and is limited to websocket support. That being said, here is my websocket module for SpiderBasic DeclareModule Websocket Declare Open(Adress.s,*OnMessageCallback,*OnOpenCallback,*OnErrorCallback,*OnCloseCallback) De...
- Sat May 04, 2019 3:13 pm
- Forum: Tricks 'n' Tips
- Topic: JSTools
- Replies: 6
- Views: 4911
Re: JSTools
Thanks.
No more update planned though, since I'm moving away from SB and PB : I do think they are great tools, but the french community is waaaaaay too toxic for me to stay.
No more update planned though, since I'm moving away from SB and PB : I do think they are great tools, but the french community is waaaaaay too toxic for me to stay.
- Thu Feb 14, 2019 3:54 pm
- Forum: Feature Requests and Wishlists
- Topic: SetClipboardText()
- Replies: 7
- Views: 3505
Re: SetClipboardText()
But, create app --> Android, not OK. SetClipboardText() doesn't work in android apk. I DEFINITELY did not forget about this. It was a genuinely hyper complex problem that took me 6 months of work to fix! ... Ok, it's a 3 lines piece of code I forgot to post... Ahem... Here it is, better late than n...
- Thu Feb 14, 2019 3:50 pm
- Forum: Tricks 'n' Tips
- Topic: JSTools
- Replies: 6
- Views: 4911
Re: JSTools
+ Added : support for SetClipboardText() for cordova applications; read the DeclareModule section to learn more.
- Mon Feb 04, 2019 1:55 am
- Forum: Javascript
- Topic: GetGadgetAttribute // Canvas // iframe
- Replies: 2
- Views: 3556
Re: GetGadgetAttribute // Canvas // iframe
I'm... not sure what you are trying to achieve. A canvas in SB is not a direct representation of an HTML5 canvas and SB's id are not elements. You can only use GetGadgetAttribute(id,#PB_Canvas_Image ) on a gadget created through the function CanvasGadget(id[...]). Now, from what I get of your specif...
- Sun Feb 03, 2019 4:49 am
- Forum: Feature Requests and Wishlists
- Topic: "Block" and "EndBlock" keywords to fold "blocks" of code
- Replies: 3
- Views: 2408
Re: "Block" and "EndBlock" keywords to fold "blocks" of code
Here I am, traveling through time to add this feature back in SB 1.00!
And if it's not enough, you can customize folding with keywords in Preferences > Folding
Code: Select all
;{ FOOOOOOLDING!
;}
- Mon Jan 21, 2019 9:05 am
- Forum: Coding Questions
- Topic: Google Maps SDK
- Replies: 1
- Views: 1354
Re: Google Maps SDK
There is a cordova plugin. I don't have an API key to test it though :/
- Sat Jan 19, 2019 12:26 am
- Forum: General Discussion
- Topic: SpiderBasic 2.21 is available !
- Replies: 20
- Views: 18171
Re: SpiderBasic 2.21 beta 2 is available
woohooh! (ノ◕ヮ◕)ノ*:・゚✧