永发信息网

易语言如何写无色夜视源码???

答案:1  悬赏:70  手机版
解决时间 2021-05-11 02:58
  • 提问者网友:放下
  • 2021-05-10 12:21
CF何CS怎么写无色夜视的源码,把游戏画面像夜视仪一样变颜色?????
最佳答案
  • 五星知识达人网友:玩家
  • 2021-05-10 13:26
速度和 接板 长度不能改

所以比较难玩


#include "graphics.h"
#include "stdio.h"
#include "conio.h"

int on;
static int score;




int open()
{
setviewport(100,100,500,380,1);
setcolor(4);
rectangle(0,0,399,279);
setfillstyle(SOLID_FILL,7);
floodfill(50,50,4);
setcolor(8);
settextstyle(0,0,9);
outtextxy(90,80,"BALL");
settextstyle(0,0,1);
outtextxy(110,180,"version 1.0");
outtextxy(110,190,"made by ddt");
setcolor(128);
settextstyle(0,0,1);
outtextxy(120,240,"Press any key to continue......");
}


int quitwindow()
{
char s[100];
setviewport(100,150,540,420,1);
setcolor(YELLOW);
rectangle(0,0,439,279);
setfillstyle(SOLID_FILL,7);
floodfill(50,50,14);
setcolor(12);
settextstyle(0,0,8);
outtextxy(120,80,"End");
settextstyle(0,0,2);
outtextxy(120,200,"quit? Y/N");
sprintf(s,"Your score is:%d",score);
outtextxy(120,180,s);
on=1;
}


main()
{
int gdriver,gmode;
gdriver=DETECT;
gmode=0;
registerbgidriver(EGAVGA_driver);
initgraph(&gdriver,&gmode,"");
setbkcolor(14);
open();
getch();

while(1)
{
int driver,mode,l=320,t=400,r,a,b,dl=5,n,x=200,y=400,r1=10,dx=-2,dy=-2;/*初始化小球相
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯