p oker 2016

Recently Searched

movies related to animals in HindiThe liar and his lover subtitle indonesiakid naruto vs kid sasuke full fight AMV disturbed - hellমোবাইল থেকে tv চালানkandan ji saj todayまぐにぃjodha akbar 320za ba nan gadegammeghbalika full natokحفله عرسUltramanJadau hondae asar laal pari daCuando Me Enamoro cap 73kid naruto vs kid sasuke Full fight AMV hellHeadshotcontra viento y marea cap 102Heritage singers - can you reach my friendHow do you heal sores on penisjodha akbor 326حفله خفاييهPk Saraike Film KamleeThe liar and his lover engsubpaWwe last monday night raw matches vidshefurendu movie comedy scenespelicula los jefesPk Saraike Film Kamlee Raniya Malikla fea mas bella capitulo 236BOJHPURI LOVEMAKING SCENEヒカキンマインクラフトHow to set up a makeup and hair studiocid Azaadi Ki Jung full hd episodesحفله في امحمره/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package graficacion; import javax.swing.*; import com.jogamp.opengl.GL2; import com.jogamp.opengl.GLAutoDrawable; import com.jogamp.opengl.GLEventListener; import com.jogamp.opengl.awt.GLCanvas; import com.jogamp.opengl.glu.GLU; import com.jogamp.opengl.util.Animator; import com.jogamp.opengl.util.gl2.GLUT; import java.awt.Frame; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; /** * @author Brenda Trejo Guerrero * Dalia Villeda Lira * Juan Francisco Ramirez Gonzalez * * @grupo 1703 * * @Fecha 09-dic-2016 * * @Materia Graficacion por computadora */ public class Juego implements GLEventListener, KeyListener { GL2 gl; GLU glu; GLUT glut; static int incx, incy, velocidad, cont,puntuacion; static boolean sube, derecha, corre; public static void main(String[] args) { Frame frame = new Frame("Juego.java"); GLCanvas canvas = new GLCanvas(); canvas.addGLEventListener(new Juego()); canvas.addKeyListener(new Juego()); frame.add(canvas); frame.setSize(640, 480); JOptionPane.showMessageDialog(null,"El objetivo es NO chocar con las paredes,los movimientos son con las flechas(ARRIBA,ABAJO,IZQUIERDA O DERECHA).\n Cada movimiento Te da un punto"); JOptionPane.showMessageDialog(null,"Para comenzar a jugar bebes dar click izquierdo y apretar C!!!"); final Animator animator = new Animator(canvas); frame.addWindowListener(new WindowAdapter() { @Override public void windowClosing(WindowEvent e) { new Thread(new Runnable() { @Override public void run() { animator.stop(); System.exit(0); } }).start(); } }); // Center frame frame.setLocationRelativeTo(null); frame.setVisible(true); animator.start(); } @Override public void init(GLAutoDrawable glad) { gl = glad.getGL().getGL2(); glu = new GLU(); glut=new GLUT(); incx=incy=1; sube = true; derecha = true; corre = false; velocidad = 300; cont = 0; puntuacion=1; gl.glClearColor(0.0f,0.0f,0.0f,0.0f); gl.glMatrixMode(GL2.GL_PROJECTION); gl.glLoadIdentity(); glu.gluOrtho2D(0, 20, 0, 20); gl.glMatrixMode(GL2.GL_MODELVIEW); gl.glLoadIdentity(); } @Override public void dispose(GLAutoDrawable glad) { } @Override public void display(GLAutoDrawable glad) { gl.glClear(GL2.GL_COLOR_BUFFER_BIT); gl.glBegin(GL2.GL_QUADS); gl.glVertex2i(incx,incy); gl.glVertex2i(1+incx,incy); gl.glVertex2i(1+incx,1+incy); gl.glVertex2i(incx,1+incy); gl.glEnd(); if (corre) { if (derecha) { incx++; } else { incx--; } if(sube) { incy++; } else { incy--; } cont++; } if(cont>30) { cont=0; velocidad /= 2; } if (incx == -20 || incx == 20 || incy == -20 || incy == 20) { corre = false; gl.glRasterPos2i(0, 0); gl.glColor3d(Math.random(), Math.random(), Math.random()); glut.glutBitmapString(GLUT.BITMAP_HELVETICA_18 , "Perdiste!!!!\nTu puntuacion: "+puntuacion); } try { Thread.sleep(velocidad); } catch(InterruptedException ex){ System.out.println(ex.toString()); } gl.glFlush(); } @Override public void reshape(GLAutoDrawable glad, int i, int i1, int i2, int i3) { } @Override public void keyTyped(KeyEvent e) { } @Override public void keyPressed(KeyEvent e) { switch(e.getKeyCode()) { case KeyEvent.VK_DOWN: sube = false; puntuacion++; break; case KeyEvent.VK_UP: sube = true; puntuacion++; break; case KeyEvent.VK_RIGHT: derecha = true; puntuacion++; break; case KeyEvent.VK_LEFT: derecha = false; puntuacion++; break; case KeyEvent.VK_C: corre = true; puntuacion=1; velocidad = 300; cont = 0; break; } } @Override public void keyReleased(KeyEvent e)rowdy no 1toori no 1rubab sargam 2pokemon ash vs champion diantha amvAlia bhatt funny
Natok24.Com is a Video search engine and does not upload or host any files on it's server. All the contents are provided here via Youtube Api v3 from Youtube. If you are a valid owner of any content listed here & want to remove it contact to YOUTUBE or You can send us an DMCA formatted takedown notice at [email protected] . We will remove your content as soon as possible.