[, Intensity [, Color]]

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Psychophanta
Addict
Addict
Posts: 4975
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
Contact:

[, Intensity [, Color]]

Post by Psychophanta »

I think there would be more consistent to put [, ARGB] as parameter better than 2 parameters [, Intensity [, Color]].
For example for function:

DisplayTransparentSprite(#Sprite, x, y [, Intensity [, Color]])

DisplayTransparentSprite(#Sprite, x, y [, ARGB])
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen:
User avatar
STARGÅTE
Addict
Addict
Posts: 2067
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: [, Intensity [, Color]]

Post by STARGÅTE »

But then you would colorize the sprite in any case, and very often you would like to change only the intensity.
Further information: PB 5.20 - Color in DisplayTransparentSprite()
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
Post Reply