Sallie resalaron, ab chunautee lo !! daunalod karen aur android par palatable abase tej resign gem khelen !!!
khel ke prakaar:
mishan: charm kinvadantiyon Karo ke saath khelate hain:
aapake dvaara draiv karane aur charam star tak seema se pare dhakelane ke lie 100 se adhik mishan aur ovar eksatreem haee-paraphormens kaaren hain. duniya ke sheersh draving virodhiyon ko chunauti dene aur daud jeetne ke lie.
multiplayer: traiks par sarvashreshth virodhee
malteepleyar seezan ank mein skor karane aur seemit samay mein puraskaar analok karane ke lie sarvashreshth khilaadiyon ke saath res karane ke lie hai. nakad jeetane ke lie peeveepee resing mod khelen.
aashchary ke saath ghatanaen:
har saptaah vishesh sports kaar ka bloo print jeetane ke lie apane pratidvandvee ke saath pratyek ghatana aur daud ko analok karen.
kairiyar mod: graand kainyan par koee seema nahin ke saath sadakon ko jalaen.
4 charam stormee seezan mein aapaka svaagat hai aur kairiyar mod aur peeveepee gem khelane mein 100 se adhik ghatanaon ko dekhen, sabase anubhavee kaar resars ke saath uthaane ke lie bahut saaree chunautiyaan.
kastamaiz karen aur apanee kaaron ko apagred karen, haalaanki aap adbhut supar stail parivartan ke saath aur traik par apana sarvashreshth dekhana chaahate hain.
jeesee resing: graind kaar resing visheshataen:
• charam phree resing gem chaimpiyanaship
• tarbo speed kaaron kee vaid renj
• romaanchakaaree supar phaast resing anubhav
• adbhut graind kainiyan vishayon aur prabhaavon ke saath echadee graaphiks
• uchch gunavatta vaale injan lagata hai ki aap drshy mahasoos karate hain
• anukoolit aur khelane ke lie adbhut kaaren
• yathaarthavaadee resing saahasik
• 100+ mishan ko poora karane ke lie
• peeveepee chunauteepoorn mod
• sabase achchha resing gem simuleshan mein se ek
• chikanee kaar draiving simuleshan visheshataen
A 2D car racing game in C using openGL interface, basic graphic functions.
Using various basic graphics functions to establish our goal to implement a visually appealing, single player simple 2D game, a car racing game, developed using openGL. In this game, there is a car and which moves forward in a road using up arrow key. The sides of the road on which the car is moving can be changed using keyboard side arrow keys and its speed can be decreased using down arrow key. The score keeps on increasing till the car moves forward. When the car encounters other obstacles present in the road, the game ends. At the end the score is displayed.
This graphics is developed as a model which shows how to combine color, lighting effects, transformations of an object, viewing, increasing and decreasing the objects in real time with OpenGL.
The methodology of this project includes all the user defined functions used in the code for creating the vehicles and movement of these vehicles. These are:
This function has three arguments which are score stored in an array, x co-ordinate position and y co-ordinate position where the function should be displayed. It displays the text for score using glRasterPos2f( xpos , ypos) function.
This function draws a black colored rectangle of 200×500 dimension which displays the road. The road contains the dividers, the racing car and opponent cars.
This function when called draws 10 white colored 10×36 rectangles using translation at the middle of road which represents the divider of road.
This function is used to draw the vehicle which has four parts : tires, middle body , upper body and lower body. Tires are the points and the body parts are quadrilaterals of different shapes and sizes. The middle body is 50×40 while upper and lower body are trapezium of (46,38)x20.
This function draws the opponent vehicles and detects the collision. The opponent vehicle has same appearance as the racing car only differs in color. It detects the collision when racing car and opponent vehicle has same x co-ordinate (horizontal colliding) . At the same time when racing car collides opponent vehicles from behind or when opponent vehicle collides with the racing car. If the collision is not detected then more opponent cars are drawn otherwise collision value is returned true.
This function returns the position for the opponent vehicles which is random.
This function is used to enable navigation keys for movement of car. The left and right keys are used for left and right movement of the car respectively. While up and down navigation keys are used for the acceleration and deceleration of the racing car respectively.
This is the main display function where all the other functions are called. The score value is increased by one until the car has not collided. If the collision has return value true then exit status is returned.
Basically it is based on the logic that the y co-ordinates of opponent cars are decreased constantly and we can change the x co-ordinate of racing car using left and right navigation keys.
The acceleration of the racing car is shown by moving the dividers backward (decreasing y co-ordinates) constantly. Similarly, deceleration of the car is shown by constantly moving the dividers in positive y direction.
The left and right movement of car is achieved using specialKey() function. When left key is pressed then the x co-ordinate of car changes to 200 i.e left of divider and when right key is pressed then the x co-ordinate of car changes to 300 i.e right of divider.
The movement of the cars is shown by changing the y co-ordinates of dividers constantly which is achieved using glutPostReDisplay and gutIdleFunc. The game is over when any type of collision occurs.
yadi aap jeesee resing se pyaar karate hain: grand Car resing, krpaya hamen apanee pratikriya neeche den!