ID:176052
 
Hi, Muska here, i need some help, i downloaded a multi-tile demo and radar demo and both use pixel_x and pixel_y, these NEVER work for me, ever and i would like to know if there is something wrong, newer byond what-not

Muska
Muska wrote:
Hi, Muska here, i need some help, i downloaded a multi-tile demo and radar demo and both use pixel_x and pixel_y, these NEVER work for me, ever and i would like to know if there is something wrong, newer byond what-not

You'll have to go into more depth than "it doesn't work", or else don't even waste our time with the complaint. And if you're using a very old version of BYOND, you need to upgrade anyway, but chances are you're using 334 and pixel offsets will work just fine.

Lummox JR
In response to Lummox JR
Sorry for being so vague, i was rushing around, it says pixel_x = 097
pixel_y = 032

and it comes up pixel_x : invalid expression
same with pixel_y, everything else is fine.
Any ideas?

Thanks
Muska
In response to Muska
Muska wrote:
Sorry for being so vague, i was rushing around, it says pixel_x = 097
pixel_y = 032

and it comes up pixel_x : invalid expression
same with pixel_y, everything else is fine.

By "it" do you mean the demo you were compiling?
If the demo itself doesn't compile, you're definitely running an old version of BYOND--a very old version. And in that case you'll need to get BYOND 334.

If it's your own code that's failing, then I'd bet the real reason is a subtle syntax error, and it would be helpful to see more of your code.

Lummox JR
In response to Lummox JR
Turns out i was running Byond v. 317 :S

Thanks for your time and help LummoxJr

Muska