スタンプ発売だあああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ…つかここどんだけ
描きこめんだオイ…うーんあああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ……やべえな小説書けんじゃね…オおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおおお、規約違反とか
じゃないよねコレ…まあいいいかああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ…まだいけんのか…うーんプログラムコード持ってくるわ
#define _USE_MATH_DEFINES
#include"DxLib.h"
#include<stdlib.h>
#include<math.h>
#include<time.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
const int WIDTH = 1920, HEIGHT = 1080;
SetWindowText("えっち");
SetGraphMode(WIDTH, HEIGHT, 32);
ChangeWindowMode(TRUE);
if (DxLib_Init() == -1)return-1;
SetBackgroundColor(0, 0, 0);
SetDrawScreen(DX_SCREEN_BACK);
//読み込み素材
const int Tix=101;
const int Tiy=226;
int ky = HEIGHT / 2;
int kx = WIDTH / 2;
int kR = 10;
int kxv = 5;
int kyv = 5;
int EP = 0;//絶頂ポイントこと
int HEP = 0;//催眠深度じゃ
int sx = WIDTH / 3;
int sy = HEIGHT / 3;
int timer = 0;
int Hai= WIDTH / 3 / 2/3;//はいの位置
int Iie = WIDTH /3/2; //いいえの位置
int WIDN = WIDTH / 2;
int Cx = Hai;
int Cy = HEIGHT / 2;
int timerTx = 0;
int a;
enum { TITLE, PLAY,READ, OVER,DASH};
int scene = TITLE;
int xno1=0,yno1 = 0,rno1 = 20;
int xno2 = WIDTH / 4, yno2 = HEIGHT / 4, rno2 = 120;
int Kiss = LoadGraph("image/kiss.png");
int kissSe = LoadSoundMem("sound/kiss.mp3");
int BACKW = LoadGraph("image/TITLE.png");
int CG1 = LoadGraph("image/Sku1.png");
int H = LoadGraph("image/hiro.png");
int S = LoadGraph("image/suc.png");
int tati = LoadGraph("image/tati.png");
int Backk = LoadGraph("image/Back.png");
int Cu = LoadGraph("image/CU.png");
int NECO = LoadGraph("image/NEKO.png");
int NEKO = LoadGraph("image/NECO.png");
int TextWinX=WIDTH/3;
int TextWinY=HEIGHT/3;
int Tes[4] ={
LoadGraph("image/1.png"),
LoadGraph("image/2.png"),
LoadGraph("image/3.png"),
LoadGraph("image/4.png")};
//下歩き
int WalkD[4] = {
LoadGraph("image/WalkD1.png"),
LoadGraph("image/WalkD2.png"),
LoadGraph("image/WalkD0.png")
};
//上歩き
int WalkU[4]
= {
LoadGraph("image/WalkU1.png"),
LoadGraph("image/WalkU2.png"),
LoadGraph("image/WalkU0.png")
};
//右歩き
int WalkR[4] = {
LoadGraph("image/WalkR1.png"),
LoadGraph("image/WalkR2.png"),
LoadGraph("image/WalkR0.png")
};
//左歩き
int WalkL[4] = {
LoadGraph("image/WalkL1.png"),
LoadGraph("image/WalkL2.png"),
LoadGraph("image/WalkL0.png")
};
//歩行停止時の配列は…3番目に入っとると思うが…うーん
while (1)
{
ClearDrawScreen();
switch (scene)
{
case TITLE:
//今後の方針
//とりあえずタイトルじゃな絵を描け
timer++;
DrawGraph(0, 0, Backk, FALSE);
DrawGraph(WIDTH-1000, 0, H, TRUE);
DrawGraph(-100, 0, S, TRUE);
SetFontSize(50);
DrawString(WIDTH/2/2, HEIGHT / 3, "サキュバスvs少女ちゃん", 0xffffff);
if (timer%60<30)
{
SetFontSize(50);
DrawString(WIDTH/2/2, HEIGHT-500, "SPACE START", 0xffff00);
}
if (CheckHitKey(KEY_INPUT_SPACE) == 1)
{
scene = PLAY;
}
break;
case PLAY://選択状態じゃな
// カーソル…うーむ
//決定ボタンとコマンドじゃな"はい"と"いいえ"選択肢とあと…んー
//テキストの表示欄と…
// 一文字一文字表示させる奴を…
// あ、あと催眠深度みたいなのを作らんか!?
// くらいかの
{
DrawBox(30, TextWinY+50, WIDTH-800, HEIGHT-430,GetColor(25,110,20),TRUE);
DrawGraph(0,0,Cu,TRUE);
SetFontSize(30);
DrawFormatString(Hai-140,HEIGHT/5, 0xff00bf, "…とりあえず催眠奴隷になってください");
DrawFormatString(Hai, HEIGHT / 3, 0x00ffff, "Sキーで決定");
DrawFormatString(Iie+10, Cy, 0xffffff, "いいえ");
DrawFormatString(Hai+10,Cy, 0xff00bf, "はい");
//選択肢欄
//うーむ出来ればテキスト欄の中に収めたいのう
}
if (CheckHitKey(KEY_INPUT_RIGHT) == 1)
{
Cx = Cx + 10000;
if (Cx > Iie)Cx = Iie;
}
if (CheckHitKey(KEY_INPUT_LEFT) == 1)
{
Cx = Cx - 10000;
if (Cx < Hai)Cx = Hai;
}
DrawCircle(Cx, Cy, kR, 0xff0000, TRUE);
//催淫度とゲームクリア
if (CheckHitKey(KEY_INPUT_S) == 1)
{
if (Cx < Hai+20)scene = READ;
else if (scene = OVER);
}
break;
case OVER:
SetFontSize(40);
DrawGraph(0, 0, NECO, FALSE);
DrawFormatString(WIDTH / 4, HEIGHT / 4, 0xff00ff, "…断れませんでした");
SetFontSize(50);
DrawFormatString(WIDTH / 4, HEIGHT / 2, 0xff00ff, "…Cキーでタイトル");
if (CheckHitKey(KEY_INPUT_C) == 1)
{
scene = TITLE;
}
break;
case READ:
EP = 10;
SetFontSize(40);
DrawGraph(0, 0, NEKO, TRUE);
DrawFormatString(WIDTH / 5, HEIGHT / 2, 0xff00ff, "GAME OVER");
DrawFormatString(WIDTH / 5, HEIGHT / 4, 0x00ffff, "えっちシーンなしだぜ…", EP);
DrawFormatString(WIDTH / 5, HEIGHT / 3, 0x00ffff, "タイトル…Cキー", EP);
if (CheckHitKey(KEY_INPUT_C) == 1)
{
scene = DASH;
}
break;
case DASH:
int col1 = GetColor(25, 123, 22);//実験中
int col2 = GetColor(233, 0, 244);
int d = sqrt((kx - xno2) * (kx - xno2) + (ky - yno2) * (ky - yno2));
DrawFormatString(0, 0, col2, "とりあえずそのピンクの球体に突っ込んでください", d);
if (d <= rno1 + rno2)
{
col2 = GetColor(0, 255, 255);
scene = TITLE;
kx = 0;
ky = 0;
}
DrawCircle(xno2, yno2, rno2,col2,TRUE);
if (CheckHitKey(KEY_INPUT_UP) == 1)
ky = ky - kR;
if (ky < 0)ky = 0;//画面端に設定するにゃ?
if (CheckHitKey(KEY_INPUT_DOWN) == 1)
{
ky = ky + kR;
//動きのモーションをたたき込む欄
//DrawGraph(kx,ky,WalkD[timer/4%4],TRUE);
}
if (ky > HEIGHT)ky = HEIGHT;
if (CheckHitKey(KEY_INPUT_LEFT) == 1)
kx = kx - kR;
if (kx < 0)kx = 0;
if (CheckHitKey(KEY_INPUT_RIGHT) == 1)
kx = kx + kR;
if (kx > WIDTH)kx = WIDTH;
DrawGraph(kx-Tix, ky-Tiy,tati,TRUE);
}
ScreenFlip();
WaitTimer(16);
if (ProcessMessage() == -1)break;
if (CheckHitKey(KEY_INPUT_ESCAPE) == 1)break;
}
DxLib_End();
return 0;
}
…さすがにいや…まだかき込めるのコレ…うーん、
正直C言語から作りたかったけど…
unity使うしかねえじゃああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああん …無限に書き込める、小説家も募集してるのか('ω')…
つっても
絵で伝えないとねぇ( ゚Д゚)
敬具…ん……ナニコレ。そんじゃまた
お気に入りに追加して
更新情報を受け取ろう!
もっと作品を描いてもらえるよう作者を応援しよう!