ひろひろの生活日記(LIFE Of HIROHIRO)

パソコン講習とソフト開発をしています。自作小説も掲載しています。ネット情報発信基地(上野博隆)Hirotaka Ueno

(Yuya's adventure)0112_Those with demon blood⑫→0113⑬

2021年12月22日 18時38分30秒 | Yuya's adventure.(Original novel)

(Yuya's adventure)0112_Those with demon blood⑫→0113⑬

--Those with demon blood(012)--
--- Poisoned curry (3) ---

Yuya took a seat in the dining room.
Place the curry rice on the table.
He sits slowly.
It is a familiar landscape.
He eats a bite of curry rice.
(The taste is ok)
He ate a bite, two bites ... half.
He goes away from consciousness.
(No, I feel dizzy.)
(But if you don't eat to the end, you shouldn't make the food poor)
He thought.
He tries to eat another bite.
(It impossible) 
Yuya staggers and stands up,
He abandoned his curry rice and put his tableware in place.
And he left the dining room.
(Uh. I feel nauseous)
He went to the restroom. 
He entered the toilet in a private room with the larger one.
"Batan"
His body obediently refused curry.
Yuya supported his body with both hands on the edge of the toilet bowl.
Curry rice comes out of his throat apart from the pain. 

--- Poisoned curry (4) ---
Yuya spit out what he ate into the toilet bowl.
"Oee Oee Oee"
(I wonder if it hit something)
After spitting everything, he staggered back to his department.
(I'm getting feverish, but it's better than before) 

In Yuya's body, the blood of the demons was fighting poison.
The blood of the demons does not mean that Yuya's blood has really changed.
However, is Yuya's blood a fairy or a god?
Do you say that something like that got on board?
Did he have magical power? In short, the blood of the demons dwelled and had supernatural resistance. 

It is also the guardian of the Buddha.
However, he has a fever and feels sick.
Yuya desperately tried to think with a head that couldn't keep calm.
He had work left to do.
However, Yuya himself knew well that he couldn't do that.
(Not a normal abdominal pain.
The problem is that my head sways rather than my stomach)
(it can not be helped)
Yuya decided. 
He decided to leave work early.
"Chief. I'm feeling sick, so I'm going home."
"Be careful and go home"
The chief accepted it obediently.
He seemed to know something and mourned Yuya.
(He seems to have a strange religion lately)
Yuya clung to the wall and finally left the company building.
Unfortunately,
He didn't feel like going to the hospital, which should be called poverty. 

--- Poisoned curry (5) ---

Yuya was sitting on the train on his way home, in a hazy consciousness.
(Today, the train is empty.
 Ah. Really.
(Because I left early)
Suddenly he looked in the opposite left corner.
A person in a white coat is sitting.

(He's looking at me.
It looks like I saw it somewhere.
 Ah. An employee of the cafeteria. Wonder.
He must have come to see me worried about me)
Yuya made an effort to smile at him. 

The assassin priest Yar came to see the results.
(He is alive.
He is looking at me.
Why is he smiling.
 Why. He's dying.
Anxiety too. Isn't he feeling scared?
That person is a really normal person.
It is protected rather than saying so)
Yar felt defeated.
He became sad. 

(Who am I trying to kill?
That person is not a devil etc.)
Yar was glad he couldn't kill Yuya. 

to be continued. Next time (Demon's Blood Resident (014) -Terrifying Tee Alley-) 

--魔族の血が宿りし者(012)--
--毒入りカレー(3)--

裕也は、食堂の席に着いた。
カレーライスをテーブルに置く。
ゆっくり座る。
なにげない見慣れた風景である。
彼はカレーライスを一口食べる。
(味は、まぁまぁかなぁ)
彼は、一口、二口、…、半分食べた。
彼は、意識が遠のいていく。
(だめだ、目眩(めまい)がする。)
(でも、最後まで食べないと食べ物を粗末(そまつ)にしてはいけない)
彼は、思った。
もう一口食べようとする。
(無理だ)
裕也は、ふらつきながらも立ち上がり、
カレーライスを捨て、食器を定位置に置いた。
そして、食堂をでた。
(うぅ。吐き気がする)
お手洗いに向かった。
彼は大きい方を出す個室のトイレに入った。
「バタン」
体は、素直にカレーを拒否した。
裕也は、便器の淵に」両手をつき体を支えた。
苦しさとは別に喉(のど)からカレーライスは出ていく。


つづく。
次回(毒入りカレー4)

--毒入りカレー(4)--

裕也は、食べたものを便器に吐いた。
「オエェ オエェ オエェ」
(何かにあたったのかなぁ)
全部吐き終わると、ふらつきながらも自分の部署まで戻った。
(熱が出てる。でも、先よりましになった)
裕也の体の中では、魔族の血が、毒と戦っていた。
魔族の血と言っても、リアルに裕也の血が何か変わったわけではない。
しかし、裕也の血に妖精と言うか、神と言うか。
そのようなものが乗りついたと言うか。
魔力を持ったというか。要は、魔族の血が宿り超自然の抵抗力を持ったのである。

それは、仏様の守護でもある。
しかし、彼は熱が出て気分が悪い。
裕也は、冷静になれない頭で必死に考えようとした。
やり残した仕事があった。
でも、それが出来ないことは、裕也自身よく分かっていた。
(普通の腹痛ではない。
 問題は、お腹と言うより、頭がふらつく)
(しかたない)
裕也は決断した。

彼は、仕事を早退することを決めたのである。
「係長。気分が悪いので帰ります」
「気を付けて帰りなさい」
係長は、素直に受け入れた。
何かを知ってる様子で裕也を哀(あわ)れんだ。
(彼、最近、おかしな宗教をしているらしい)
裕也は、壁にしがみつき、会社のビルをやっとのことで出た。
残念なことに、
彼は、貧乏性と言うべきか病院に行くという気は、少しも浮かばなかった。

つづく。
次回(毒入りカレー5)

--毒入りカレー(5)--

裕也は、もうろうと霞(かす)む意識の中、帰りの電車の中に座っていた。
(今日は、電車がすいてるな。
 あ。そうか。
 早退だからか)
ふと、向かいの左隅を見た。
白衣の人が座っている。
(彼は、私を見てる。
 どっかで見たようなぁ。
 あ。食堂の従業員の人。かな。
 彼は、私を心配して私を見に来たのだろう)
裕也は、微笑んでみせた。

暗殺僧ヤァーは、結果を見届けに来たのだ。
(彼は、生きている。
 私を見ている。
 なんで、微笑んでいるんだ。
 なぜだ。死にかけているんだぞ。
 不安も。恐怖心も感じていないのか。
 あの人は、本当に普通の人だ。
 そう言うより守られている)
ヤァーは、敗北を感じた。
自分が悲しくなった。

(俺は、誰を殺そうとしているんだ。
 あの人は、悪魔などではない)
ヤァーは、裕也を殺せなくて良かったと考えた。

つづく。次回(魔族の血が宿りし者(014)-恐怖のティ路地-)

#Yuya #adventur #YuyaAdoventur #Those_with_demon_blood #English

 

コメント
  • X
  • Facebookでシェアする
  • はてなブックマークに追加する
  • LINEでシェアする

『漫画(下書き)』裕也の冒険002-02

2021年12月22日 12時24分10秒 | イラスト日記

清書したらまた読んでね。

コメント
  • X
  • Facebookでシェアする
  • はてなブックマークに追加する
  • LINEでシェアする

『漫画(下書き)』裕也の冒険002-01

2021年12月22日 11時11分20秒 | イラスト日記

本当に単なる下書きです。教会での食事の場面につづく。

 

コメント
  • X
  • Facebookでシェアする
  • はてなブックマークに追加する
  • LINEでシェアする

道路(起伏)

2021年12月22日 10時29分32秒 | ゲーム開発(Game development)

道路(起伏)

コーディングは、考慮が必要です。

前の単純な起伏の概念を参照ください。

「三角関数を使った坂道…」の記事を参照。

yにサインの値を加算して表現しています。

 

 

function make_course(){
    for(i=0; i <CMAX; i++){
        updown[i] =  parseInt(5*Math.sin(i*(Math.PI/180)));
    }
//Math.sin((180*i)/23*(Math.PI/180));

}

 

    for(i=0; i <BOARD; i++){
        BOARD_W[i] = 10+(BOARD-i)*(BOARD-i)/12;
        BOARD_H[i] = 3.4*(BOARD-i)/BOARD;
        BOARD_UD[i] = 2*Math.sin(i*1.5*(Math.PI/180));
    }

    for(i=0; i <BOARD; i++){
        di += curve[(car_y+i)%CMAX];
        ud += updown[(car_y+i)%CMAX];
        board_x[i] = 400 -BOARD_W[i]/2 + di/2;
        board_ud[i] = ud/30;
    }

    horizon = 400 + parseInt(ud/3);
    sy = horizon;

    vertical = vertical - di*keyup/30;
    if(vertical < 0) vertical += 800;
    if(vertical >= 800) vertical -= 800;

     ctx.fillStyle = "rgb(0, 56, 255)";
     ctx.fillRect(0, 0, WIDTH, HEIGHT);

    ctx.drawImage(img_bg, vertical-800, horizon-400);
    ctx.drawImage(img_bg, vertical, horizon-400);

 

 

   for (i=BOARD-1; i >0; i--){
        ux = board_x[i];
        uy = sy - BOARD_UD[i]*board_ud[i];
        uw = BOARD_W[i];
        sy = sy + BOARD_H[i]*(600-horizon)/200;
        bx = board_x[i-1];
        by = sy - BOARD_UD[i-1]*board_ud[i-1];
        bw = BOARD_W[i-1];
        colr = 160;
        colb = 160;
        colg = 160;
        wkcolor = "#" + colr.toString(16) + colb.toString(16) + colg.toString(16);
        if((car_y+i)%12 === 0){
            wkcolor = "#FFFFFF";
        }

        ctx.beginPath();
        ctx.moveTo(ux,uy);
        ctx.lineTo(ux+uw,uy);
        ctx.lineTo(bx+bw,by);
        ctx.lineTo(bx,by);
//全て座標を指定 

        ctx.closePath();
        ctx.fillStyle = wkcolor;
        ctx.fill();

    }

コメント
  • X
  • Facebookでシェアする
  • はてなブックマークに追加する
  • LINEでシェアする

『漫画(下書き)』不思議なハートの力003-05

2021年12月22日 09時19分21秒 | イラスト日記

顔の表情や動作は変えます。

コメント
  • X
  • Facebookでシェアする
  • はてなブックマークに追加する
  • LINEでシェアする

【3D】グラデーション(円)

2021年12月22日 08時20分45秒 | ゲーム開発(Game development)

            nBright = 255 - parseInt(Math.sqrt(dx * dx + dy * dy)*20) & 0xff;

に変更してみてください。

 

     for( y = 0; y < VIEW_HEIGHT; y++){
        for( x = 0; x < VIEW_WIDTH; x++){
            dx = x - VIEW_WIDTH  / 2.0;
            dy = y - VIEW_HEIGHT / 2.0;

            nBright = parseInt(Math.sqrt(dx * dx + dy * dy)) & 0xff;


            colb = 255;
            wkcolor = "rgb(" + nBright + "," + nBright + "," +  colb + ")";
            ctx.beginPath();
            ctx.lineWidth = 1;
            ctx.moveTo(x,y);
            ctx.lineTo(x+1,y+1);
//全て座標を指定(ドット)

            ctx.strokeStyle = wkcolor;
            ctx.stroke();
          }
       }

コメント
  • X
  • Facebookでシェアする
  • はてなブックマークに追加する
  • LINEでシェアする

『漫画(下書き)』不思議なハートの力003-04

2021年12月22日 08時17分57秒 | イラスト日記

コメント
  • X
  • Facebookでシェアする
  • はてなブックマークに追加する
  • LINEでシェアする