@rmk-soft
no, i use only MouseX/Y()
Search found 402 matches
- Fri Dec 12, 2025 4:22 pm
- Forum: Bugs - Windows
- Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
- Replies: 35
- Views: 3916
- Fri Dec 12, 2025 10:24 am
- Forum: Bugs - Windows
- Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
- Replies: 35
- Views: 3916
Re: PB 6.30 Beta 4 - ScreenGadget library - bug report
That makes sense.
Submit a bug report.
(Fred already told me about a problem with the mouse library on Linux.)
As for the compilation issues, I'll talk to him about it.
Submit a bug report.
(Fred already told me about a problem with the mouse library on Linux.)
As for the compilation issues, I'll talk to him about it.
- Thu Dec 11, 2025 7:49 pm
- Forum: Bugs - Windows
- Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
- Replies: 35
- Views: 3916
Re: PB 6.30 Beta 4 - ScreenGadget library - bug report
@PeDe
may be, flipbuffer don't work correctly
please run this code and give me the debug
InitSprite():InitMouse():InitKeyboard()
OpenWindow(0,0,0,800,600,"",#PB_Window_ScreenCentered)
OpenWindowedScreen(WindowID(0),0,0,800,600)
CreateSprite(0,128,128)
StartDrawing(SpriteOutput(0))
Circle(64,64,64 ...
may be, flipbuffer don't work correctly
please run this code and give me the debug
InitSprite():InitMouse():InitKeyboard()
OpenWindow(0,0,0,800,600,"",#PB_Window_ScreenCentered)
OpenWindowedScreen(WindowID(0),0,0,800,600)
CreateSprite(0,128,128)
StartDrawing(SpriteOutput(0))
Circle(64,64,64 ...
- Thu Dec 11, 2025 6:14 pm
- Forum: Bugs - Windows
- Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
- Replies: 35
- Views: 3916
Re: PB 6.30 Beta 4 - ScreenGadget library - bug report
@PeDe
- Regarding the mouse, I have the impression that FlipBuffers() does not wait for screen synchronization.
Can you measure the frame rate?
- Regarding compilation issues, I don't see any. The only “Linux” specificity concerns font size.
It may be a problem with lib creation.
- Regarding the mouse, I have the impression that FlipBuffers() does not wait for screen synchronization.
Can you measure the frame rate?
- Regarding compilation issues, I don't see any. The only “Linux” specificity concerns font size.
It may be a problem with lib creation.
- Thu Dec 11, 2025 10:42 am
- Forum: 3D Programming
- Topic: Question about tangents and bump
- Replies: 6
- Views: 505
Re: Question about tangents and bump
to show normal:
Procedure debugnormal(mesh,color1.l,color2.l,lenth.f=1)
Protected i,j,ns,nv,mi,nmesh,nmat
nmesh=CreateMesh(-1,#PB_Mesh_LineList)
For j=0 To SubMeshCount(mesh)-1
nv=MeshVertexCount(mesh,j)-1
Dim v.MeshVertex(nv)
GetMeshData(mesh,j,v(),#PB_Mesh_Vertex|#PB_Mesh_Normal,0,nv ...
Procedure debugnormal(mesh,color1.l,color2.l,lenth.f=1)
Protected i,j,ns,nv,mi,nmesh,nmat
nmesh=CreateMesh(-1,#PB_Mesh_LineList)
For j=0 To SubMeshCount(mesh)-1
nv=MeshVertexCount(mesh,j)-1
Dim v.MeshVertex(nv)
GetMeshData(mesh,j,v(),#PB_Mesh_Vertex|#PB_Mesh_Normal,0,nv ...
- Wed Dec 10, 2025 3:34 pm
- Forum: Bugs - Windows
- Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
- Replies: 35
- Views: 3916
Re: PB 6.30 Beta 4 - ScreenGadget library - bug report
Even if the program is multithreaded, screengadget is not, and will always run on the main thread.
- Wed Dec 10, 2025 10:56 am
- Forum: Bugs - Windows
- Topic: 6.30 Beta 5 - ScreenEventType() undefined value
- Replies: 2
- Views: 404
Re: 6.30 Beta 5 - ScreenEventType() undefined value
Event management is very basic at the moment.
This will be added in version 6.31.
This will be added in version 6.31.
- Wed Dec 10, 2025 10:55 am
- Forum: Feature Requests and Wishlists
- Topic: PB 6.30 - SetScreenActiveGadget(#Gadget)
- Replies: 2
- Views: 403
Re: PB 6.30 - SetScreenActiveGadget(#Gadget)
it will be add for pb6.31
- Wed Dec 10, 2025 10:41 am
- Forum: Bugs - Windows
- Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
- Replies: 35
- Views: 3916
Re: PB 6.30 Beta 4 - ScreenGadget library - bug report
FYI
ScreenGadget uses basic PB functions:
- Vectordrawing only at initialization, to draw the interface
- 2DDrawing for updating gadgets' graphics
- Sprite, mouse, and keyboard on every frame
@PeDe
I think it's a Linux-specific bug.
Try this example:
InitSprite():InitMouse():InitKeyboard ...
ScreenGadget uses basic PB functions:
- Vectordrawing only at initialization, to draw the interface
- 2DDrawing for updating gadgets' graphics
- Sprite, mouse, and keyboard on every frame
@PeDe
I think it's a Linux-specific bug.
Try this example:
InitSprite():InitMouse():InitKeyboard ...
- Sat Nov 22, 2025 10:09 am
- Forum: Bugs - Windows
- Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
- Replies: 35
- Views: 3916
Re: PB 6.30 Beta 4 - ScreenGadget library - bug report
@minimy
nothing !
@miso
no, but i implemented "ScreenMouseVisible" to show or hide mouse pointer
nothing !
@miso
no, but i implemented "ScreenMouseVisible" to show or hide mouse pointer
- Mon Nov 10, 2025 9:13 pm
- Forum: Coding Questions
- Topic: TransparentSprite with color : 0
- Replies: 6
- Views: 624
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: 5818
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: 760
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: 30292
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: 10489
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...