PureBasic 6.21 is out !

Developed or developing a new product in PureBasic? Tell the world about it.
miso
Enthusiast
Enthusiast
Posts: 407
Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary

Re: PureBasic 6.21 beta 4 is out !

Post by miso »

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.
User avatar
skywalk
Addict
Addict
Posts: 4210
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 6.21 beta 4 is out !

Post by skywalk »

Thanks!
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
User avatar
tola
User
User
Posts: 13
Joined: Tue May 03, 2011 10:13 am
Location: France - Loire 42

Re: PureBasic 6.21 beta 4 is out !

Post by tola »

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 !
+--=--=--=--=--=--=--=--=--=--+
french coder
User avatar
jacdelad
Addict
Addict
Posts: 1991
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: PureBasic 6.21 beta 4 is out !

Post by jacdelad »

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
User avatar
kenmo
Addict
Addict
Posts: 2032
Joined: Tue Dec 23, 2003 3:54 am

Re: PureBasic 6.21 beta 1 is out !

Post by kenmo »

kenmo wrote: Sat Mar 15, 2025 1:45 pm don't forget about the IDE, I've submitted a couple minor bugfixes on GitHub!
:!: :)
Quin
Addict
Addict
Posts: 1122
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: PureBasic 6.21 beta 1 is out !

Post by Quin »

kenmo wrote: Fri Apr 04, 2025 1:45 am
kenmo wrote: Sat Mar 15, 2025 1:45 pm don't forget about the IDE, I've submitted a couple minor bugfixes on GitHub!
:!: :)
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.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.21 beta 1 is out !

Post by Fred »

Quin wrote: Fri Apr 04, 2025 3:00 am
kenmo wrote: Fri Apr 04, 2025 1:45 am
kenmo wrote: Sat Mar 15, 2025 1:45 pm don't forget about the IDE, I've submitted a couple minor bugfixes on GitHub!
:!: :)
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.
I often forget those, don't hesitate to ping me in PM ! I will also add an entry in the final release note.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.21 beta 4 is out !

Post by Fred »

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?
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:
- 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 !
User avatar
skywalk
Addict
Addict
Posts: 4210
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 6.21 beta 4 is out !

Post by skywalk »

Beta 4 IDE loads super fast! :shock: Did something change?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
minimy
Enthusiast
Enthusiast
Posts: 551
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: PureBasic 6.21 beta 4 is out !

Post by minimy »

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:

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
miso
Enthusiast
Enthusiast
Posts: 407
Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary

Re: PureBasic 6.21 beta 4 is out !

Post by miso »

@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.
User avatar
minimy
Enthusiast
Enthusiast
Posts: 551
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: PureBasic 6.21 beta 4 is out !

Post by minimy »

Yees! Thank you very much! you save me!! :D
If translation=Error: reply="Sorry, Im Spanish": Endif
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.21 beta 5 is out !

Post by Fred »

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 !

Code: Select all

- Removed: #PB_Menu_ModernLook and #PB_Menu_SysTrayLook support on Windows.
Bugfixes for this version:This list was created automatically. All updated bug threads from the date of the last final version have been determined.
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: PureBasic 6.21 beta 5 is out !

Post by Psychophanta »

1ST one to say THANKS :!:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Quin
Addict
Addict
Posts: 1122
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: PureBasic 6.21 beta 5 is out !

Post by Quin »

Woohoo! thanks Fred!
Post Reply