SpiderBasic 1.00 is out !

Developed or developing a new product in PureBasic? Tell the world about it.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: SpiderBasic 1.00 alpha

Post by PB »

> replace 'dijit/ToolTip' with 'dijit/Tooltip'

THAT WAS IT! :D All working fine now.

> fixed for the next alpha

Thanks, Fred! ;)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
useful
Enthusiast
Enthusiast
Posts: 367
Joined: Fri Jul 19, 2013 7:36 am

Re: SpiderBasic 1.00 alpha 2

Post by useful »

Support node.js the plans include?
And how wonderful would if Fred & Ko To engage with a hosting provider node.js possible increase in the price of the license SpiderBasic.
Dawn will come inevitably.
User avatar
Comtois
Addict
Addict
Posts: 1429
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Re: SpiderBasic 1.00 alpha 2

Post by Comtois »

I probably forgot to change something, here is what it looks like on my site with the example GadgetOverview. But it is encouraging :)

http://comtois.developpez.com/tests/spi ... rview.html
Please correct my english
http://purebasic.developpez.com/
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: SpiderBasic 1.00 alpha 2

Post by Danilo »

Comtois wrote:I probably forgot to change something, here is what it looks like on my site with the example GadgetOverview. But it is encouraging :)

http://comtois.developpez.com/tests/spi ... rview.html
Safari 7.0.1 developer console error output:

Code: Select all

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (claro.css, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (windows-7.css, line 0)
[Error] TypeError: Attempted to assign to readonly property.
	put (put.js, line 64)
	spider_CheckBoxGadget (GadgetOverview.html, line 100)
	SpiderLaunch (GadgetOverview.html, line 270)
	(anonymous function) (GadgetOverview.html, line 358)
	_c9 (dojo.js, line 15)
	_36 (dojo.js, line 15)
	(anonymous function) (dojo.js, line 15)
	_37 (dojo.js, line 15)
	_7e (dojo.js, line 15)
	_f1 (dojo.js, line 15)
	_108 (dojo.js, line 15)
User avatar
Comtois
Addict
Addict
Posts: 1429
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Re: SpiderBasic 1.00 alpha 2

Post by Comtois »

That was it, i forgotten to change one line, work fine now :)

http://comtois.developpez.com/spiderbas ... rview.html

Thank you Danilo.
Please correct my english
http://purebasic.developpez.com/
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: SpiderBasic 1.00 alpha 2

Post by Danilo »

Comtois wrote:That was it, i forgotten to change one line, work fine now :)

http://comtois.developpez.com/spiderbas ... rview.html

Thank you Danilo.
No problem. ;)

Works fine now.
User avatar
Comtois
Addict
Addict
Posts: 1429
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Re: SpiderBasic 1.00 alpha 2

Post by Comtois »

Is CreateSprite() supposed to work ? I read nothing about this in limitations
Please correct my english
http://purebasic.developpez.com/
User avatar
electrochrisso
Addict
Addict
Posts: 980
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Re: SpiderBasic 1.00 alpha 2

Post by electrochrisso »

Comtois wrote:That was it, i forgotten to change one line, work fine now :)

http://comtois.developpez.com/spiderbas ... rview.html

Thank you Danilo.
Is it possible to have a scroll bars on the web page for smaller screen/browser sizes, perhaps use an iframe.
PureBasic! Purely one of the best 8)
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: SpiderBasic 1.00 alpha 2

Post by PB »

Just found my first cool use for SpiderBasic: serial code generation!

With my apps, users receive a serial code that unlocks all features.
Before, I'd have to take my laptop with me everywhere so I can make
a code on the run, for times when I get a sale when I'm not at home.

Now, thanks to SpiderBasic, I can just go to a password-protected
page on my website with any browser, and generate a code right
away! No need to take my code-making exe everywhere anymore.
This is seriously awesome and a massive time-saver for me.

THANK YOU SO MUCH, FRED! :D
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
karu
Enthusiast
Enthusiast
Posts: 255
Joined: Fri Jan 13, 2006 12:14 am

Re: SpiderBasic 1.00 alpha 2

Post by karu »

ok
Last edited by karu on Mon Feb 24, 2014 1:10 am, edited 1 time in total.
karu
Enthusiast
Enthusiast
Posts: 255
Joined: Fri Jan 13, 2006 12:14 am

Re: SpiderBasic 1.00 alpha 2

Post by karu »

ok
Last edited by karu on Mon Feb 24, 2014 1:10 am, edited 1 time in total.
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: SpiderBasic 1.00 alpha 3

Post by Fred »

Alpha 3 is available :)
Falko
Enthusiast
Enthusiast
Posts: 269
Joined: Sat Oct 04, 2003 12:57 pm
Location: Germany
Contact:

Re: SpiderBasic 1.00 alpha 3

Post by Falko »

SpiderBasic 1.00 alpha 2 (Windows) , i can see this on the download account :D
But it is alpha 3 :wink:

Thank you
www.falko-pure.de
Win8 Pro 64-Bit & Mediacenter, PB_5.1B7, GFA-WinDOS, Powerbasic9.05-Windows, NSBasic/CE, NSBasic/Desktop, NSBasic4APP, EmergenceBasic
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: SpiderBasic 1.00 alpha 3

Post by davido »

Thanks. :D
DE AA EB
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: SpiderBasic 1.00 alpha 3

Post by Danilo »

Thanks for Alpha 3! :D

Missing commands DesktopWidth() and DesktopHeight()

Code: Select all

;
; SpiderBasic example by Danilo
;
;   5. February 2014
;   SpiderBasic 1.00 Alpha 3
;
Procedure DesktopWidth()
    ;
    ; Returns the width of the browser area
    ;
    !var width;
    !require(["dojo/window"], function(win){
    !  width = win.getBox().w;
    !});
    !return width;
EndProcedure

Procedure DesktopHeight()
    ;
    ; Returns the height of the browser area
    ;
    !var height;
    !require(["dojo/window"], function(win){
    !  height = win.getBox().h;
    !});
    !return height;
EndProcedure

Procedure OnWindowSize()
    SetGadgetText(2,Str(WindowWidth(1)))
    SetGadgetText(4,Str(WindowHeight(1)))
EndProcedure

Procedure UpdateDesktopSize()
    SetGadgetText(6,Str(DesktopWidth()))
    SetGadgetText(8,Str(DesktopHeight()))
EndProcedure

If OpenWindow(1,0,0,200,200,"Desktop Info",#PB_Window_SystemMenu|#PB_Window_SizeGadget)
    TextGadget(1, 10,10,100,20,"Window Width:  ")
    TextGadget(2,120,10, 70,20,Str(WindowWidth(1)))
    TextGadget(3, 10,35,100,20,"Window Height: ")
    TextGadget(4,120,35, 70,20,Str(WindowHeight(1)))
    TextGadget(5, 10,60,100,20,"Desktop Width: ")
    TextGadget(6,120,60, 70,20,Str(DesktopWidth()))
    TextGadget(7, 10,85,100,20,"Desktop Height:")
    TextGadget(8,120,85, 70,20,Str(DesktopHeight()))
    
    ButtonGadget(9,10,110,180,20,"Update Desktop Size")
    
    BindGadgetEvent(9, @UpdateDesktopSize())
    
    BindEvent(#PB_Event_SizeWindow, @OnWindowSize(), 1)
        
EndIf
Feature Requests:

Would it be possible to add an event like #PB_Event_SizeDesktop?

Would be nice if this commands could also be available with screens/games.

:)
Post Reply