Search found 254 matches

by jalih
Sun Aug 01, 2010 7:06 pm
Forum: General programming
Topic: How to have chaging amount of variables in function call?
Replies: 2
Views: 2354

Re: How to have chaging amount of variables in function call?

There is a good example in documentation. In your case it would be something like: Function p_talkbox(x , y, message$, ...) - Your function now holds a local table called arg - arg.n holds the number of arguments function received. - arguments, that function received are stored in the arg table star...
by jalih
Sun Aug 01, 2010 1:17 pm
Forum: General programming
Topic: how to make brush transparent?
Replies: 4
Views: 3187

Re: how to make brush transparent?

Hi, Steps are something like: - Open alpha channel of the brush with: SelectAlphaChannel() - Make brush fully transparent with: SetAlphaIntensity(0) and Cls - Then set the desired transparency level with SetAlphaIntensity() (255 is fully opaque) - Draw to alpha channel - EndSelect Simple example wit...
by jalih
Mon Jul 26, 2010 12:07 pm
Forum: Wishlist
Topic: Collision detection with partial brush
Replies: 0
Views: 1919

Collision detection with partial brush

How about adding support for partial brush in collision detection function? I'm currently writing a little three layer parallax scrolling platform game, just for kicks. I need to use double buffer for drawing and sprite frames are vertically aligned in a brush. It's simple to draw sprites and do spr...
by jalih
Sat Jun 19, 2010 6:44 pm
Forum: Wishlist
Topic: Network functions
Replies: 0
Views: 1586

Network functions

Socket support would be on top of my wish list.