dagcrack wrote:Let's add 7up too!
Wishlist for PureBasic v4.0
Let's add 7up too!
appearently only in light or diet versions...well.. I vote for 7zip but only if it adds just a few KBs to the exe and not 200KBs Razz - Let's add 7up too!
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
- Psychophanta
- Always Here

- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
i think the best and most easy way would be to have for all commands needing colorparameter, to use a a long as colorvalue instead a byte for each color... for example...Lebostein wrote:Please add optional color parameters (single color or R, G and B severally) to some sprite commands:
ClearScreen(R, G, B) and/or ClearScreen(RGB.l)
TransparentSpriteColor(SpriteID.l, R, G, B) and/or TransparentSpriteColor(SpriteID.l, RGB.l)
ClearScreen(lColorRGBA) or...
ClearScreen(RGBA(255,255,255,255)
instead of RGB it would be nice to have RGBA(r,g,b,a) that works for any color agrument...
but when fred would change this, this will break the compatible to all old sources... ;/
va!n aka Thorsten
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
i know i have requested this somewhere around 2002/2003... what do you think about command to set the x and y position for handling 2D/3D sprites?
I think this could be usefull for example, when you have a 3D sprite and want to rotate the sprite itself but not at position 0,0 - futuremore set the x,y handle to middle, so we have a nice rotation about its own "middle" axes...
SetSprite3DHandle(#Sprite3D,lXPos,lYPos)
RotateSprite3D(#Sprite3D, Winkel, Mode)
some more people here are interested in this feature?
I think this could be usefull for example, when you have a 3D sprite and want to rotate the sprite itself but not at position 0,0 - futuremore set the x,y handle to middle, so we have a nice rotation about its own "middle" axes...
SetSprite3DHandle(#Sprite3D,lXPos,lYPos)
RotateSprite3D(#Sprite3D, Winkel, Mode)
some more people here are interested in this feature?
va!n aka Thorsten
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
As for me, 3 items...
1. Don't forget the NOT operator.
2. Some cleaning up of the Gadget would be nice. Ex Option Gadget Terminator and for only 1 ID per Option Gadget List. Ex.
3. Allow optional parameters for procedures.
1. Don't forget the NOT operator.
2. Some cleaning up of the Gadget would be nice. Ex Option Gadget Terminator and for only 1 ID per Option Gadget List. Ex.
Code: Select all
#MYOPTIONGADGET = 45
OptionGadgetBegin(#MYOPTIONGADGET)
AddItem(10, 10, 1, "Option 1")
AddItem(10, 40, 2, "Option 2", #True) ; default selected
AddItem(10, 70, 3, "Option 3")
AddItem(10, 100, 7, "Option with value 7")
OptionGadgetEnd()Code: Select all
Procedure MyFunc(name.s, tel.s, optional address.s = "N/A")
...
EndProcedure
MyFunc("Albert", "123", "USA")
MyFunc("Alan", "321")
MyFunc("Andy", "911", ":)")- Joakim Christiansen
- Addict

- Posts: 2452
- Joined: Wed Dec 22, 2004 4:12 pm
- Location: Norway
- Contact:
Just a little change in keyboard and mouse button checking:
Keyboard(KeyID [, Mode])
Mouse(ButtonNumber [, Mode])
Where mode can be #Pressed, #Down or #Released
Default is #Down
Example:
I think this syntax make more sence 
Keyboard(KeyID [, Mode])
Mouse(ButtonNumber [, Mode])
Where mode can be #Pressed, #Down or #Released
Default is #Down
Example:
Code: Select all
If Keyboard(#PB_Key_Up)
;do something
EndIf
If Mouse(#PB_MouseButton_Left,#Released)
;do something
EndIfI like logic, hence I dislike humans but love computers.

