stevenshepherd
New member
So I am struggling to figure out how the values of user constants correspond to, say, the sprites in my player object tileset. The defaults of (I believe 8-9 for horizontal and vertical melee weapon) were intuitive enough - just count left to right starting with zero, from the top left corner. I intuited that the second row in the second spot from the right would be 17 (where my horizontal melee weapon actually was) and so I changed the appropriate user constant to 17 and that seemed to work. But then I thought my vertical melee weapon was 33, and I just got an error when trying to run the game. So then I moved the sprite to what I thought was 12, and got an error. Then moved it to what I thought was 14, and it worked. So basically, I don't know the underlying values for each 8x8 sprite location on the tile sheet.
On FB, Joe suggested I "use the plug in to see dec - hex - bin conversions". After figuring out what he meant (plugin tab on left menu, not the separate plugin thing that was recently released), I am still stuck. It seems to convert numbers into hex, but Joe said "Yeah the CODE has to be written in hex, but the tool sees dec for those constants (and converts them to hex on export)". So, if the tool sees dec, then I am not sure why I need to know the hex. Similarly, I don't know the original hex values of the tile sheet if that is what is needed.
Any help is much appreciated
On FB, Joe suggested I "use the plug in to see dec - hex - bin conversions". After figuring out what he meant (plugin tab on left menu, not the separate plugin thing that was recently released), I am still stuck. It seems to convert numbers into hex, but Joe said "Yeah the CODE has to be written in hex, but the tool sees dec for those constants (and converts them to hex on export)". So, if the tool sees dec, then I am not sure why I need to know the hex. Similarly, I don't know the original hex values of the tile sheet if that is what is needed.
Any help is much appreciated