Page 16 of 16

Posted: Sat Nov 12, 2005 8:18 am
by Dare2
dagcrack wrote:Let's add 7up too!
:D

Posted: Sat Nov 12, 2005 11:00 am
by blueznl
Let's add 7up too!
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!
appearently only in light or diet versions...

:-)

Posted: Sat Nov 12, 2005 11:25 am
by Psychophanta
:lol:
(Sorry, i wasted one more useless post) :oops:

Posted: Mon Nov 14, 2005 11:56 am
by Lebostein
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)

Posted: Mon Nov 14, 2005 7:20 pm
by va!n
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)
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...

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... ;/

Posted: Mon Nov 14, 2005 11:20 pm
by va!n
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?

Posted: Wed Nov 16, 2005 1:12 am
by akee
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.

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()
3. Allow optional parameters for procedures.

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", ":)")

Posted: Thu Nov 17, 2005 4:16 pm
by Joakim Christiansen
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:

Code: Select all

If Keyboard(#PB_Key_Up)
  ;do something
EndIf
If Mouse(#PB_MouseButton_Left,#Released)
  ;do something
EndIf
I think this syntax make more sence :)