Escolar Documentos
Profissional Documentos
Cultura Documentos
Step 3: Set the color of the text “Press any key to play” into purple and display.
Step 4: Set the color of the text “Programming II” into light green. Change the font
into san serif and display.
Step 5: Set the color of the text “Presented by” into yellow. Change the font into
san serif and display.
Step 6: Set the color of the text “Andales Tiker Jim” into light green. Change the
font into san serif and display.
Step 7: Set the color of the text “Bartolabac Lorenz” into lcyan. Change the font
into san serif and display.
Step 8: Set the color of the text “Cantal Adrian” into red. Change the font into san
serif and display.
Step 9: Set the color of the text “Emnacen Jose Bebe” into pink. Change the font
into san serif and display.
Step 10: Set the first color of the rectangle into yellow.
Step 11: Set the second color of the rectangle into green.
Step 12: Set the third color of the rectangle into blue.
Step 18: Display circle and set a solid fill style inside.
Step 20: Set the color of the “The last dinosaur” into blue. Change the font into
san serif and display.
Step 22: Set the color of the “Meet barney the explorer” into pink. Change the
font into san serif and display.
Step 23: Make a road using lines and set the color into white.
READ
Gd=DETECT,gm;
Initgraph(“\TC\\B
GI”)
Set color(5);
Outtextxy
(245,130);
Set color(10);
Settxtstyle(SANS_SERIF_FONT,HORIZ_DIR,6);
Outtextxy(160,160);
“PROGRAMMING II”
Settextcolor(14);
Settextstyle(SANS_SERIF_FONT,HORIZ_DIR,2);
Outtextxy(245,220);
“PRESENTED BY:”
Setcolor(10);
Settextstyle(SANS_SERIF_FONT,HORIZ_DIR,2);
Outtextxy(240,260);
“ANDALES,TIKER JIM”
Setcolor(11);
Settextstyle(SANS_SERIF_FONT,HORIZ_DIR,2);
Outtextxy(240,280);
“BARTOLABAC,LORENZ”
Setcolor(12);
Settextstyle(SANS_SERIF_FONT,HORIZ_DIR,2);
Outtextxy(240,300);
“CANTAL,ADRIAN”
Setcolor(13);
Settextstyle(SANS_SERIF_FONT,HORIZ_DIR,2);
Outtextxy(240,320);
“EMNACEN,JOSE BEBE”
Setcolor(YELLOW);
(590,150,50,50);
Setcolor(GREEN);
(600,160,60,60);
Setcolor(BLUE);
(620,450,20,20);
“PRINT”
END
READ
Gd=DETECT,gm,i;
int x,y;
initgraph(“\TC\\BGI”);
Read
int a=1,b=1;
i=0
Y
(!kbhit()) i<=200
N
cleardevice();
setfillstyle(solid_fill,14);
circle(350,60,50);
floodfill(350,60,WHITE);
settextstyle(sans_serif_font,horiz_dir,5);
setcolor(9);
outtextxy(200,160);
“THE LAST DINOSAUR”
settextstyle(SANS_SERIF_FONT,HORIZ_DIR,3);
setcolor(13);
outtextxy(250,200);
Setcolor(WHITE);
(0,450.900,450);
(0,315,900,315);
LINE
Setcolor(WHITE);
(30-i,350,200-i,350);
(20-i,380,210-i,380);
(19-i,380,30-i,350);
(200-i,350,210-i,380)
LINE
setcolor(WHITE);
(330-i,350,530-i,350);
(320-i,380,540-i,380);
(320-i,380,330-i,350);
(530-i,350,540-i,380);
LINE
Setcolor(WHITE);
(650-i,350,850-i,350);
(640-i,380,860-i,380);
(640-i,380,650-i,350);
(850-i,350,860-i380);
LINE
Window(50,10,50,20);
“/n”
v
0
delay(50);
Y N
If(b==100) b++;
b=0;
setcolor(WHITE);
solidfillstyle(SOLID_FILL,GREEN);
(0,150,100,75);
(100,75,200,150);
LINE
setcolor(WHITE);
setfillstyle(SOLID_FILL,GREEN);
(175,131,275,75);
(275,75,375,150);
LINE
Setcolor(WHITE);
Setfillstyle(SOLID_FILL,GREEN);
(350,131,450,75);
(450,75,550,150);
LINE
setcolor(WHITE);
Setfillstyle(SOLID_FILL,GREEN);
(525,131,600,75);
(600,75,750,180);
(0,150,750,150);
LINE
floodfill(100,136);
floodfill(275,136);
floodfill(450,136);
floodfill(600,136);
END
AT FIRST ,OUR GROUP STARTED TO PLAN ABOUT WHAT
ARE WE GOING TO DO WITH OUR COMPUTER GRAPHICS.
WE DO BRAIN STORMING UNTIL WE COME UP INTO A
VERY INTERESTING DESIGN.
During our first attempt, Lorenz started to code base on the knowledge or some
strategies that we search in the internet.
As followed, Mr. Zike encoded the data or code that was also found in the internet
and started making changes so that it will come up into unique output in the end. He try
any kind of format for him to have a to run the program.
We started arguing on what are we going to do next , and making a vote on what will be
the final code that are we going to have. I told them that it is better to have a walking
dinosaur than moving car which is very common.
Our dinosour is now hatching ,,,yehey! We smell now the succes of our struggles .
We know that it is not easy ,so that stop on making more complication.
After succesfully run the program I also started making a flowchart, it is not that easy
because I don’t have that enough knowledge to perform this kind of…but I keep on
understanding and asking some question on some part that is defficult to me.
On a piece of paper or shall we say a scratch ,Lorenz started making an algorithm
based on the code and the help of flowchart.
At the next day lorenz incoded his algorithm and made any changes.