![]() |
Weird scripting bug
So is there any reason this is not working properly?
PHP Code:
PHP Code:
|
Quote:
EDIT: GScript isn't truncating it so it must be you. echo(0x7FF / 512); output 3.998046875 |
Weird, 0x7FF = 4096.. Hex to Dec.. and 512 is DEC.. might graal be converting a dec to hex then calculating? Because I wasn't sure of any commands to convert hex/dec values. =/
Notice the lack of "0x" on 512.. o.O |
Quote:
|
Quote:
As a matter of fact, you have 64 x 64 tiles, and u can use every tile on the tileset in the level no left over.. perfectly. 64 x 64 = 4096... and it goe's in order.. o_o |
Quote:
|
Quote:
|
Quote:
|
Oh, you're right. For some reason it wasn't showing the correct tile in the tile array data in the editor.. =/ *sigh* well that makes things MUCH easier =/
|
All times are GMT +2. The time now is 03:11 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.