Sapotech

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..

29/03/2016

finally ti youtubers haru le hami samu ghuda teknai paryo. how dare they talk like that to our flag........
jay nepal

24/09/2015

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

16/09/2015

Thanks to all leaders for constitution of nepal .....

04/08/2015

hello sapotech viewers!!
witam widzowie sapotech . przepraszam za późną postu . napisz do mnie na [email protected] żadnych querries .........

27/07/2015

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

16/07/2015

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()

any kind of certificate ...........
14/07/2015

any kind of certificate ...........

hy guyz this is my new animie for complete begineers using adobe photoshop cs2.
14/07/2015

hy guyz this is my new animie for complete begineers using adobe photoshop cs2.

28/06/2015

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

28/06/2015

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

Adres

Poznan
Poznan

Ostrzeżenia

Bądź na bieżąco i daj nam wysłać e-mail, gdy Sapotech umieści wiadomości i promocje. Twój adres e-mail nie zostanie wykorzystany do żadnego innego celu i możesz zrezygnować z subskrypcji w dowolnym momencie.

Skontaktuj Się Z Firmę

Wyślij wiadomość do Sapotech:

Udostępnij