C ʹͼο⣨Easy X*漰

ʱ:2021-12-07 16:01:01

Easy X ͼο
Easy X

EasyX C++ ͼο⣬԰ C++Գѧ߿ͼκϷ̡


磬 VC + EasyX ܿüͼλһӣһƶСԱд˹顢̰ߡڰСϷ*ͼѧĸ㷨ȵȡ


ؼװʽ

ٶ Easy X ҵ
ַhttps://easyx.cn/
غװڱֱʹ


ʹ÷ʽ

غͬʱͬʱװEasyX_Help
ʵһЩһЩܶҵӦʹ÷ʽ
ϸĺʹý⼰˵

Բοʾѧ*ĺʹ÷ʽ


*

ȷһͼ~


ʵֽҪʽͼַ


ͼ

ʵֵĶӦ룺


IMAGE img;
initgraph(55*9,55*9);//ƴ
loadimage(&img,"9.jpg");
putimage(0,0,&img);
closegraph();//رմ
return 0;

ͷļ
#include //ͼοļ
ͼƬ
IMAGE img;
Ȼһ
initgraph(559,559);//ƴ
ͼƬ
loadimage(&img,9.jpg);
loadimage&壬ͼƬ
ͼƵĴڣλ00λ
putimage(0,0,&img);
putimagex,y,&壩


ͼ~


ַ

ķʾ
ʵֵĶӦ룺


void drawscore(int score)//Ʒ
{
char str[100];
sprintf(str,"Ŀǰ÷֣%d",score);
outtextxy(0,0,str);
}

void drawlevel(int level)//ƹؿ
{
char str[10];
sprintf(str,"%d",level+1);
outtextxy(0,20,str);
}

ֵַ
char str[100];
ת
ʹouttextxyַҪʹsprintfת
sprintf(str,Ŀǰ÷֣%d,score);
ı
outtextxy(0,0,str);



ʵֵĶӦ룺


# pragma comment (lib, "Winmm.lib")//Winmm.lib

PlaySound("Troye Sivan - YOUTH.wav", NULL, SND_FILENAME | SND_ASYNC|SND_LOOP);//ѭ

ͷļ pragma comment (lib, Winmm.lib) //Winmm.lib
ѭ PlaySound(.wav, NULL, SND_FILENAME | SND_ASYNC|SND_LOOP);//ѭ
ֻʹwavʽʹøʽиʽת~

ĵ

  • ε
  • չջܽ
  • ӵС˵̸̸δ01һtoBƷ
  • ˿Ԫף
  • Сתܽ2020
  • Spring AOP ʵֲ֤
  • Ӿʮ󾫲ʹۺӰ
  • Աڹܽ᷶ľѡ5ƪ
  • Unity3D ϷԴȡ
  • ĸlinuxide豸_Linuxƪѧϰ??Ƽһβ⣨һ...
  • ҵŵڶȹܽ600
  • ArcScene򵥵άģ
  • ʮֳ˸Ψ
  • Ԫ˼Ľ̰
  • Ӳ̹ϵԭ
  • ѧоҪʲô
  • ʮֵ
  • ԲԲ
  • йµ
  • ȵʦ
  • 2016꿪ѧһιۺ500ַ6ƪ
  • 㻨У԰꼶
  • յ
  • ξżϻôôȷĸҵ
  • ˳ɹ־¼
  • JAVA ʵ
  • ೤ʱ
  • gitϴ
  • ϲҹĶʲô
  • ôζը˸
  • ϲ

  • γΪһԱѵи.doc
  • ˾Աʵϰ㷶
  • ˳ѧݡص㼰ѧĸо
  • ϸ֧װԷ׵ٴ
  • ΢źôѯ
  • չܽ3ƪ
  • ʹrangerkafkaмȨ
  • ˹պϲУƽȽ
  • ΪУͬѧȫУĽ
  • 2019ѡ꼶ֽ̰ ˼ССҪؼ.doc
  • ˽̰Сѧѧ꼶²ᡶ˷㶨ɡμ
  • 36ڽ鵥
  • 2020ѧУйžxxꡱܽ
  • ƸXX˾гݽ뾺ƸҵӪ˵ϻ
  • ʯóϢ޹˾ҵϢ-۲
  • νӡìܾ͵ǼDZ
  • ¼
  • ϧ700 г
  • Ʒ꼶ѧ²3.4ţٵһ2ͬ°̰
  • 龰ģѧؿеӦ
  • ʱ㹫ʽ
  • ըȫ
  • Ķѧʲо
  • Ӣ20152016ѧȵڶѧа꼶ӢԾ
  • 2018-2019ҩڶʵϰ淶-word (2ҳ)
  • java.sql.SQLException: Before start of result set쳣취
  • 꼶뷨²Ԫ񵱼ҹƶȵ1ľƶȿμ˽̰
  • 2017Կר屾Ӣ⼰
  • ƶȾѧ빫˾۱Ƚ
  • ʦ꼶ϲᡶϵİٺϻ̰(Ʒ)
  • ߶ῼ֪ʶ3
  • 2019-2020ѧ꼶ϲ 5Ԫ 2 1 ˶ѧ2 (°)˽̰
  • Сݵĵ̰1 ˽̰
  • 󾩶¶ˮĤʺʲôʣзʿú󾩶¶ˮĤ
  • 2019-2020꼶ѧʷ(II)
  • ר102еЧ()-2016пһָ*
  • кӲ޹˾ҵϢ-۲
  • ôѿ
  • ǵС
  • EGP&ESPԸְӢʦרҵչҪ
  • ʡѧӢ Unit3 Tomorrow's world Readingμ1 ţְ4
  • ԰