Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2015-03-27 14:32:13, last edited by madiik (2015-03-27 15:09:03)

madiik
Member
From: floor above Yuuta
Joined: 2015-02-26
Posts: 514

[Question] The "m" event.

So if the PlayerX and PlayerY return decimals, this means they are in pixel?

If I would want to get their position based on block position (in int)

Would it be?

PlayerX * 16 (because block size in pixel == 16)

PlayerX / 16 (because block size in pixel == 16)

oh goodness how silly of me //forums.everybodyedits.com/img/smilies/tongue ty goeyfun


shh i have returned

Offline

#2 2015-03-27 15:05:55

goeyfun
Member
From: Mighty Japan
Joined: 2015-02-18
Posts: 667

Re: [Question] The "m" event.

round to nearest 16, then divide by 16, you get x/y


Ug3JzgO.png

Offline

goeyfun1427465155488072

Board footer

Powered by FluxBB

[ Started around 1732810656.7696 - Generated in 0.028 seconds, 12 queries executed - Memory usage: 1.38 MiB (Peak: 1.47 MiB) ]