
1、目標(biāo)
實(shí)戰(zhàn)開發(fā)簡單的土星程序,甚至小游戲
2、認(rèn)識開發(fā)環(huán)境
1、資料的來源。
從幾位還在做土星周邊的國外大神的連接,連到的。一個(gè)站。
本身也比較老了。
地址:
http://www.rockin-b.de/c4/2007/index.html
2、開發(fā)環(huán)境。
win7及以下
可支持C和C++。
之前總說用匯編,我就一直奇怪。果然不是匯編。其實(shí)土星時(shí)代游戲是非常的高產(chǎn)的。怎么可能適用匯編這種跟機(jī)器語言一樣的底層語言呢。
適用開發(fā)包。
SaturnOrbit
介紹:
How to set up (the dev environment) SaturnOrbit
SaturnOrbit is a ready-to-go and complete Saturn development environment for Windows XP and Windows 9x operating systems.
The Saturn demo of this tutorial has been made with it.
Installation is easy, these are just some notes:
1. Download SaturnOrbit (55.6 MB)
原地址下載
http://vberthelot.free.fr/SaturnOrbit/SaturnOrbit_r1_setup.exe
如果希望交流或者有想法一起開發(fā)點(diǎn)有趣的東西~,請加我的Q群,4953092 (硬派玩家)
2. Install it by double-clicking the file. It requires 250-400 MB of free space on hard drive C and will (must) be installed in C:/SaturnOrbit/. Select the components to install. You must
at least select one of the two supplied compiler toolchains. Windows 9x users must select the Win9x support, too.
雙擊安裝,需要C盤400MB,而且必須安裝在C盤C:/SaturnOrbit/
3. After all files are installed you are asked to compile everything. This is not neccessary, but it's recommended to run at least the COFF compiling in order to test the installation and
to build the libraries. You can do it later, too, by running BUILDCOF.BAT and BUILDELF.BAT. This takes a while and increases the consumed disk space by 25%-50%.
3、運(yùn)行基礎(chǔ)測試項(xiàng)目
開發(fā),從零開始是很難很麻煩的,但是如果有一個(gè)比較完整的例子可以為基礎(chǔ)那就會很方便。
很幸運(yùn),找到一個(gè)基礎(chǔ)項(xiàng)目,也是例子程序。
SEGA Saturn Coding Contest (C4 - 2007)
地址:
http://www.rockin-b.de/c4/2007/index.html
http://www.rockin-b.de/saturn/saturngametutorial/SaturnGameTutorial.htm
這就是這篇土星游戲入門~
SaturnGameTutorial_050701.rar
下載這個(gè)項(xiàng)目包。
這里面有很豐富的內(nèi)容,是可以直接可以用SaturnOrbit來編輯的。
下載資料也可以請加我的Q群,4953092 (硬派玩家)群文件內(nèi)有。
解壓縮后,里面有一個(gè)demo目錄,將目錄下的ISO文件,加載入虛擬光驅(qū)后,就可以用土星模擬器來運(yùn)行了。(當(dāng)然你想刻盤用真機(jī)運(yùn)行也是可以的。)
運(yùn)行后界面如下圖:

可以說,這個(gè)demo內(nèi)容十分豐富!
有,對于2,3維對象的各類操作,對音樂,cd軌道的操作。學(xué)會這些例子的開發(fā),可以說,就是土星游戲開發(fā)的第一步了。
這個(gè)demo的官方說明如下:
About the Saturn Game Tutorial Demo
The Saturn demo that comes with this tutorial shows enough features to start a game from.
Features:
background bitmap image with DHUFF compression is loaded from CD
sprite/ texture table can be loaded from CD (with optional RLE compression) or hardcoded in binary executable
textured polygons (Saturn planet: 256, Saturn rings: 32)
realtime gouraud shading (Saturn planet only)
depth cueing
full featured CD audio playback, audio tracks included
PCM playback (2 small hardcoded, 1 large loaded from CD)
short sprite animation of images in sprite table
long sprite animation loaded compressed from CD
multitap compatible
multiregion
exit to multiplayer or demo demo loader by pressing START+A+B+C
Controls:
Holding down one of the A/B/C/X/Y/Z triggers activates a certain input mode.
For each mode, the D-PAD, START button and L/R triggers have special meanings, which is displayed on screen by the text HUD.
modes:
A - sprite x/y position + sprite change
B - sprite zoom/rotate + sprite change
C - polygon x/y/z position, toggle realtime gouraud
X - PCM player, 3 sounds
Y - CD audio player, play, pause, stop, fast forward/backward, next/previous track
Z - polygon x/y/z rotate, toggle realtime gouraud
Programs used:
SaturnOrbit - Saturn development environment
3DEditor - Saturn polygon and texture tool
DXF2SG3.EXE, 3Dto3D.EXE, RB_SaturnDXF.EXE - 3D fileformat converter
BGCON - almighty saturn background converter
CMPRUN.EXE - RLE compression compatible with SBL's CMP library
SegaCueMaker.EXE - CUE sheet creation
The GIMP 2 - GIMP image manipulation program
ACDSee - image slideshow and batch processing program
Blender - 3D modelling tool
NERO - CUE sheet burning