Add to Favorites    Make Home Page 1989 Online  
 Language Categories  
 Our Services  

Home » C Home » Games and Graphics Home » Micky Mouse Program

A D V E R T I S E M E N T

Search Projects & Source Codes:

Title Micky Mouse Program
Author L. Balachandran
Author Email balachandranbe [at] yahoo.com
Description
Category C » Games and Graphics
Hits 387256
Code Select and Copy the Code
#include #include #include #include void *buf; void firstleft(); void secondleft(); void main() { int gd=DETECT,gm,i=0,x,y,area; initgraph(&gd,&gm,"tc:\bgi");\put your directory contains egavga.bgi rectangle(0,0,getmaxx(),getmaxy()); arc(240,120,40,140,70); ellipse(165,80,10,280,20,20); ellipse(315,80,-100,170,20,20); arc(235,120,163,215,70); arc(245,120,-35,17,70); ellipse(193,178,85,280,40,20); ellipse(283,178,-100,95,40,20); ellipse(238,199,180,0,39,50); ellipse(213,123,44,240,33,40); ellipse(262,123,-60,135,33,40); ellipse(210,123,0,360,13,20);//left eye ellipse(265,123,0,360,13,20);//right eye ellipse(210,133,0,360,10,10);//left eye ball ellipse(265,133,0,360,10,10);//right eye ball ellipse(210,133,0,360,3,3);//left eye ball ellipse(265,133,0,360,3,3);//right eye ball ellipse(238,160,0,360,10,13);//nose arc(240,125,228,312,68);//mouth arc(240,120,230,310,72);//mouth setfillstyle(1,4); floodfill(238,160,15);//nose setfillstyle(1,15); floodfill(210,113,15); floodfill(265,113,15); setfillstyle(1,9); floodfill(210,100,15); setfillstyle(1,1); floodfill(315,80,15); moveto(203,220); lineto(203,260); lineto(183,260); lineto(183,350); lineto(293,350); lineto(293,260); lineto(273,260); lineto(273,220); moveto(183,350); lineto(173,460); lineto(213,460); lineto(238,400); lineto(263,460); lineto(303,460); lineto(293,350); moveto(173,460); lineto(143,478); lineto(213,478); lineto(213,460); moveto(263,460); lineto(263,478); lineto(333,478); lineto(303,460); line(238,400,238,350); //right hand moveto(183,260); lineto(113,310); lineto(183,375); moveto(183,280); lineto(137,310); lineto(181,353); setfillstyle(2,13); floodfill(190,300,15); setfillstyle(1,5); floodfill(223,400,15); setfillstyle(1,5); floodfill(253,400,15); setfillstyle(1,6); floodfill(173,470,15); floodfill(303,470,15); //fingers secondleft(); ellipse(413.5,228,0,180,3.5,3.5); line(420,240,433,240); line(423,247,440,247); line(413,240,410,228); line(417,228,420,240); ellipse(433,243.5,-90,90,3.5,3.5); line(423,254,440,254); ellipse(440,250.5,-90,90,3.5,3.5); ellipse(430,257,-90,90,3,3); line(413,260,430,260); area=imagesize(409,224,444,261); buf=malloc(area); getimage(409,224,444,261,buf); while(!kbhit()) { if(i==0) { setfillstyle(1,15); setcolor(15); ellipse(210,133,0,360,10,10);//left eye ball ellipse(265,133,0,360,10,10);//right eye ball setcolor(0); ellipse(210,133,0,360,3,3);//left eye ball ellipse(265,133,0,360,3,3);//right eye ball floodfill(210,133,15); floodfill(265,133,15); setcolor(0); putimage(391,209,buf,1); firstleft(); setcolor(15); secondleft(); putimage(409,224,buf,0); i=1; } else { setfillstyle(1,0); setcolor(0); ellipse(210,133,0,360,10,10);//left eye ball ellipse(265,133,0,360,10,10);//right eye ball floodfill(210,133,0); floodfill(265,133,0); setcolor(15); ellipse(210,133,0,360,3,3);//left eye ball ellipse(265,133,0,360,3,3);//right eye ball floodfill(210,133,15); floodfill(265,133,15); setcolor(0); putimage(409,224,buf,1); secondleft(); setcolor(15); firstleft(); putimage(391,209,buf,0); i=0; } delay(300); } getch(); } void firstleft() { moveto(293,260); lineto(353,276); lineto(395,223); moveto(293,280); lineto(355,296); lineto(395,245); } void secondleft() { moveto(293,260); lineto(363,280); lineto(413,240); moveto(293,280); lineto(363,300); lineto(413,260); }

Related Source Codes

Script Name Author
The Game Opposite as seen on Nokia 2300 Mobile Manikanta
RECURSIVE BALANCED QUICK SORT ashish
Radix Sort ashish
Change your mouse pointer Ashim
The blinking star Shashank
Data Validation Crylittlebaby
To search a file by giving file type like mp3 or mpeg or doc Prashanth SR
Menus Demonstration B.Chidhambaram
Employee Database Project Using C. Reenku Raman Nayak
Creating a Lexical Analyzer in c fahad bader al-buhairi �դ ?�� ��??���
Calendar Program Omkar & Devendra
Stop double Process for start in C Cedrik Jurak
Stop double Process for start in C Cedrik Jurak
Time Scheduler Atiq Anwar
A timepass game between atmost two players Rahul Roy

A D V E R T I S E M E N T




Google Groups Subscribe to SourceCodesWorld - Techies Talk
Email:

Free eBook - Interview Questions: Get over 1,000 Interview Questions in an eBook for free when you join JobsAssist. Just click on the button below to join JobsAssist and you will immediately receive the Free eBook with thousands of Interview Questions in an ebook when you join.

New! Click here to Add your Code!


ASP Home | C Home | C++ Home | COBOL Home | Java Home | Pascal Home
Source Codes Home Page

 Advertisements  

Google Search

Google

Source Codes World.com is a part of Vyom Network.

Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Interview Questions | Jobs, Discussions | Placement Papers | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | Arabic, French, German | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Software Testing | Google Logo Maker | Freshers Jobs

Sitemap | Privacy Policy | Terms and Conditions | Important Websites
Copyright ©2003-2024 SourceCodesWorld.com, All Rights Reserved.
Page URL: http://www.sourcecodesworld.com/source/show.asp?ScriptID=451


Download Yahoo Messenger | Placement Papers | Free SMS | C Interview Questions | C++ Interview Questions | Quick2Host Review