SpiderBasic 2.50 is out !

Everything else that doesn't fall into one of the other categories.
Fred
Site Admin
Posts: 1506
Joined: Mon Feb 24, 2014 10:51 am

SpiderBasic 2.50 is out !

Post by Fred »

Hello everyone,

2023-06-09: final version is out !

2023-05-23: beta 2 is available with some fixes.

The new 2.50 version of SpiderBasic is ready to test and brings some cool new features:

Code: Select all

- Added: Realtime sprite and screen shaders with AddSpriteShader(), SpriteShaderAttribute(), RemoveSpriteShader()
- Added: AddScreenShader(), ScreenShaderAttribute(), RemoveScreenShader()
- Added: FullScreen() to switch between fullscreen mode and non fullscreen (web app only)
- Added: #PB_Shader_Blur, #PB_Shader_Noise, #PB_Shader_Pixelate, #PB_Shader_Bevel, #PB_Shader_BulgePinch
- Added: #PB_Shader_Reflection, #PB_Shader_Adjustment
- Added: WindowOpacity()
- Added: #PB_Window_NoMove flag for OpenWindow() to disable user window moving (with mouse or touch)
- Added: #PB_Compiler_App to detect the created app type: #PB_App_Android, #PB_App_IOS or #PB_App_Web
- Added: --keepappdir on commandline and to 'Create App' window to keep the cordova app directory

- Updated: Cordova to lastest 10 version
- Updated: Android API to 33 (minimum supported Android version is now 5.1)
- Updated: PixiJS to 5.3.12
- Updated: InnoSetup on Windows to be able to install SpiderBasic without admin rights.

- Fixed: Some compiler and librarie bugs
You can check in the example folder the file 'Shaders.sb' to have a quick look how to use them !

The available shaders:

Code: Select all

#PB_Shader_Blur     = 0
#PB_Shader_Noise    = 1
#PB_Shader_Pixelate = 2
#PB_Shader_Bevel    = 4
#PB_Shader_BulgePinch = 5
#PB_Shader_Reflection = 7
#PB_Shader_Adjustment = 8
And their attributes

Code: Select all

#PB_PixelateShader_SizeX
#PB_PixelateShader_SizeY

#PB_NoiseShader_Seed
#PB_NoiseShader_Intensity

#PB_BlurShader_Intensity
#PB_BlurShader_Quality

#PB_BulgePinchShader_Strength
#PB_BulgePinchShader_CenterX
#PB_BulgePinchShader_CenterY
#PB_BulgePinchShader_Radius

#PB_BevelShader_Thickness
#PB_BevelShader_Rotation
#PB_BevelShader_LightColor
#PB_BevelShader_ShadowColor

#PB_ReflectionShader_AlphaStart
#PB_ReflectionShader_AlphaEnd
#PB_ReflectionShader_Boundary
#PB_ReflectionShader_AmplitudeStart
#PB_ReflectionShader_AmplitudeEnd
#PB_ReflectionShader_WaveLengthStart
#PB_ReflectionShader_WaveLengthEnd
#PB_ReflectionShader_Mirror
#PB_ReflectionShader_Time

#PB_AdjustmentShader_Alpha
#PB_AdjustmentShader_Gamma
#PB_AdjustmentShader_Saturation
#PB_AdjustmentShader_Contrast
#PB_AdjustmentShader_Brightness
#PB_AdjustmentShader_Red
#PB_AdjustmentShader_Green
#PB_AdjustmentShader_Blue
All is done in realtime (WebGL shaders) thanks to PixiJS !

Have fun,

The Fantaisie Software Team
User avatar
useful
Posts: 116
Joined: Tue Feb 25, 2014 1:15 pm

Re: SpiderBasic 2.50 beta 1 is ready !

Post by useful »

Watch out! There is no question in the installer about the path to the installation site. The last installation is overwritten.
2B or not 2B = FF
Fred
Site Admin
Posts: 1506
Joined: Mon Feb 24, 2014 10:51 am

Re: SpiderBasic 2.50 beta 1 is ready !

Post by Fred »

It does here, do anyone else experience this ?
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: SpiderBasic 2.50 beta 1 is ready !

Post by Peter »

Fred wrote: Tue Mar 28, 2023 4:12 pmIt does here
same here.

// Edit: When I start the installation a second time, the path is no longer requested.
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: SpiderBasic 2.50 beta 1 is ready !

Post by Peter »

Fred wrote: Tue Mar 28, 2023 2:16 pmYou can check in the example folder the file 'Shaders.sb' to have a quick look how to use them
I loaded the Shaders.sb, started it and played a bit with the settings. However, I have to admit that I can't see any changes to the graphics -- no matter what setting I change. Is that because I'm an old fart and my eyes aren't that good anymore?
User avatar
Paul
Posts: 195
Joined: Wed Feb 26, 2014 6:46 pm
Location: Canada
Contact:

Re: SpiderBasic 2.50 beta 1 is ready !

Post by Paul »

useful wrote: Tue Mar 28, 2023 3:44 pm Watch out! There is no question in the installer about the path to the installation site. The last installation is overwritten.
Thanks for the heads up!
Last installation was overwritten without asking for new path or to confirm.
Joubarbe
Posts: 12
Joined: Fri Sep 25, 2020 1:35 pm

Re: SpiderBasic 2.50 beta 1 is ready !

Post by Joubarbe »

Wow, sprite and screen shaders! Any plan of having this feature in PB as well? :)
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: SpiderBasic 2.50 beta 1 is ready !

Post by Peter »

Peter wrote: Tue Mar 28, 2023 5:14 pmI loaded the Shaders.sb, started it and played a bit with the settings. However, I have to admit that I can't see any changes to the graphics -- no matter what setting I change. Is that because I'm an old fart and my eyes aren't that good anymore?
I have checked this again.

With Chrome and Firefox I see the changes

With Microsoft Edge Chromium, however, it doesn't seem to work.

So my eyes are OK. :P
Fred
Site Admin
Posts: 1506
Joined: Mon Feb 24, 2014 10:51 am

Re: SpiderBasic 2.50 beta 1 is ready !

Post by Fred »

Wait PixiJS doesn't work OK on edge ?

edit: I just tried on Edge on Windows 10 and it does work as expected. Do you have any log or something ?
Fred
Site Admin
Posts: 1506
Joined: Mon Feb 24, 2014 10:51 am

Re: SpiderBasic 2.50 beta 1 is ready !

Post by Fred »

Paul wrote: Tue Mar 28, 2023 7:44 pm
useful wrote: Tue Mar 28, 2023 3:44 pm Watch out! There is no question in the installer about the path to the installation site. The last installation is overwritten.
Thanks for the heads up!
Last installation was overwritten without asking for new path or to confirm.
I will take a closer look to new InnoSetup
Post Reply