PureBasic 5.20 LTS is out (Rockstar release)

Developed or developing a new product in PureBasic? Tell the world about it.
uwekel
Enthusiast
Enthusiast
Posts: 740
Joined: Sat Dec 03, 2011 5:54 pm
Location: Oldenburg (Germany)

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by uwekel »

Thx a lot for this release! I really appreciated the long beta phase with lots of version to test :-) Now it's time for a new blog to show what comes next!
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
User_Russian
Addict
Addict
Posts: 1516
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by User_Russian »

uwekel wrote:Now it's time for a new blog to show what comes next!
Agree.
It would be great if you would would tell us about plans for next versions. :) :idea:
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by rsts »

After all this, they're entitled to a little rest :D
User avatar
oryaaaaa
Addict
Addict
Posts: 825
Joined: Mon Jan 12, 2004 11:40 pm
Location: Okazaki, JAPAN

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by oryaaaaa »

Arigato-gozai-masu. Thanks.

* i am re-building Japanese Purebasic fansite.
Joris
Addict
Addict
Posts: 890
Joined: Fri Oct 16, 2009 10:12 am
Location: BE

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by Joris »

Thanks PB team.
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
User avatar
DK_PETER
Addict
Addict
Posts: 904
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by DK_PETER »

Code: Select all

InitEngine3D()
InitSprite()
InitKeyboard()

DeclareModule _PBTeam
	
	Structure _MyData
		bg.i
		fnt.i
		sw.i
		sh.i
		win.i
		tex.i
		cam.i
		light.i
		node.i
	EndStructure
	
	Structure _MyPar
		id.i
		x.i
		y.i
		z.i
		mat.i
	EndStructure
	
	Global md._MyData
	Global Dim par._MyPar(1)
	Global beam.i
	
	Declare MakeMyScreen()
	Declare MakeMyTex()
	Declare MakeMyPar()
	Declare MakeMyFnt()
	
EndDeclareModule

Module _PBTeam
	
	Procedure MakeMyScreen()
		ExamineDesktops()
		md\sw = DesktopWidth(0)
		md\sh = DesktopHeight(0)
		md\win = OpenWindow(#PB_Any, 0, 0, md\sw, md\sh,"Thank you", #PB_Window_SystemMenu|#PB_Window_ScreenCentered)
		OpenWindowedScreen(WindowID(md\win), 0, 0, md\sw, md\sh, 0, 0, 0, #PB_Screen_SmartSynchronization)
		md\cam = CreateCamera(#PB_Any, 0, 0, 100, 100)
		MoveCamera(md\cam, 0, 0, 100, #PB_Absolute)
		md\light = CreateLight(#PB_Any, $FFCCCC, 0, 10, 0)
	EndProcedure
	
	Procedure MakeMyTex()
		md\tex = CreateTexture(#PB_Any, 9, 9) 
		StartDrawing(TextureOutput(md\tex))
		DrawingMode(#PB_2DDrawing_Gradient) 
		FrontColor($1415F2)
    BackColor($14E8E9)
    CircularGradient(3, 3, 3) 
    Circle(4, 4, 4)
		StopDrawing()
	EndProcedure
	
	Procedure MakeMyFnt()
		Protected fnt.i
		md\fnt = CreateSprite(#PB_Any, 600,60,#PB_Sprite_AlphaBlending)
		fnt = LoadFont(#PB_Any, "Arial", 48)
		StartDrawing(SpriteOutput(md\fnt))
		DrawingFont(FontID(fnt))
		DrawText(0, 0, "THANK YOU TEAM!", $D18D64)
		StopDrawing()
		TransparentSpriteColor(md\fnt, 0)
		FreeFont(fnt)
	EndProcedure
	
	Procedure MakeMyPar()
		With par(0)
			\id = CreateParticleEmitter(#PB_Any, 100, 100, 300, #PB_Particle_Point)
			\mat = CreateMaterial(#PB_Any, TextureID(md\tex))
			DisableMaterialLighting(\mat, 1)
			MaterialBlendingMode(\mat, #PB_Material_Add)
			SetMaterialColor(\mat, #PB_Material_SelfIlluminationColor, $FF88EE)
	    MoveParticleEmitter(\id, -20, 0, 100, #PB_Absolute)
	    ParticleMaterial(\id, MaterialID(\mat))
	    ParticleEmissionRate(\id,300)
	    ParticleTimeToLive(\id, 2.2, 3.8)
	    ParticleSize(\id, 0.5, 0.5)
	    ParticleVelocity(\id, 0.2, 0.8)
	    ParticleEmitterDirection(\id, 0 , 0 , 1)
	  EndWith
	EndProcedure
EndModule


_PBTeam::MakeMyScreen()
_PBTeam::MakeMyTex()
_PBTeam::MakeMyPar()
_PBTeam::MakeMyFnt()

Repeat
	
	event = WindowEvent()
	
	RenderWorld()
	
	DisplayTransparentSprite(_PBTeam::md\fnt, (_PBTeam::md\sw / 2) - 300, _PBTeam::md\sh / 2)
	
	FlipBuffers()
	
	ExamineKeyboard()
	
Until KeyboardPushed(#PB_Key_Escape) Or event = #PB_Event_CloseWindow

Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
Klaus_1963
User
User
Posts: 29
Joined: Wed Nov 25, 2009 9:37 am

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by Klaus_1963 »

Thanks! And now work on an Android version of PB :-)
PureBasic 4.72 LTS - Windows / MacOS / Linux / strong coffee / stronger coffee / Coffee intravenously...
User avatar
luis
Addict
Addict
Posts: 3893
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by luis »

@DK_PETER

Throwing tomatoes ? :mrgreen:
"Have you tried turning it off and on again ?"
A little PureBasic review
User avatar
DK_PETER
Addict
Addict
Posts: 904
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by DK_PETER »

luis wrote:@DK_PETER

Throwing tomatoes ? :mrgreen:
Hehe! Yes yes... It was either that or lemons :lol:
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
Armoured
Enthusiast
Enthusiast
Posts: 365
Joined: Mon Jan 26, 2004 11:39 am
Location: ITALY
Contact:

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by Armoured »

Great work! Thanks :)
Wladek
User
User
Posts: 98
Joined: Mon Feb 23, 2009 4:01 pm
Location: Poland
Contact:

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by Wladek »

When finish 5.20 ?
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by jassing »

Wladek wrote:When finish 5.20 ?
When fred announced "5.20 lts is out"
User avatar
falsam
Enthusiast
Enthusiast
Posts: 632
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by falsam »

jassing wrote:
Wladek wrote:When finish 5.20 ?
When fred announced "5.20 lts is out"
Fred wrote:Hi Folks, we are very happy to annouce the final 5.20 version of PureBasic ! It's available on your online account,
See first message of this post :)

➽ Windows 11 64-bit - PB 6.21 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect 🤪
sec
Enthusiast
Enthusiast
Posts: 792
Joined: Sat Aug 09, 2003 3:13 am
Location: 90-61-92 // EU or ASIA
Contact:

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by sec »

Wladek wrote:When finish 5.20 ?
It's already out for week,you're late :mrgreen:

@DK_PETER: amazing demo, learning from your code :D
ColeopterusMaximus
User
User
Posts: 66
Joined: Fri Oct 29, 2010 11:29 am

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by ColeopterusMaximus »

AMAZING!!!!

Thanks Fred and Company!
Post Reply