Aldeia RPG

Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Suporte ao desenvolvimento de jogos


2 participantes

    Correr Automaticamente por CheckBox

    thales12
    thales12
    Membro de Honra
    Membro de Honra


    Mensagens : 322
    Créditos : 108

    Ficha do personagem
    Nível: 1
    Experiência:
    Correr Automaticamente por CheckBox Left_bar_bleue0/0Correr Automaticamente por CheckBox Empty_bar_bleue  (0/0)
    Vida:
    Correr Automaticamente por CheckBox Left_bar_bleue30/30Correr Automaticamente por CheckBox Empty_bar_bleue  (30/30)

    Correr Automaticamente por CheckBox Empty Correr Automaticamente por CheckBox

    Mensagem por thales12 Qui Jul 28, 2011 9:21 pm

    abra o Client~Side vá na frmMain crie 1 CheckBox no lugar q vc achar melhor com:

    Name: chkRun
    Caption: Correr Automaticamente

    na modGameLogic procure por:

    Código:
    ' Check if player has the shift key down for running
                If ShiftDown Then
                    Player(MyIndex).Moving = MOVING_RUNNING
                Else
                    Player(MyIndex).Moving = MOVING_WALKING
                End If
    e mude para:


    Código:
    ' Check if player has the shift key down for running
                If ShiftDown Then
                    Player(MyIndex).Moving = MOVING_WALKING
                Else
                    Player(MyIndex).Moving = MOVING_RUNNING
                        If frmMain.chkRun.Value = YES Then
                            Player(MyIndex).Moving = MOVING_WALKING
                        End If
                End If

    Créditos:A mim Thales12 por fazer o sistema e tutorial.


    _________________
    Meu fã ? Meu Amigo ? Entao Use !

    Correr Automaticamente por CheckBox Thalesfan
    Correr Automaticamente por CheckBox Mv0yg8

    Minha Sign:

    Correr Automaticamente por CheckBox Zkqt5e
    Juton
    Juton
    Experiente
    Experiente


    Mensagens : 486
    Créditos : 129

    Correr Automaticamente por CheckBox Empty Re: Correr Automaticamente por CheckBox

    Mensagem por Juton Qui Jul 28, 2011 9:25 pm

    Legal. No Eclipse o sistema de andar e correr está a mesma velocidade. Tem que alterar a velocidade!

    +1 Cred!

      Data/hora atual: Qui Mar 28, 2024 1:35 pm