Page 1 of 3

SpiderBasic 2.50 is out !

Posted: Tue Mar 28, 2023 2:16 pm
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

Re: SpiderBasic 2.50 beta 1 is ready !

Posted: Tue Mar 28, 2023 3:44 pm
by useful
Watch out! There is no question in the installer about the path to the installation site. The last installation is overwritten.

Re: SpiderBasic 2.50 beta 1 is ready !

Posted: Tue Mar 28, 2023 4:12 pm
by Fred
It does here, do anyone else experience this ?

Re: SpiderBasic 2.50 beta 1 is ready !

Posted: Tue Mar 28, 2023 4:24 pm
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.

Re: SpiderBasic 2.50 beta 1 is ready !

Posted: Tue Mar 28, 2023 5:14 pm
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?

Re: SpiderBasic 2.50 beta 1 is ready !

Posted: Tue Mar 28, 2023 7:44 pm
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.

Re: SpiderBasic 2.50 beta 1 is ready !

Posted: Wed Mar 29, 2023 7:44 am
by Joubarbe
Wow, sprite and screen shaders! Any plan of having this feature in PB as well? :)

Re: SpiderBasic 2.50 beta 1 is ready !

Posted: Wed Mar 29, 2023 8:02 am
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

Re: SpiderBasic 2.50 beta 1 is ready !

Posted: Wed Mar 29, 2023 8:45 am
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 ?

Re: SpiderBasic 2.50 beta 1 is ready !

Posted: Wed Mar 29, 2023 8:46 am
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