elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: (TUTORIAL) Aprende a emular Sentinel Dongle By Yapis


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  .NET (C#, VB.NET, ASP)
| | | |-+  Programación Visual Basic (Moderadores: LeandroA, seba123neo)
| | | | |-+  Ayuda. ping pong
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Ayuda. ping pong  (Leído 3,944 veces)
ninto33

Desconectado Desconectado

Mensajes: 23


Ver Perfil
Ayuda. ping pong
« en: 22 Enero 2010, 13:31 pm »

Hola , estoy haciendo un simple juego de ping pong (soy nuevo en esto) i quisiera saber que debo usar para que cuando toke por ejemplo la a se mueva pa la izquierda y tambien queria saber como hacer que la pelota rebote.
Bueno gracias
chau

urgente!!


En línea

MCKSys Argentina
Moderador Global
***
Desconectado Desconectado

Mensajes: 5.471


Diviértete crackeando, que para eso estamos!


Ver Perfil
Re: Ayuda. ping pong
« Respuesta #1 en: 23 Enero 2010, 04:00 am »

... quisiera saber que debo usar para que cuando toke por ejemplo la a se mueva pa la izquierda y tambien queria saber como hacer que la pelota rebote.

Yo usaría VB + Flash OCX (ActionScript)

Saludos!


En línea

MCKSys Argentina

"Si piensas que algo está bien sólo porque todo el mundo lo cree, no estás pensando."

seba123neo
Moderador
***
Desconectado Desconectado

Mensajes: 3.621



Ver Perfil WWW
Re: Ayuda. ping pong
« Respuesta #2 en: 23 Enero 2010, 18:31 pm »

ninto33 si queres aprender , tambien debes aprender a buscar, mientras mejor sepas buscar, mas vas a aprender...aca tenes miles de codigos de ping pong, estudialos y fijate como hacen...

Ping Pong

saludos.
En línea

ninto33

Desconectado Desconectado

Mensajes: 23


Ver Perfil
Re: Ayuda. ping pong
« Respuesta #3 en: 23 Enero 2010, 23:20 pm »

Private Sub Picture1_Keypress(Keyascii As Integer)
If Text4.Left <= 60 And Keyascii = 97 Then
Text4.Left = Text4.Left
ElseIf Text4.Left > 60 And Keyascii = 97 Then
Text4.Left = Text4.Left - 100
ElseIf Text4.Left = 9360 And Keyascii = 115 Then
Text4.Left = Text4.Left
ElseIf Keyascii = 115 Then
Text4.Left = Text4.Left + 100
Else
Text4.Left = Text4.Left
End If
If Text3.Left <= 60 And Keyascii = 111 Then
Text4.Left = Text3.Left
ElseIf Text3.Left > 60 And Keyascii = 111 Then
Text3.Left = Text3.Left - 100
ElseIf Text3.Left = 9360 And Keyascii = 112 Then
Text3.Left = Text3.Left
ElseIf Keyascii = 112 Then
Text3.Left = Text3.Left + 100
Else
Text3.Left = Text3.Left
End If
If Keyascii = 97 And Keyascii = 111 Then
Text4.Left = Text4.Left - 100
Text3.Left = Text3.Left - 100
ElseIf Keyascii = 97 And Keyascii = 112 Then
Text3.Left = Text3.Left - 100
Text4.Left = Text4.Left + 100
ElseIf Keyascii = 115 And Keyascii = 111 Then
Text4.Left = Text4.Left + 100
Text3.Left = Text3.Left - 100
ElseIf Keyascii = 115 And Keyascii = 112 Then
Text4.Left = Text4.Left + 100
Text3.Left = Text3.Left + 100
Else
Text4.Left = Text4.Left
Text3.Left = Text3.Left
End If
End Sub

aki me salio para que se mueva :P me falta la pelotita alguien puede ayudarme en eso? por lo menos diciendome que puedo utilizar asi averiguo sobre la instruccion
En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
[JUEGO] Pong! XD « 1 2 »
Programación Visual Basic
79137913 18 7,964 Último mensaje 11 Febrero 2011, 12:23 pm
por 79137913
Juego de Ping-Pong hecho en C.
Programación C/C++
NeoB 7 26,404 Último mensaje 8 Julio 2012, 09:05 am
por durasno
PONG Game - Simple Juego "Pong" [VBScript + HTA] (100% Notepad)
Scripting
JohnConnor 0 5,038 Último mensaje 22 Febrero 2013, 19:07 pm
por JohnConnor
Juego del Pong en C
Programación C/C++
almer95 1 2,103 Último mensaje 2 Enero 2015, 14:36 pm
por Yoel Alejandro
ayuda con ping videojuegos
Redes
rachet79 0 1,374 Último mensaje 1 Noviembre 2018, 18:08 pm
por rachet79
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines