Forum

> > CS2D > Scripts > About the image() function...
Forums overviewCS2D overview Scripts overviewLog in to reply

English About the image() function...

5 replies
To the start Previous 1 Next To the start

old About the image() function...

DannyDeth
User Off Offline

Quote
Hi all,

I was just wondering, when one draws an image in CS2D ( not on a player, over a specific x|y coordinate ), is it midhandled? ( BMax users know what I mean here, though for you who don't, centered would be a legitimate replacement. )

Thanks in advance,
Danny.

old Re: About the image() function...

EngiN33R
Moderator Off Offline

Quote
Well, as I understood it when you draw an image on 48|48 it will put the image so its center would be on 48|48. I may have misunderstood you though.

old Re: About the image() function...

DannyDeth
User Off Offline

Quote
Yeah, basically what I meant was whether it would place* the images* centre at the coordinates or would it put the top-left corner at the coordinates.

I can't test this for myself right now ( I'm busy running FreeBSD with a dedicated server, the Linux client doesn't work on BSD for meh )
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview