it would be nice if the javascript cursor types would be supported. Currently I use:
; set hand cursor
EnableJS
document.getElementsByTagName("canvas")[0].style.cursor = "pointer";
DisableJS
; set default cursor
EnableJS
document.getElementsByTagName("canvas")[0].style.cursor = "default ...
Search found 7 matches
- Tue Mar 15, 2016 2:31 pm
- Forum: Feature Requests and Wishlists
- Topic: change mousecursor
- Replies: 0
- Views: 2851
- Fri Mar 11, 2016 10:05 am
- Forum: General Discussion
- Topic: SpiderBasic 1.30 final is out !
- Replies: 19
- Views: 16437
- Mon Feb 22, 2016 11:58 am
- Forum: Feature Requests and Wishlists
- Topic: CreateSprite color parameter
- Replies: 0
- Views: 2848
CreateSprite color parameter
when you create a sprite it's dafault color is 000000FF (black with alpha not transparent) - it would be great if it had an optional RGBA color paramter.
- Tue Feb 16, 2016 3:36 pm
- Forum: Coding Questions
- Topic: local php scripts in windows
- Replies: 3
- Views: 3336
thanks
thanks for the reply,
I finaly got it to work - i installed wamp on the system and added the php path to the header of the php file:
#!C:\wamp64\bin\php\php5.6.16\php.exe
<?php
echo "Content-Type: text/html";
echo "\r\n";
echo "\r\n";
?>
maybe that information should be added somewhere :-)
I finaly got it to work - i installed wamp on the system and added the php path to the header of the php file:
#!C:\wamp64\bin\php\php5.6.16\php.exe
<?php
echo "Content-Type: text/html";
echo "\r\n";
echo "\r\n";
?>
maybe that information should be added somewhere :-)
- Tue Feb 16, 2016 1:15 pm
- Forum: Coding Questions
- Topic: local php scripts in windows
- Replies: 3
- Views: 3336
local php scripts in windows
when you have php files on your local disc under windows and try to load them with the HTTPRequest command you get a 500 (Internal Server Error) in the browser.
Shouldn't Spiderbasic tread local php file as flat text? Renaming the files to txt does not result in server errors.
Shouldn't Spiderbasic tread local php file as flat text? Renaming the files to txt does not result in server errors.
- Mon Feb 15, 2016 4:28 pm
- Forum: Feature Requests and Wishlists
- Topic: ExamineMouse()
- Replies: 1
- Views: 2736
ExamineMouse()
The behavior of ExamineMouse() is a little strange. From the first click on the mouse is captured and you get a warning in the browser. I guess even for the most games this is not what you want - you simply want to keep the systems mouse cursor.
It would be good if there would be a way to tell ...
It would be good if there would be a way to tell ...
- Fri Feb 12, 2016 2:11 pm
- Forum: Coding Questions
- Topic: how to use #PB_Event_LeftClick
- Replies: 2
- Views: 2970
how to use #PB_Event_LeftClick
I just don't get any events from this callback - here ist my code. Can anyone tell me what I have done wrong?:
Procedure hasClicked()
Debug "HAS clicked"
EndProcedure
; Main init function
Procedure init()
OpenWindow(0,0,0,1000,700,"wurst")
BindEvent(#PB_Event_LeftClick,@hasClicked(),0 ...
Procedure hasClicked()
Debug "HAS clicked"
EndProcedure
; Main init function
Procedure init()
OpenWindow(0,0,0,1000,700,"wurst")
BindEvent(#PB_Event_LeftClick,@hasClicked(),0 ...