@minimy
nothing !
@miso
no, but i implemented "ScreenMouseVisible" to show or hide mouse pointer
Search found 393 matches
- Sat Nov 22, 2025 10:09 am
- Forum: Bugs - Windows
- Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
- Replies: 13
- Views: 1214
- Mon Nov 10, 2025 9:13 pm
- Forum: Coding Questions
- Topic: TransparentSprite with color : 0
- Replies: 6
- Views: 274
Re: TransparentSprite with color : 0
Yeah, that's new.
Now you have to specify “#PB_Sprite_Transparent”
and the default drawing mode set the alpha to 0.
I don't know why Fred did that.
:shock:
I think you can file a bug report.
That will at least clarify the issue.
InitSprite()
Debug OpenScreen(1600,900,32,"Sprite")
;Création ...
Now you have to specify “#PB_Sprite_Transparent”
and the default drawing mode set the alpha to 0.
I don't know why Fred did that.
:shock:
I think you can file a bug report.
That will at least clarify the issue.
InitSprite()
Debug OpenScreen(1600,900,32,"Sprite")
;Création ...
- Wed Nov 05, 2025 1:27 am
- Forum: Tricks 'n' Tips
- Topic: LIB-PB v6.20+: IDE-Tool Build Library for all OS
- Replies: 16
- Views: 4370
Re: LIB-PB v6.20+: IDE-Tool Build Library for all OS
I read part of the thread.
My little tool:
https://www.purebasic.fr/english/viewtopic.php?p=631988#p631988
was initially created specifically for managing optional parameters.
With the optimization of the C code, I think my management of optional parameters remains optimal.
(if anyone wants to do ...
My little tool:
https://www.purebasic.fr/english/viewtopic.php?p=631988#p631988
was initially created specifically for managing optional parameters.
With the optimization of the C code, I think my management of optional parameters remains optimal.
(if anyone wants to do ...
- Wed Nov 05, 2025 1:02 am
- Forum: Coding Questions
- Topic: Does --PureLibrary and #PB_Compiler_IsMainFile make sense?
- Replies: 3
- Views: 460
Re: Does --PureLibrary and #PB_Compiler_IsMainFile make sense?
To test :
Code: Select all
CompilerIf #PB_Compiler_Debugger
...
CompilerEndIf- Wed Nov 05, 2025 12:53 am
- Forum: Tricks 'n' Tips
- Topic: PureLibrary Creator - PB 6.20
- Replies: 50
- Views: 25881
Re: PureLibrary Creator - PB 6.20
[EDITED 11/04/2025]
- Resident management (thanks to ChrisR)
- “IncludeFile” management (which may contain “ProcedureDLL”)
- Modification by Fred for multi-platform (among other things)
- bug fix for the procedureDLL in comment
- Resident management (thanks to ChrisR)
- “IncludeFile” management (which may contain “ProcedureDLL”)
- Modification by Fred for multi-platform (among other things)
- bug fix for the procedureDLL in comment
- Thu Oct 30, 2025 11:20 am
- Forum: Tricks 'n' Tips
- Topic: Animated Vector Graphics Scene Graph
- Replies: 73
- Views: 6017
Re: Animated Vector Graphics Scene Graph
See, it pays to yell!idle wrote: Thu Oct 30, 2025 3:14 am I will look into building nanovg next week so we can experiment with that as a backend, might calm pf shadoko down![]()
As for image caching, it seems complicated to me, since animations can be interspersed between fixed layers.
But hey, you know your stuff...
- Wed Oct 29, 2025 10:43 pm
- Forum: Tricks 'n' Tips
- Topic: AddPathSpline
- Replies: 15
- Views: 1121
Re: AddPathSpline
@Booger
Splines are used to create smooth curves using control points.
I think these optimizations are completely negligible compared to the graphics functions.
@Justin
Indeed.
I modified the code in my first post.
Splines are used to create smooth curves using control points.
I think these optimizations are completely negligible compared to the graphics functions.
@Justin
Indeed.
I modified the code in my first post.
- Wed Oct 29, 2025 4:53 pm
- Forum: Tricks 'n' Tips
- Topic: Animated Vector Graphics Scene Graph
- Replies: 73
- Views: 6017
Re: Animated Vector Graphics Scene Graph
Very impressive!
But it would require hardware acceleration.
I looked into it, and NanoVG (not to be confused with nanoSVG) implements the JavaScript canvas function set (including fonts).
https://www.youtube.com/watch?v=c8IsoDQ7ea8
If someone with the necessary knowledge could take on this ...
But it would require hardware acceleration.
I looked into it, and NanoVG (not to be confused with nanoSVG) implements the JavaScript canvas function set (including fonts).
https://www.youtube.com/watch?v=c8IsoDQ7ea8
If someone with the necessary knowledge could take on this ...
- Wed Oct 29, 2025 4:28 pm
- Forum: Tricks 'n' Tips
- Topic: AddPathSpline
- Replies: 15
- Views: 1121
AddPathSpline
A function for drawing spline curves (closed or open)
This function is not included in the SVG standard, yet it is very simple to implement.
Structure Vector2:x.f:y.f:EndStructure
Procedure AddPathSpline(Array po.Vector2(1),Flags=0,roundness.f=0.5)
Protected n,i,close,coef.f=roundness/3 ...
This function is not included in the SVG standard, yet it is very simple to implement.
Structure Vector2:x.f:y.f:EndStructure
Procedure AddPathSpline(Array po.Vector2(1),Flags=0,roundness.f=0.5)
Protected n,i,close,coef.f=roundness/3 ...
- Mon Oct 27, 2025 11:38 pm
- Forum: Tricks 'n' Tips
- Topic: Animated Vector Graphics Scene Graph
- Replies: 73
- Views: 6017
Re: Animated Vector Graphics Scene Graph
svg (canvas) creates circles from Bézier curves
I'll try to make the splines for you tomorrow (it's late here in France)
I'll try to make the splines for you tomorrow (it's late here in France)
Code: Select all
CreateImage(0,400,400,32,0)
StartVectorDrawing(ImageVectorOutput(0))
AddPathCircle(200,200,100)
Debug PathSegments()
StopVectorDrawing()
- Mon Oct 27, 2025 10:22 pm
- Forum: Tricks 'n' Tips
- Topic: Animated Vector Graphics Scene Graph
- Replies: 73
- Views: 6017
Re: Animated Vector Graphics Scene Graph
Check out the AddPathCurve documentation.
Bezier curves are defined by four points.
The first point is the cursor position.
The other three are defined in AddPathCurve.
If you want the curves to be connected, just chain the AddPathCurve calls together
and end with the first point (or with closepath ...
Bezier curves are defined by four points.
The first point is the cursor position.
The other three are defined in AddPathCurve.
If you want the curves to be connected, just chain the AddPathCurve calls together
and end with the first point (or with closepath ...
- Mon Oct 27, 2025 9:30 pm
- Forum: Tricks 'n' Tips
- Topic: Animated Vector Graphics Scene Graph
- Replies: 73
- Views: 6017
Re: Animated Vector Graphics Scene Graph
wait a moment, I code you a sample
- Mon Oct 27, 2025 10:25 am
- Forum: Tricks 'n' Tips
- Topic: Animated Vector Graphics Scene Graph
- Replies: 73
- Views: 6017
Re: Animated Vector Graphics Scene Graph
We will now need to adapt NanoSVG to PB to get the most out of SVG animations.
Any candidates?
Any candidates?
- Mon Oct 27, 2025 10:02 am
- Forum: Bugs - Windows
- Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
- Replies: 13
- Views: 1214
Re: PB 6.30 Beta 4 - ScreenGadget library - bug report
Gold medal to drgolf, the first to find the context of the bug (I couldn't reproduce it)
Silver medal to PeDe
Nothing for Minimy, who didn't find the context
Corrected
Silver medal to PeDe
Nothing for Minimy, who didn't find the context
Corrected
- Sat Oct 25, 2025 9:34 am
- Forum: Bugs - Windows
- Topic: PB 6.30 Beta 3 - ScreenGadget library - bug report
- Replies: 7
- Views: 2408