Sapotech
This page is for all those people who are keen to learn about the web. this page helps you guys to l
16/01/2017
Yes I'm Learning Hacking..
finally ti youtubers haru le hami samu ghuda teknai paryo. how dare they talk like that to our flag........
jay nepal
14/12/2015
http://theyouthjob.com/?ref=203742
TheYouthJob.com - Earn from Your Home & Office, Earning website for Students, Job-less people
jaba nepali janatalai yetika barsa paxi khusi mileko aawastha ma hamro sambhidhan lai sansodhan gari paau bhaner saat budhe sahamati ko maag garne tyo india ko?
ke india le hamilai aafno pranta ko rupma samhjeko? hami nepali le ajha samma jhuker baseko xaina ra aaja pani hami sir jhukaune kam gardainau. nakabandhi taile k lauxass hami ta dhotiharu lai naka bandhi laauxau.
back off india
Thanks to all leaders for constitution of nepal .....
hello sapotech viewers!!
witam widzowie sapotech . przepraszam za późną postu . napisz do mnie na [email protected] żadnych querries .........
sorry guyz for late entry.......
एउटा खेल खेलैं है
lets write toilet ma at the end of every film name and see whose one will be the most unique
let me start first.................
humpty sharma ki dulhania toilet ma
guyz i made a snake game on python2 using pygame. please rate my work. its under progress...........
import pygame
import time
import random
pygame.init()
white = (255,255,255)
black = (0,0,0)
red = (255,0,0)
green = (0,155,0)
display_width = 700
display_height = 500
window size
gameDisplay = pygame.display.set_mode((display_width,display_height))
pygame.display.set_caption('sapo tech')
update
pygame.display.update()
timer event
clock = pygame.time.Clock()
block size
block_size = 20
FPS = 10
font = pygame.font.SysFont(None , 25)
def message_to_screen(msg,color):
screen_text = font.render(msg, True , color)
gameDisplay.blit(screen_text, [display_width/2, display_height/2])
def gameLoop():
gameExit = False
gameOver = False
lead_x = display_width/2
lead_y = display_height/2
lead_x_change = 0
lead_y_change = 0
randAppleX = round (random.randrange(0, display_width-block_size)/10.0)*10.0
randAppleY = round (random.randrange(0, display_height-block_size)/10.0)*10.0
loop when gameExit is true
while not gameExit:
while gameOver == True:
gameDisplay.fill(white)
message_to_screen("Game Over, press c to play again and q to quit", red)
pygame.display.update()
for event in pygame.event.get():
if event.type == pygame.KEYDOWN:
if event.key == pygame.K_q:
gameExit = True
gameOver = False
if event.key == pygame.K_c:
gameLoop()
for event in pygame.event.get():
if event.type == pygame.QUIT:
gameExit = True
if event.type == pygame.KEYDOWN:
if event.key == pygame.K_LEFT:
lead_x_change = -block_size
lead_y_change = 0
elif event.key == pygame.K_RIGHT:
lead_x_change = block_size
lead_y_change = 0
elif event.key == pygame.K_UP:
lead_y_change = -block_size
lead_x_change = 0
elif event.key == pygame.K_DOWN:
lead_y_change = block_size
lead_x_change = 0
if lead_x >= display_width or lead_x < 0 or lead_y >= display_height or lead_y < 0:
gameOver = True
moving only when key pressed
event.type == pygame.KEYUP:
event.key == pygame.K_LEFT or event.key == pygame.K_RIGHT:
= 0
lead_x += lead_x_change
lead_y += lead_y_change
window white
gameDisplay.fill(white)
pygame.draw.rect(gameDisplay, red,[randAppleX, randAppleY,block_size,block_size])
pygame.draw.rect(gameDisplay, green,[lead_x,lead_y,block_size,block_size])
pygame.display.update()
per second to move an obj
if lead_x == randAppleX and lead_y == randAppleY:
randAppleX = round (random.randrange(0, display_width-block_size)/10.0)*10.0
randAppleY = round (random.randrange(0, display_height-block_size)/10.0)*10.0
clock.tick(FPS)
pygame.quit()
quit()
gameLoop()
14/07/2015
any kind of certificate ...........
14/07/2015
hy guyz this is my new animie for complete begineers using adobe photoshop cs2.
this is a awesome game i made in c++ programming
on description about this game it is a car game in c++ programming languagr try it out. i have given the source code to you.
void enemycar(int x, int y)
{
setcolor(15);
rectangle(x+1,y,x+49,y+100);
rectangle(x+1,y+25,x+49,y+75);
setfillstyle( SOLID_FILL,YELLOW);
floodfill((x+x+50)/2,(y+y+100)/2,15);
setfillstyle(1,YELLOW);
floodfill((x+x+50)/2,(y+y+40)/2,15);
floodfill((x+x+50)/2,(y+y+160)/2,15);
}
void mycar(int x, int y)
{
setcolor(15);
rectangle(x+1,y,x+49,y+100);
rectangle(x+1,y+25,x+49,y+75);
setfillstyle(5,RED);
floodfill((x+x+50)/2,(y+y+100)/2,15);
setfillstyle(2,BLUE);
floodfill((x+x+50)/2,(y+y+40)/2,15);
floodfill((x+x+50)/2,(y+y+160)/2,15);
}
void myclear(int x,int y)
{
setcolor(8);
rectangle(x+1,y,x+49,y+100);
rectangle(x+1,y+25,x+49,y+75);
setfillstyle(SOLID_FILL,8);
floodfill((x+x+50)/2,(y+y+100)/2,8);
floodfill((x+x+50)/2,(y+y+40)/2,8);
floodfill((x+x+50)/2,(y+y+160)/2,8);
}
void enemyclear(int x,int y)
{
setcolor(8);
rectangle(x+1,y,x+49,y+100);
rectangle(x+1,y+25,x+49,y+75);
// line(x+1,y,x+1,y+100);
// delay(500);
}
void main()
{
int gdriver = DETECT,gmode;
initgraph(&gdriver,&gmode,"C:\\Turboc3\\BGI");
int x=300,y=350,ch,life=3,score=0;
char choice;
cout
guyz this is a program written in c language that makes a car and moves. so here is the code enjoy.........
main()
{
int i, j = 0, gd = DETECT, gm;
initgraph(&gd,&gm,"C:\\TC\\BGI");
settextstyle(DEFAULT_FONT,HORIZ_DIR,2);
outtextxy(25,240,"Press any key to view the moving car");
getch();
setviewport(0,0,639,440,1);
for( i = 0 ; i
Kliknij tutaj, aby odebrać Sponsorowane Ogłoszenie.
Kategoria
Skontaktuj się z firmę
Strona Internetowa
Adres
Poznan
Poznan