PureBasic 6.21 is out !
Re: PureBasic 6.21 beta 4 is out !
Thank you! The 2d text fixes sounds great, I'm going to test those.
Quick conclusion: I had to adjust some of my old programs font/sprite sizes with the new updates, but everything else seems to be fine in this regard.
I usually work with opened screens, so I always have to render fonts to sprites first. So far so good.
Quick conclusion: I had to adjust some of my old programs font/sprite sizes with the new updates, but everything else seems to be fine in this regard.
I usually work with opened screens, so I always have to render fonts to sprites first. So far so good.
Re: PureBasic 6.21 beta 4 is out !
Thanks!
My apps still working, but the WebViewGadget example code still crashes on Windows 11.
My apps still working, but the WebViewGadget example code still crashes on Windows 11.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: PureBasic 6.21 beta 4 is out !
Hello purebasic team,
When you want to test with PB 6.21 x64 beta 4, the file "TerrainHeight.pb", shydome and showgui doesn't work as expected.
Thank for PB !
When you want to test with PB 6.21 x64 beta 4, the file "TerrainHeight.pb", shydome and showgui doesn't work as expected.
Thank for PB !
+--=--=--=--=--=--=--=--=--=--+
french coder
french coder
Re: PureBasic 6.21 beta 4 is out !
Wow, you fixed bugs from 2011. How are they selected for fixing? Some Hunger Games thing?
Good morning, that's a nice tnetennba!
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Re: PureBasic 6.21 beta 1 is out !
kenmo wrote: Sat Mar 15, 2025 1:45 pm don't forget about the IDE, I've submitted a couple minor bugfixes on GitHub!


Re: PureBasic 6.21 beta 1 is out !
I've also added the new network TLS constants to the IDE autocomplete and fixed the docs, seems Fred doesn't check the PR's section too often, or just forgot this time around.
Re: PureBasic 6.21 beta 1 is out !
I often forget those, don't hesitate to ping me in PM ! I will also add an entry in the final release note.Quin wrote: Fri Apr 04, 2025 3:00 amI've also added the new network TLS constants to the IDE autocomplete and fixed the docs, seems Fred doesn't check the PR's section too often, or just forgot this time around.
Re: PureBasic 6.21 beta 4 is out !
Basically we never silently delete reported bugs (by respect for the time spent to do the report) so some old one can still be around if:jacdelad wrote: Thu Apr 03, 2025 10:10 pm Wow, you fixed bugs from 2011. How are they selected for fixing? Some Hunger Games thing?
- it's a niche bug (ie: having a small impact)
- it takes too much time to fix
- we don't know how to fix it
A few years ago, I decided as a personal challenge to get the reported bugs count below 100 for the compiler, all platforms included. It took time but I guess it should be the case once 6.21 final lands !
Re: PureBasic 6.21 beta 4 is out !
Beta 4 IDE loads super fast!
Did something change?

The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: PureBasic 6.21 beta 4 is out !
Hello, i got a lot of problems with version 6.2x when run 3D apps. Compiler say "The debugged executable quit unexpectedly".
Windows 11x64 I7 and NVIDIA, with PB6.1 and lower work.
Over all when use openWindowedScreen(#PB_any....
With this simple code give me an error:
Windows 11x64 I7 and NVIDIA, with PB6.1 and lower work.
Over all when use openWindowedScreen(#PB_any....
With this simple code give me an error:
Code: Select all
Global camara, RenderTime
Global.b sal
;{ 3D
Procedure iniDX(title.s="")
Protected w,h
InitEngine3D()
InitSprite()
InitKeyboard()
InitMouse()
OpenWindow(0,0,0,1280,720,title,#PB_Window_ScreenCentered|#PB_Window_BorderLess|#PB_Window_Maximize)
w= WindowWidth(0):h=WindowHeight(0)
AntialiasingMode(#PB_AntialiasingMode_None)
OpenWindowedScreen(WindowID(0), 0, 0, w,h, 0,0,0,#PB_Screen_NoSynchronization)
WorldShadows(#PB_Shadow_Modulative, -1, RGB(s,s,s), 2048)
EndProcedure
Procedure suelo(size=30)
Protected suelo_tx3D, suelo_mesh, suelo_mate
suelo_tx3D= CreateTexture(#PB_Any,256,256)
StartDrawing(TextureOutput(suelo_tx3D))
Box(0,0,OutputWidth(),OutputHeight(),$0)
Box(2,2,OutputWidth()-4,OutputHeight()-4,$ffffff)
StopDrawing()
suelo_mesh= CreatePlane(#PB_Any,size,size,1,1,1,1)
suelo_mate= CreateMaterial(#PB_Any,TextureID(suelo_tx3D))
ScaleMaterial(suelo_mate,1/size,1/size)
ScrollMaterial(suelo_mate,0.5,0.5,#PB_Material_Fixed)
suelo= CreateEntity(#PB_Any, MeshID(suelo_mesh), MaterialID(suelo_mate))
EndProcedure
Procedure creaTextura(size=256)
Protected i= CreateTexture(#PB_Any,size,size)
StartDrawing(TextureOutput(i))
Box(0,0,OutputWidth(),OutputHeight(),$0000ff)
Box(20,20,OutputWidth()-40,OutputHeight()-40,$ffffff)
StopDrawing()
ProcedureReturn i
EndProcedure
Procedure eventos3D()
Protected.f MouseX,MouseY, mouseW, KeyX,KeyY, movSpd=0.005,rotSpd=0.005
movSpd * RenderTime
rotSpd * RenderTime
If KeyboardPushed(#PB_Key_Escape)
sal=1
EndIf
If KeyboardPushed(#PB_Key_A)
KeyX = -movSpd
ElseIf KeyboardPushed(#PB_Key_D)
KeyX = movSpd
Else
KeyX = 0
EndIf
If KeyboardPushed(#PB_Key_W)
KeyY = -movSpd
ElseIf KeyboardPushed(#PB_Key_S)
KeyY = movSpd
Else
KeyY = 0
EndIf
MouseX = -MouseDeltaX() * rotSpd
MouseY = -MouseDeltaY() * rotSpd
RotateCamera(camara, MouseY, MouseX, 0, #PB_Relative)
MoveCamera (camara, KeyX, 0, KeyY)
EndProcedure
;}
iniDX("Base 3D")
suelo()
cubo_tx3d= creaTextura()
cubo_mate= CreateMaterial(#PB_Any, TextureID(cubo_tx3d))
MaterialCullingMode(cubo_mate,#PB_Material_NoCulling)
luz= CreateLight(#PB_Any,$ffffff,0,50,0,#PB_Light_Directional)
LightDirection(luz,0.2,-0.4,-0.3)
camara= CreateCamera(#PB_Any,0,0,100,100)
MoveCamera(camara,10,16,20)
CameraLookAt(camara,0,0,0)
Repeat
Repeat: event= WindowEvent():Until event= 0
ExamineKeyboard()
ExamineMouse()
eventos3D()
RenderTime = RenderWorld()
FlipBuffers()
Delay(1)
Until sal=1
If translation=Error: reply="Sorry, Im Spanish": Endif
Re: PureBasic 6.21 beta 4 is out !
@minimy
It's the shadows. Remove it. Some of them requires shaders. (You can add them from their pb directory + parse3dscripts)
PS: cool features had been added, but not documented yet. Like texture shadows.
It's the shadows. Remove it. Some of them requires shaders. (You can add them from their pb directory + parse3dscripts)
PS: cool features had been added, but not documented yet. Like texture shadows.
Re: PureBasic 6.21 beta 4 is out !
Yees! Thank you very much! you save me!! 

If translation=Error: reply="Sorry, Im Spanish": Endif
Re: PureBasic 6.21 beta 5 is out !
A new beta version is available with a bunch of new bug fixes, feel free to test it to ensure all is still working as expected !
Bugfixes for this version:
Code: Select all
- Removed: #PB_Menu_ModernLook and #PB_Menu_SysTrayLook support on Windows.
- Windows: [Done] Gadget background color difference
- Windows: [Done] CreatePopupImageMenu under Windows 11 style mismatch
- Windows: [Done] PopupImageMenu accessibility concerns
- Windows: [Done] PopupImageMenu inaccessible on Windows
- Windows: [Done] Labels and two modules
- Windows: [Done] PeekS is limited to 1GB (UTF8) / 2GB (ASCII)
- Windows: [Done] PB 6.20, 6.21 beta 4 Wrong error message
- Windows: [Done] update 24H2 still not opening a openscreen
- Windows: [Done] PB6.20 x64 Windows - Crash if second WebGadget is used with JavaScript
- Windows: [Done] BUG-v621b2 WebViewGadget example code crashes on Windows 11
- Windows: [Done] BindWebviewCallback not working with some chars
- Windows: [Done] 5.31 DateGadget with set range wants to jump to present day
- Windows: [Done] PB 6.21 beta 4: up/down arrowing to select items in OptionGadget laggy.
- Windows: [Done] PB 6.21 beta 4 : DrawText not showing all characters
- Linux: [Done] PB 6.21 Beta 4 - Network server is crashing
- Linux: [Done] 6.20 String comparison differs between string and Chr()
- Linux: [Done] PB 6.20 Strange shell pipe behaviour with compiled programs
- Linux: [Done] PB 6.20 ReadString() crash/segfault reading random data
- Linux: [Done] PBv6.20b4 - Panel index is incorrect with BindGadgetEvent()
- Linux: [Done] PB v6.xx: DoubleClick on ExplorerListGadget
- Linux: [Done] #PB_Frame_Container
- Engine3D: [Done] Please, show us how to really close the screen after OpenScreen()
- IDE: [Done] PB6.11 LTS : IDE's "Remove Comments" acts funny...
- IDE: [Done] Damaged IDE dialog
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Re: PureBasic 6.21 beta 5 is out !
1ST one to say THANKS 

Re: PureBasic 6.21 beta 5 is out !
Woohoo! thanks Fred!