Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

WiseRock

Members
  • Posts

    499
  • Joined

  • Last visited

    Never

Posts posted by WiseRock

  1. sry for double post but heres the code

    heres the code

    ```
    Public Sub DrawProjectile()

    Dim Angle As Long, X As Long, Y As Long, I As Long

    If LastProjectile > 0 Then

    ' ****** Create Particle ******

    For I = 1 To LastProjectile

    With ProjectileList(I)

    If .Graphic Then

    ' ****** Update Position ******

    Angle = DegreeToRadian * Engine_GetAngle(.X, .Y, .tx, .ty)

    .X = .X + (Sin(Angle) * ElapsedTime * 0.3)

    .Y = .Y - (Cos(Angle) * ElapsedTime * 0.3)

    X = .X

    Y = .Y

    ' ****** Update Rotation ******

    If .RotateSpeed > 0 Then

    .Rotate = .Rotate + (.RotateSpeed * ElapsedTime * 0.01)

    Do While .Rotate > 360

    .Rotate = .Rotate - 360

    Loop

    End If

    ' ****** Render Projectile ******

    If .Rotate = 0 Then

    Call RenderTexture(Tex_Projectile(.Graphic), ConvertMapX(X), ConvertMapY(Y), 0, 0, PIC_X, PIC_Y, PIC_X, PIC_Y)

    Else

    Call RenderTexture(Tex_Projectile(.Graphic), ConvertMapX(X), ConvertMapY(Y), 0, 0, PIC_X, PIC_Y, PIC_X, PIC_Y, , .Rotate)

    End If

    End If

    End With

    Next

    ' ****** Erase Projectile ****** Seperate Loop For Erasing

    For I = 1 To LastProjectile

    If ProjectileList(I).Graphic Then

    If Abs(ProjectileList(I).X - ProjectileList(I).tx) < 20 Then

    If Abs(ProjectileList(I).Y - ProjectileList(I).ty) < 20 Then

    Call ClearProjectile(I)

    End If

    End If

    End If

    Next

    End If

    End Sub

    ```
  2. > Well if EO3.0 is horrible why not fix it? I don't use 3.0 for the alpha blending, though that is a great feature, but because of the autotile and event system. If you add those two feature I may use it.

    I sort of agree with this. You should add the event system.

    > *.*
    >
    > next update add multi char and it will be perfect!

    good idea

    love the gui perfect! loading screen tips genius! Only thing missing is Event System and you got your self a perfect engine! ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png) Keep up the good work
  3. Want your character to start out with items and spells depending on class?

    First go to classes.ini

    and copy this

    ```
    [INIT]

    MaxClasses=4

    [CLASS1]

    Name=Warrior

    MaleSprite=1

    FemaleSprite=2

    Strength=6

    Endurance=7

    Intelligence=8

    Agility=9

    Willpower=10

    StartItemCount=4

    StartItem1=1

    StartValue1=5

    StartItem2=2

    StartValue2=1

    StartItem3=3

    StartValue3=1

    StartItem4=4

    StartValue4=1

    StartSpellCount=3

    StartSpell1=1

    StartSpell2=2

    StartSpell3=3

    [CLASS2]

    Name=Wizard

    MaleSprite=1

    FemaleSprite=2,3

    Strength=1

    Endurance=2

    Intelligence=3

    Agility=4

    Willpower=5

    StartItemCount=4

    StartItem1=1

    StartValue1=5

    StartItem2=2

    StartValue2=1

    StartItem3=3

    StartValue3=1

    StartItem4=4

    StartValue4=1

    StartSpellCount=3

    StartSpell1=1

    StartSpell2=2

    StartSpell3=3

    [CLASS3]

    Name=Priest

    MaleSprite=1

    FemaleSprite=2,3

    Strength=1

    Endurance=2

    Intelligence=3

    Agility=4

    Willpower=5

    StartItemCount=4

    StartItem1=1

    StartValue1=5

    StartItem2=2

    StartValue2=1

    StartItem3=3

    StartValue3=1

    StartItem4=4

    StartValue4=1

    StartSpellCount=3

    StartSpell1=1

    StartSpell2=2

    StartSpell3=3

    [CLASS4]

    Name=Archer

    MaleSprite=1

    FemaleSprite=2,3

    Strength=1

    Endurance=2

    Intelligence=3

    Agility=4

    Willpower=5

    StartItemCount=4

    StartItem1=1

    StartValue1=5

    StartItem2=2

    StartValue2=1

    StartItem3=3

    StartValue3=1

    StartItem4=4

    StartValue4=1

    StartSpellCount=3

    StartSpell1=1

    StartSpell2=2

    StartSpell3=3

    ```

    Replace the Classes Names and Numbers to your likes ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png) Enjoy ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)
×
×
  • Create New...