Tileyada · bei.pm
Qaababka faylka ee ku qoran boggan waxay ku saleysan yihiin falanqaynta farsamada ee hantida maskaxeed ee Dynamix, Inc. iyo Sierra Entertainment.
Hantida maskaxeed waxay maanta qayb ka tahay Activision Publishing, Inc./ Activision Blizzard, Inc. iyo hadda waxaa leh Microsoft Corp..
Macluumaadka waxaa lagu ururiyey iyadoo la adeegsanayo Injineernimada Dhabta ah iyo Falanqaynta Xogta si loo helo kaydinta iyo is dhexgalka xogta taariikhiga ah.
Looma isticmaalin wax qeexitaanno gaar ah ama qarsoodi ah.
Ciyaarta waxaa hadda lagu iibsan karaa bogga gog.com sida soo dejin.
Adr | x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 | x9 | xA | xB | xC | xD | xE | xF | xarfaha | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0000 | 50 | 42 | 4d | 50 | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | P | B | M | P | . | . | . | . | . | . | . | . | . | . | . | . |
Fogaanta | Nooca Xogta | Magaca | Sharaxaad |
---|---|---|---|
0x0000 | uint(32) | Byte-yada sixirka | |
0x0004 | uint(24) | Dhererka Block-ka | |
0x0007 | uint(8) | Calanka |
Tiles-kani waa qaab-grafik Bitmap oo khaas u ah Outpost-2. Waxay ka kooban yihiin 13 Tilesets,
loo yaqaan "wells" (well0000.bmp
ilaa well0012.bmp
),
kuwaas oo ku dhex jira volume-ka maps.vol.
Tilesets / Wells waxay ka kooban yihiin waxyaabahan:
Magaca Faylka | Waxyaabaha |
---|---|
well0000.bmp | Garaaf buluug ah oo cabirkiisu yahay 32x32px - ku habboon in lagu tijaabiyo haddii qalabkaaga sawirrada uu shaqeynayo |
well0001.bmp | Waxay ka kooban tahay dhagax iftiin leh, buuro ku yaal dhagax iftiin leh iyo noocyo badan oo ka mid ah godadka dhaca ee dhagax iftiin leh |
well0002.bmp | Waxay ka kooban tahay 'Doodads' dhagax iftiin leh - sida walxaha lagu dhigo si loogu fidiya (ama si ula kac ah sida dhisme, tusaale ahaan derbiyada) dhagax iftiin leh, oo ay ku jiraan dhirta |
well0003.bmp | Waxay ka kooban tahay qaab dhismeed ka samaysan xabag dhagax iftiin leh |
well0004.bmp | Waxay ka kooban tahay dhagax madow, buuro ku yaal dhagax madow leh iyo noocyo badan oo ka mid ah godadka dhaca ee dhagax madow leh |
well0005.bmp | Waxay ka kooban tahay 'Doodads' dhagax madow leh - sida walxaha lagu dhigo si loogu fidiya (ama si ula kac ah sida dhisme, tusaale ahaan derbiyada) dhagax madow leh |
well0006.bmp | Waxay ka kooban tahay qaab dhismeed ka samaysan xabag dhagax madow leh, iyo isdhexgalka u dhexeeya dhagax iftiin leh iyo dhagax madow leh |
well0007.bmp | Waxay ka kooban tahay lava oo leh 4-5 frames animation ah oo kala duwan |
well0008.bmp | Waxay ka kooban tahay ciid iyo noocyo badan oo ka mid ah godadka dhaca ee ciidda |
well0009.bmp | Waxay ka kooban tahay 'Doodads' ciid - sida walxaha lagu dhigo si loogu fidiya (ama si ula kac ah sida dhisme, tusaale ahaan derbiyada) ciidda |
well0010.bmp | Waxay ka kooban tahay 48 isdhexgal oo ka mid ah ciidda iyo dhagax iftiin leh iyo dhagax madow leh |
well0011.bmp | Waxay ka kooban tahay daboolka polar ee khariidadda, oo leh dhagax madow sida saldhig |
well0012.bmp | Waxay ka kooban tahay daboolka polar ee khariidadda, oo leh dhagax iftiin sida saldhig |
Waa muhiim in la sameeyo si sax ah, in Tiles aan hore loo muujin si loo keydiyo, maadaama xogta ku saabsan wareega maalinta/habeenka ay weli tahay in la shaqeeyo - waxaana jiri doona xog aad u badan.
Tile-yadu waa 8bpp sawirro leh palette la tilmaamay oo leh xallin 32x32 pixel, kuwaas oo si isdaba joog ah loo habeeyay. Si kastaba ha noqotee, Tileset-kan waxaa ku jiri kara tiro ka badan
Wejiga ugu muhiimsan wuxuu ka kooban yahay 2 qeybood: head
iyo data
.
Cinwaanka Tiles
Adr | x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 | x9 | xA | xB | xC | xD | xE | xF | xarfaha | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0000 | 68 | 65 | 61 | 64 | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | h | e | a | d | . | . | . | . | . | . | . | . | . | . | . | . |
0x0010 | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . |
Fogaanta | Nooca Xogta | Magaca | Sharaxaad |
---|---|---|---|
0x0000 | uint(32) | Byte-yada sixirka | |
0x0004 | uint(24) | Dhererka Block-ka | |
0x0007 | uint(8) | Calanka | |
0x0008 | uint(32) | Nooca / Calamada? | Tani waxay noqon kartaa calaamad nooca faylka; dhammaan faylasha aan haysto waxay ku qoran yihiin qiimaha |
0x000c | uint(32) | Ballac (Xallinta Fidsan) | Waxay muujinaysaa sida balaaran faylka sawirka yahay (xagga pixels). Dhamaan Wells-ka Outpost 2 halkan waxaa laga filan karaa qiimaha |
0x0010 | uint(32) | Dherer (Xallinta Fogaanta) | Waxay muujinaysaa sida sare ee faylka sawirka (in Pixel). Dhamaan Wells-ka Outpost 2 halkan waxaa laga filayaa qiimaha |
0x0014 | uint(32) | Qoto-dhaxaadka midabka? | Macnaha qiimahan ma cadda. Maadaama uu ku jiro dhammaan faylasha la baaray qiimaha |
0x0018 | uint(32) | Qoto dheer midabka 2? | Macnaha qiimahan ma cadda. Waxay u egtahay in ay tahay 'bartilmaameed'-qoto dheer midab. |
Macluumaadkan ka dib, waxaa jiri doona fayl palette ah oo ku jira qaabka RIFF ee la isku raacay. Tilmaamaha saxda ah waxaa laga helayaa - maadaama palettes ay meelo kale ka muuqdaan - hoosta Palettada.
Xogta Tiles
Adr | x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 | x9 | xA | xB | xC | xD | xE | xF | xarfaha | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0000 | 64 | 61 | 74 | 61 | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | d | a | t | a | . | . | . | . | . | . | . | . | . | . | . | . |
Fogaanta | Nooca Xogta | Magaca | Sharaxaad |
---|---|---|---|
0x0000 | uint(32) | Byte-yada sixirka | |
0x0004 | uint(24) | Dhererka Block-ka | |
0x0007 | uint(8) | Calanka |
Ugu dambeyntii, xogta pixel-ka ayaa ka bilaabmaysa bidix-dhanka kore ee safafka ilaa midig-dhanka hoose.
Xogta qiimaha ee sawirada badanaa loo yaqaan 8bpp-Bitmaps waxay u dhigantaa index-ka midabka ee palette-ka midabka.
Engine-ka ciyaarta wuxuu sawiraa Tiles *sida muuqata* on-demand.
Tani waxay u muuqataa inay sabab u tahay wareegga maalin-nox, oo leh 32 heerar oo tiles ah. Waxaa muuqata in qiimaha iftiinka laga jarayo 'yar'. Qiimayaal sax ah weli lama go'aamin, waxaan ku shaqeynayaa xisaabtan
v *= (daylight / 48) + 0.25;
iyadoo la adeegsanayo xogta HSV ee pixels, halka daylight ay tahay qiimo u dhexeeya 0-31 iyo v uu yahay qiimo u dhexeeya 0-1. Sidoo kale waa in la tixgeliyaa in khariidadda ay leedahay 16 tiles oo xuduud ah bidix iyo midig (tani waxay u adeegtaa in la qarsoodi ugu dhiso unugyo).
Intaa waxaa dheer, wareegga maalin-nox wuxuu u muuqdaa inuu kaliya cusboonaysiinayo hal tiir oo khariidadda ah mar kasta oo ciyaar socoto.
Wareeg maalin-nox oo dhaqso ah wuxuu u egyahay sidan: