PureBasic 5.20 beta 20 is out

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
pcfreak
User
User
Posts: 75
Joined: Sat May 22, 2004 1:38 am

Re: PureBasic 5.20 beta 3 is ready to test !

Post by pcfreak »

Phil7 wrote:Hello,

I also have a suggestion for the term usemodule/hidemodule to rename:
What about: withmodule/endwithmodule
I think the funktionality ist nearly the same, so this could be even more consistent.

Many thanks for this great Version!

Phil
I aggree to this as I see Module some kind of namespace.
As that I would even expect With/EndWith to be applicable.
So from my point of view there is no need to introduce new keywords.
User avatar
luis
Addict
Addict
Posts: 3893
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: PureBasic 5.20 beta 5 is ready to test !

Post by luis »

Just found out this is missing :wink:

Code: Select all

Added: "Modules Names" in Editor -> Coloring.
"Have you tried turning it off and on again ?"
A little PureBasic review
said
Enthusiast
Enthusiast
Posts: 342
Joined: Thu Apr 14, 2011 6:07 pm

Re: PureBasic 5.20 beta 5 is ready to test !

Post by said »

Thanks again and again and ... you are a great team!
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: PureBasic 5.20 beta 3 is ready to test !

Post by blueznl »

Phil7 wrote:Hello,
I also have a suggestion for the term usemodule/hidemodule to rename:
What about: withmodule/endwithmodule
I have to concur... 'HideModule' is indeed a bit strange and inconsistent with the rest of the language...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: PureBasic 5.20 beta 4 is ready to test !

Post by Psychophanta »

Fred wrote:Please use a different thread for such questions, it's annoying, thanks.
+1 :!:

Agree, and no need to say 1 time: It is a matter of basic understanding and basic sense.
To me is extremely annoying after it was said and repeated.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
skywalk
Addict
Addict
Posts: 4210
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 5.20 beta 5 is ready to test !

Post by skywalk »

Hi Fred,
Would it make sense to lock these Announcement posts so only you & moderators can add necessary info?
Then anyone having issues would be forced to create bug reports.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: PureBasic 5.20 beta 5 is ready to test !

Post by DoubleDutch »

Fred: Thanks for the update, all seems to work fine for me. :)
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

Re: PureBasic 5.20 beta 5 is ready to test !

Post by Lebostein »

The texture is in fact a regular sprite loaded by LoadSprite() or CatchSprite() or created by CreateSprite() using the #PB_Sprite_Texture mode. The texture must be a square of one of the following dimensions: 16*16, 32*32, 64*64, 128*128 or 256*256. Other sizes may work on some specific cards, but not all.
I suppose that size limitation is invalid with PB 5.20? :?:

Thanks.
eesau
Enthusiast
Enthusiast
Posts: 589
Joined: Fri Apr 27, 2007 12:38 pm
Location: Finland

Re: PureBasic 5.20 beta 5 is ready to test !

Post by eesau »

Lebostein wrote:
The texture is in fact a regular sprite loaded by LoadSprite() or CatchSprite() or created by CreateSprite() using the #PB_Sprite_Texture mode. The texture must be a square of one of the following dimensions: 16*16, 32*32, 64*64, 128*128 or 256*256. Other sizes may work on some specific cards, but not all.
I suppose that size limitation is invalid with PB 5.20? :?:

Thanks.
I think it's been invalid for ages. Still true that there might be problems on specific GPUs though, and for performance reasons textures that are power-of-two's in size are better.
User avatar
kenmo
Addict
Addict
Posts: 2032
Joined: Tue Dec 23, 2003 3:54 am

Re: PureBasic 5.20 beta 5 is ready to test !

Post by kenmo »

Thanks for combining the Sprite / Sprite3D libs... I think it makes sense, and it always seemed cumbersome to keep track of two separate objects to make a 3D sprite :)
OrangeJuice
User
User
Posts: 24
Joined: Sat Jul 24, 2010 11:56 am

Re: PureBasic 5.20 beta 5 is ready to test !

Post by OrangeJuice »

@Fred: Not to complain, I'm super happy we finally got adequate Joypad support, but there is a Problem with the Joystick lib.
The analog triggers on an XBox 360 style controller are treated as the positive and negative axis of Pad 0, z Axis... that doesn't really work that well, because if you pull both of them at the same time they even each other out and report zero. This shouldn't be a limitation of the Joypad itself, because many games use mechanics where you pull both triggers and they work fine.

It would be better to consider one trigger as the Z axis of pad 0 and the other as the z axis of pad one or to consider them as an own pad with x and y or any other solution that would allow them both to be read simultaneously.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.20 beta 5 is ready to test !

Post by Fred »

Then open a new thread instead of posting here or your comment will be lost.
User avatar
Tombmyst
User
User
Posts: 11
Joined: Thu Jul 04, 2013 2:34 am
Location: Québec

Re: PureBasic 5.20 beta 5 is ready to test !

Post by Tombmyst »

Fred wrote:Then open a new thread instead of posting here or your comment will be lost.
It looks like people don't conceive that this thread is about the release new version of PureBasic, kind of disappointing.. But anyways, thank you for this release! :D
Tombmyst
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: PureBasic 5.20 beta 2 is ready to test !

Post by Kuron »

blueznl wrote:Could any of the PB devs elaborate a bit on the library subsystem? It's a bit unclear what is possible (or no longer possible) now. Ie. does it always use DirectX11? If so, what happens on XP?
It is likely the same as with previous updates to the subsystem, you have to compile another version for the lesser subsystem so it will work on legacy versions of Windows. Unlike most language with gaming commands, in PB you can't set the drivers at runtime, and must have multiple versions of your program. Although somewhat abnormal, it is PB's way of doing things. Any decent installer will be able to detect the version of the OS and install the appropriate version of your game. Personally, I solve the problem by using OpenGL.
Best wishes to the PB community. Thank you for the memories. ♥️
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: PureBasic 5.20 beta 3 is ready to test !

Post by Kuron »

Psychophanta wrote:
Fred wrote:update: beta 3 is out with the usual bug fixes. 'HideModule' has been renamed to 'UnuseModule' for better consistency. Happy testing !
What about 'LeaveModule' ?

UseModule and FreeModule would be more natural, but given that English is NOT the native language of the developers, I think they do a great job with the syntax and any minor discrepancies are really a non-issue. I am just thankful for the command. If somebody doesn't like the wording, they can simply wrap the command with a new name.
Best wishes to the PB community. Thank you for the memories. ♥️
Post Reply