Quote:
Originally Posted by Jakov_the_Jakovasaur
there are plenty of online tools that can do it, for example:
http://www.binaryhexconverter.com/he...imal-converter
0x would unambiguously state that the following value is hexadecimal and the number before the x represents a count of 16s before it, so 1x1 is basically 16 + 1, 2x1 is 32 + 1 aka 33, 2xF is 32 + 15 aka 47 etc
whereas if you used the true hexadecimal value for 17 which is '11' that would appear more ambiguous
|
I really appreciate the help
But I have one more question to add to this
What can I do so I don't have to do this..
PHP Code:
if ((tiles[player.x+1.5, player.y+3] != 0) || (tiles[player.x+1.5, player.y+3] != 32) || (tiles[player.x+1.5, player.y+3] != 66) || /*etc*/){
just have all the tile values in one check