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.
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
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?
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.
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
@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 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!
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.
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.