Régistrate YA!! QUE ESPERAS!

Cliente 0.13.0 - DX8, Luces, ORE Counter_asd
Régistrate YA!! QUE ESPERAS!

Cliente 0.13.0 - DX8, Luces, ORE Counter_asd
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.



 
ÍndiceÚltimas imágenesRegistrarseConectarse
Bienvenido!! Registra un usuario YA!

Comparte | 
 

 Cliente 0.13.0 - DX8, Luces, ORE

Ver el tema anterior Ver el tema siguiente Ir abajo 
AutorMensaje
KazNack
Sargento
Sargento
KazNack

Mensajes Mensajes : 275

Fecha de inscripción Fecha de inscripción : 08/05/2011


Cliente 0.13.0 - DX8, Luces, ORE Empty
MensajeTema: Cliente 0.13.0 - DX8, Luces, ORE Cliente 0.13.0 - DX8, Luces, ORE I_icon_minitimeDom Jun 05, 2011 7:59 pm

Está muy desordenado, no está bien hecho y solamente fuero implementadas dos cosas locas,
Nota: Este no es mi proyecto, es un cliente virgen que tomé solamente y extraje cosas de AwnilAO y cosas de gszone para que lo tengan

Implementaciones:
-DX8
-Partículas ORE
-Luces Cuadradas/Redondas
-Inventario Gráfico (Actualiza cuando es necesario)
-Conectar en DX8 solamente tiene facha no me gasté en hacer rects ni nada por el estilo, armenlo ustedes.. solamente renderiza capas, 1, 2 y unas boludeces -
-Angle
-Textos con alpha (aparece progresivamente)
-Desvanecimientos en techos

Y unas cosas mas que ni me acuerdo, disfrutenlo

Client

Como arreglarlo:
Borran los subs... Grh_Render y Grh_Render_Advance

Y reemplazan el siguiente sub:

Código:
Private Sub Particle_Render(ByRef temp_particle As Particle, ByVal screen_x As Integer, ByVal screen_y As Integer, _
                            ByVal grh_index As Long, ByRef Rgb_List() As Long, _
                            Optional ByVal alpha_blend As Boolean, Optional ByVal no_move As Boolean, _
                            Optional ByVal x1 As Integer, Optional ByVal y1 As Integer, Optional ByVal angle As Integer, _
                            Optional ByVal vecx1 As Integer, Optional ByVal vecx2 As Integer, _
                            Optional ByVal vecy1 As Integer, Optional ByVal vecy2 As Integer, _
                            Optional ByVal life1 As Integer, Optional ByVal life2 As Integer, _
                            Optional ByVal fric As Integer, Optional ByVal spin_speedL As Single, _
                            Optional ByVal gravity As Boolean, Optional grav_strength As Long, _
                            Optional ByVal bounce_strength As Long, Optional ByVal x2 As Integer, Optional ByVal y2 As Integer, _
                            Optional ByVal XMove As Boolean, Optional ByVal move_x1 As Integer, Optional ByVal move_x2 As Integer, _
                            Optional ByVal move_y1 As Integer, Optional ByVal move_y2 As Integer, Optional ByVal YMove As Boolean, _
                            Optional ByVal spin_speedH As Single, Optional ByVal spin As Boolean, Optional grh_resize As Boolean, _
                            Optional grh_resizex As Integer, Optional grh_resizey As Integer)
'**************************************************************
'Author: Aaron Perkins
'Modified by: Ryan Cain (Onezero)
'Modified by: Juan Martín Sotuyo Dodero
'Last Modify Date: 5/15/2003
'**************************************************************
    If no_move = False Then
        If temp_particle.alive_counter = 0 Then
            'Start new particle
            InitGrh temp_particle.Grh, grh_index, alpha_blend
            temp_particle.X = RandomNumber(x1, x2) - (base_tile_size / 2)
            temp_particle.Y = RandomNumber(y1, y2) - (base_tile_size / 2)
            temp_particle.vector_x = RandomNumber(vecx1, vecx2)
            temp_particle.vector_y = RandomNumber(vecy1, vecy2)
            temp_particle.angle = angle
            temp_particle.alive_counter = RandomNumber(life1, life2)
            temp_particle.friction = fric
        Else
            'Continue old particle
            'Do gravity
            If gravity = True Then
                temp_particle.vector_y = temp_particle.vector_y + grav_strength
                If temp_particle.Y > 0 Then
                    'bounce
                    temp_particle.vector_y = bounce_strength
                End If
            End If
            'Do rotation
            'If spin = True Then temp_particle.Grh.angle = temp_particle.Grh.angle + (RandomNumber(spin_speedL, spin_speedH) / 100)
            If temp_particle.angle >= 360 Then
                temp_particle.angle = 0
            End If
         
            If XMove = True Then temp_particle.vector_x = RandomNumber(move_x1, move_x2)
            If YMove = True Then temp_particle.vector_y = RandomNumber(move_y1, move_y2)
        End If
     
        'Add in vector
        temp_particle.X = temp_particle.X + (temp_particle.vector_x \ temp_particle.friction)
        temp_particle.Y = temp_particle.Y + (temp_particle.vector_y \ temp_particle.friction)
 
        'decrement counter
        temp_particle.alive_counter = temp_particle.alive_counter - 1
    End If
    'Draw it
    If grh_resize = True Then
        If temp_particle.Grh.GrhIndex Then
            DDrawTransGrhtoSurface temp_particle.Grh, temp_particle.X + screen_x, temp_particle.Y + screen_y, 1, 1, Rgb_List()
            Exit Sub
        End If
    End If
 
    If temp_particle.Grh.GrhIndex Then
      DDrawTransGrhtoSurface temp_particle.Grh, temp_particle.X + screen_x, temp_particle.Y + screen_y, 1, 1, Rgb_List(), 100, , temp_particle.angle
        'Grh_Render temp_particle.Grh, temp_particle.x + screen_x, temp_particle.y + screen_y, rgb_list(),  True, True, alpha_blend
    End If
End Sub

Volver arriba Ir abajo
NazduM
Administrador
Administrador
NazduM

Mensajes Mensajes : 239

Fecha de inscripción Fecha de inscripción : 04/05/2011

Edad Edad : 26

Localización Localización : COMPU:)

Sexo Sexo : Masculino

Cliente 0.13.0 - DX8, Luces, ORE Empty
MensajeTema: Re: Cliente 0.13.0 - DX8, Luces, ORE Cliente 0.13.0 - DX8, Luces, ORE I_icon_minitimeDom Jun 05, 2011 8:18 pm

Lindo aporte...
Igual con ORE ETC NO ME GUSTA
Volver arriba Ir abajo
http://WWW.ARGENTUMS-ONLINES.FOROACTIVO.MX
~Odnucaff~
Sargento
Sargento
~Odnucaff~

Mensajes Mensajes : 292

Fecha de inscripción Fecha de inscripción : 09/05/2011

Edad Edad : 112

Localización Localización : En La Compu

Sexo Sexo : Masculino

Cliente 0.13.0 - DX8, Luces, ORE Empty
MensajeTema: Re: Cliente 0.13.0 - DX8, Luces, ORE Cliente 0.13.0 - DX8, Luces, ORE I_icon_minitimeLun Jun 06, 2011 4:30 pm

Lindo post... Pero un poco desordenado... KazNackVolviste!!!!
Volver arriba Ir abajo
http://Www.Google.Com
NazduM
Administrador
Administrador
NazduM

Mensajes Mensajes : 239

Fecha de inscripción Fecha de inscripción : 04/05/2011

Edad Edad : 26

Localización Localización : COMPU:)

Sexo Sexo : Masculino

Cliente 0.13.0 - DX8, Luces, ORE Empty
MensajeTema: Re: Cliente 0.13.0 - DX8, Luces, ORE Cliente 0.13.0 - DX8, Luces, ORE I_icon_minitimeLun Jun 06, 2011 5:43 pm

Volvio!! jaja pense que no iva a volver..
Volver arriba Ir abajo
http://WWW.ARGENTUMS-ONLINES.FOROACTIVO.MX
Contenido patrocinado




Cliente 0.13.0 - DX8, Luces, ORE Empty
MensajeTema: Re: Cliente 0.13.0 - DX8, Luces, ORE Cliente 0.13.0 - DX8, Luces, ORE I_icon_minitime

Volver arriba Ir abajo
 

Cliente 0.13.0 - DX8, Luces, ORE

Ver el tema anterior Ver el tema siguiente Volver arriba 

 Temas similares

-
» Cliente/Server Flamius AO
» Codigos del Servidor y del Cliente | Fight AO [mod]+Tutorial
» [PEDIDO]Necesito el Server/Cliente Dragoon
Página 1 de 1.

Permisos de este foro:No puedes responder a temas en este foro.
 :: ..::Argentum Online::.. :: Programacion-