資源簡介
貓里奧c源代碼(內含整體代碼與批處理)注釋為日文

代碼片段和文件信息
#include?“DxLib.h“
void?end();
extern?int?mattt;
extern?int?grap[161][8]mgrap[51];
int?x1;
extern?int?oto[151];
extern?int?anx[160]any[160];
extern?int?ne[40]nf[40];
void?loadg(void){
for?(t=0;t<7;t++){
mgrap[t]=0;
}
/*
for?(t=0;t<161;t++){
for?(tt=0;tt<8;tt++){
grap[t][tt]=0;
}}
*/
//ma-=100;//mb==5000;
//end();
//畫像読み込み
//?透過色を変更
SetTransColor(?9*16+9??255??255?)?;
//プレイヤー
mgrap[0]?=?LoadGraph(?“res/player.png“?)?;
//ブロック
mgrap[1]?=?LoadGraph(?“res/brock.png“?)?;
//アイテム
mgrap[2]?=?LoadGraph(?“res/item.png“?)?;
//敵
mgrap[3]?=?LoadGraph(?“res/teki.png“?)?;
//背景
mgrap[4]?=?LoadGraph(?“res/haikei.png“?)?;
//ブロック2
mgrap[5]?=?LoadGraph(?“res/brock2.png“?)?;
//おまけ
mgrap[6]?=?LoadGraph(?“res/omake.png“?)?;
//おまけ2
mgrap[7]?=?LoadGraph(?“res/omake2.png“?)?;
//タイトル
mgrap[30]?=?LoadGraph(?“res/syobon3.PNG“?)?;
//プレイヤー読み込み
grap[40][0]?=?DerivationGraph(?0?0?30?36?mgrap[0])?;
grap[0][0]?=?DerivationGraph(?31*4?0?30?36?mgrap[0])?;
grap[1][0]?=?DerivationGraph(?31*1?0?30?36?mgrap[0])?;
grap[2][0]?=?DerivationGraph(?31*2?0?30?36?mgrap[0])?;
grap[3][0]?=?DerivationGraph(?31*3?0?30?36?mgrap[0])?;
grap[41][0]?=?DerivationGraph(?50?0?51?73?mgrap[6])?;
x1=1;
//ブロック読み込み
for?(t=0;t<=6;t++){
grap[t][x1]?=?DerivationGraph(?33*t?0?30?30?mgrap[x1])?;
grap[t+30][x1]?=?DerivationGraph(?33*t?33?30?30?mgrap[x1])?;
grap[t+60][x1]?=?DerivationGraph(?33*t?66?30?30?mgrap[x1])?;
}
grap[8][x1]?=?DerivationGraph(?33*7?0?30?30?mgrap[x1])?;
grap[16][x1]?=?DerivationGraph(?33*6?0?24?27?mgrap[2]);
grap[10][x1]?=?DerivationGraph(?33*9?0?30?30?mgrap[x1])?;
grap[40][x1]?=?DerivationGraph(?33*9?33?30?30?mgrap[x1])?;
grap[70][x1]?=?DerivationGraph(?33*9?66?30?30?mgrap[x1])?;
//ブロック読み込み2
x1=5;
for?(t=0;t<=6;t++){
grap[t][x1]?=?DerivationGraph(?33*t?0?30?30?mgrap[x1])?;
}
grap[10][5]?=?DerivationGraph(?33*1?33?30?30?mgrap[x1])?;
grap[11][5]?=?DerivationGraph(?33*2?33?30?30?mgrap[x1])?;
grap[12][5]?=?DerivationGraph(?33*0?66?30?30?mgrap[x1])?;
grap[13][5]?=?DerivationGraph(?33*1?66?30?30?mgrap[x1])?;
grap[14][5]?=?DerivationGraph(?33*2?66?30?30?mgrap[x1])?;
//アイテム読み込み
x1=2;
for?(t=0;t<=5;t++){
grap[t][x1]?=?DerivationGraph(?33*t?0?30?30?mgrap[x1])?;
}
//敵キャラ読み込み
x1=3;
grap[0][x1]?=?DerivationGraph(?33*0?0?30?30?mgrap[x1])?;
grap[1][x1]?=?DerivationGraph(?33*1?0?30?43?mgrap[x1])?;
grap[2][x1]?=?DerivationGraph(?33*2?0?30?30?mgrap[x1])?;
grap[3][x1]?=?DerivationGraph(?33*3?0?30?44?mgrap[x1])?;
grap[4][x1]?=?DerivationGraph(?33*4?0?33?35?mgrap[x1]);
grap[5][x1]?=?DerivationGraph(?0?0?37?55?mgrap[7])?;
grap[6][x1]?=?DerivationGraph(?38*2?0?36?50?mgrap[7]);
grap[150][x1]?=?DerivationGraph(?38*2+37*2?0?36?50?mgrap[7]);
grap[7][x1]?=?DerivationGraph(?33*6+1?0?32?32?mgrap[x1]);
grap[8][x1]?=?DerivationGraph(?38*2+37*3?0?37?47?mgrap[7]);
grap[151][x1]?=?De
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????492095??2008-03-16?15:24??しょぼんのアクション\BGM\castle.mp3
?????文件?????306991??2008-03-16?13:10??しょぼんのアクション\BGM\dungeon.mp3
?????文件?????409827??2008-03-16?14:09??しょぼんのアクション\BGM\field.mp3
?????文件????1839588??2008-03-16?14:58??しょぼんのアクション\BGM\puyo.mp3
?????文件??????51291??2008-03-16?14:39??しょぼんのアクション\BGM\star4.mp3
????..A.SH.????????67??2009-03-06?21:21??しょぼんのアクション\desktop.ini
?????文件???????7196??2008-03-08?21:19??しょぼんのアクション\loadg.cpp
?????文件?????191672??2008-03-08?21:20??しょぼんのアクション\main.cpp
?????文件???????4421??2008-03-08?21:21??しょぼんのアクション\main.h
?????文件???????2391??2008-01-02?12:03??しょぼんのアクション\RES\brock.png
?????文件???????2419??2007-12-23?22:04??しょぼんのアクション\RES\brock2.png
?????文件???????4106??2007-12-23?22:04??しょぼんのアクション\RES\haikei.png
?????文件???????3225??2007-12-23?22:05??しょぼんのアクション\RES\item.png
?????文件???????4314??2007-12-23?22:06??しょぼんのアクション\RES\omake.png
?????文件???????4012??2007-12-23?22:05??しょぼんのアクション\RES\omake2.png
?????文件???????1127??2008-02-18?19:09??しょぼんのアクション\RES\pla
?????文件??????15445??2007-12-23?01:41??しょぼんのアクション\RES\syobon3.png
?????文件???????2516??2007-12-23?22:06??しょぼんのアクション\RES\teki.png
?????文件?????106743??2008-03-16?15:09??しょぼんのアクション\SE\4-clear.mp3
?????文件?????166919??2008-03-16?15:07??しょぼんのアクション\SE\allclear.mp3
?????文件??????11250??2008-01-27?15:27??しょぼんのアクション\SE\brockbreak.mp3
?????文件??????22798??2008-01-27?15:27??しょぼんのアクション\SE\brockcoin.mp3
?????文件??????22718??2008-01-27?15:27??しょぼんのアクション\SE\brockkinoko.mp3
?????文件??????22798??2008-01-27?15:16??しょぼんのアクション\SE\coin.mp3
?????文件??????78529??2008-03-16?14:00??しょぼんのアクション\SE\death.mp3
?????文件??????22749??2008-01-27?00:37??しょぼんのアクション\SE\dokan.mp3
?????文件??????82915??2008-03-16?15:06??しょぼんのアクション\SE\gameover.mp3
?????文件?????166923??2008-03-16?15:04??しょぼんのアクション\SE\goal.mp3
?????文件??????19435??2008-01-27?15:16??しょぼんのアクション\SE\hintblock.mp3
?????文件??????10815??2008-01-27?15:16??しょぼんのアクション\SE\humi.mp3
............此處省略20個文件信息
- 上一篇:博創華宇重慶06期_xxx_中級項目.rar
- 下一篇:OD點擊寄存器變色OD
評論
共有 條評論