![]() |
Tiles etc..
In New Features 2001:
This is one line of the background layer. 'tilesdata' has a length if w*2 characters; each tile is a 12bit-index into the tile list (pics1.png) and is encoded in two base64 characters (upper 6 bit first) base64: String = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvw xyz0123456789+/' so AA is tile 0, AB is tile 1, AC is tile 2, // is tile 4095 (=0xFFF) Can someone explain on how to find what the tiles are. EX: 0xABC = what? |
What are you talking about? You do know what hexadecimal is, right?
|
Quote:
|
Quote:
|
Quote:
|
Wikipedia certainly can.
|
Quote:
|
Quote:
|
Quote:
|
Aww if it wasn't for IBM, Hexadecimal might have ended up being called Sexadecimal :-(.
|
Why do you need to know how to use the level format?
|
Well, nevermind anymore...
and yeah: Do you know Sexadecimal? |
Hex is easy to learn :)
numbers go from 0-F. Think of A,B,C,etc as 10,11,12,etc. 0xBEEF Start from the right. The last digit is your ones, then the next to the last is your 16s, then your 16^2s, 16^3s, etc. For this example, it is F*1 + E*16 + E*16^2 + B*16^3. Translating the letters, you get 15 + 14*16 + 14*16^2 + 11*16^3. The answer is 48879. |
Quote:
|
Quote:
I could be wrong. |
Quote:
|
It would be nice if you could form a layer from a tile hex array.
settileimg(width,height,vislayer,{tilearray}); |
If you were cool, you would script it.
|
Quote:
Quote:
Quote:
|
Quote:
|
Quote:
i dont know if that is like what you mean |
Ah, i'm glad I thought of it, showing a part of the pics1.png.
I'm brilliant! (lol j/k) |
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 03:53 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.